/* Google Font Link */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f2f5;
    padding: 30px;
}

.container {
    position: relative;
    max-width: 1100px;
    width: 100%;
    background: #fff;
    padding: 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: row; /* Ensure horizontal layout for larger screens */
}

/* Forms container */
.forms {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
}

.container .form-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
}

.form-content .login-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: auto;
}

/* New title styling */
.title-container {
    text-align: center;
    margin-bottom: 20px;
}

.title-container h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #007344; /* Secondary Color */
}

.title-container p {
    font-size: 1rem;
    color: #888;
}

/* Logo styling */
.logo-container {
    text-align: center;
    margin-bottom: 20px;
}
.logo-container img {
    max-width: 200px; /* Adjust size as needed */
    height: auto;
}

.forms .form-content .input-boxes {
    margin-top: 20px;
    width: 100%;
    flex-grow: 1;
}

.forms .form-content .input-box {
    display: flex;
    align-items: center;
    height: 50px;
    width: 100%;
    margin: 15px 0;
    position: relative;
}

.form-content .input-box input {
    height: 100%;
    width: 100%;
    outline: none;
    border: none;
    padding: 0 30px;
    font-size: 16px;
    font-weight: 500;
    border: 1px solid #ddd;
    border-radius: 8px; /* Rounded corners */
    transition: all 0.3s ease;
}

.form-content .input-box input:focus,
.form-content .input-box input:valid {
    border-color: #007344; /* Secondary color for focus */
}

.form-content .input-box i {
    position: absolute;
    color: #007344; /* Secondary color for icons */
    font-size: 17px;
    left: 10px;
}
/* Adjust input padding for icon */
.form-content .input-box input {
    padding-left: 40px;
}


/* Forgot password link */
.forms .form-content .text {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-align: right;
    margin-top: 10px;
}

.forms .form-content .text a {
    text-decoration: none;
    color: #ED891A; /* Main color */
}

.forms .form-content .text a:hover {
    text-decoration: underline;
}

/* Login button styling */
.forms .form-content .button {
    color: #fff;
    margin-top: 20px;
    width: 100%;
}

.forms .form-content .button input {
    color: #fff;
    background: #ED891A; /* Main color */
    border-radius: 8px;
    padding: 12px 0;
    cursor: pointer;
    transition: all 0.4s ease;
    width: 100%;
    font-size: 18px;
    font-weight: 600;
    border: none;
}

.forms .form-content .button input:hover {
    background: #e07b0e; /* Slightly darker main color on hover */
}

/* Footer text styling */
.footer-text {
    text-align: center;
    margin-top: 40px;
    color: #888;
    font-size: 13px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

/* Image panel styling */
.cover {
    flex: 1; /* Takes the remaining space */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background-color: #f0f2f5;
    border-radius: 0 15px 15px 0;
}
.cover img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        flex-direction: column-reverse; /* Stack image on top for mobile */
    }
    .cover {
        height: 250px;
        border-radius: 10px 10px 0 0;
    }
    .forms {
        padding: 30px 20px;
        border-radius: 0 0 10px 10px;
    }
    .form-content {
        max-width: 100%;
    }
    .title-container h2 {
        font-size: 2rem;
    }
}
@media (max-width: 480px) {
    .forms {
        padding: 20px 15px;
    }
    .cover {
        height: 200px;
    }
}