/*div { border: 1px solid black;}*/ /* border to see the divs*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-image: url('/images/fei-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    font-family: Arial, sans-serif;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 50px 0;
}

.page-title {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 2.5rem;
}

.content-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}


.left-content {
    width: 70%;
    text-align: center;
}
.right-content {
    width: 30%;
    text-align: center;
    justify-content: center;
}

.right-content img {
    width: 100%;
    height: auto;
    max-width: 300px;
    max-height: 390px;
    object-fit: cover;
    margin: 25px auto; /* Added vertical margin */
    justify-content: center;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
    }

    .left-content {
        width: 100%;
        text-align: center;
        margin: 0 auto;
    }

    .right-content {
        width: 100%;
        text-align: center;
    }

    .right-content img {
        width: 100%;
        max-width: 400px;
        max-height: none;
        text-align: center;
    }
}

/** HEADER **/

.header-container {
    width: 100%;
    background-color: #003466;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3); /* Drop shadow added */

}

.header-content {
    width: 100%;
    max-width: 1300px;
    height: 137px;
    background-image: url('../images/fei-header.jpg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
}

.logo {
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 20px;
}

.logo img {
    max-height: 100%;
    width: auto;
    max-width: 220px; /* Ensure logo doesn't overflow on small screens */
}

.title-cell {
    /*background-color: #003466;*/
    background-color: #00284e;
    border: 2px solid #d5e1f2;
    /*border: 3px solid white;*/
    color: white;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 20px;
    padding: 5px 30px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px; /* Added rounded corners */
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* Drop shadow added */
}

/*@media (max-width: 1400px) {*/
@media (max-width: 985px) {
    .header-content {
        flex-direction: column;
        height: auto;
        padding: 10px 0;
    }

    .logo, .title-cell {
        margin: 10px 0;
    }

    .header-content {
        background-image: none;
    }
    .logo {
        padding-left: 0;
    }

    .logo img {
        max-height: 100px;
    }
}

/* Mobile Phones */
@media (max-width: 768px) {
    .header-container {
        padding: 0 10px; /* Add some side padding */
    }

    .header-content {
        width: 100%;
        padding: 15px 0;
    }

    .logo img {
        /*max-height: 80px;*/
        max-width: 220px;
    }

    /*  .title-cell {
          font-size: 20px;
          padding: 8px 15px;
          margin-right: 0;
          width: calc(100% - 40px); /* Full width minus some margin */
    /*    box-sizing: border-box;
    }*/
}

/* Very Small Screens */
@media (max-width: 480px) {
    .logo img {
        /*max-height: 60px;*/
        max-width: 220px;
    }

    /* .title-cell {
         font-size: 16px;
         padding: 5px 10px;
     }*/
}

/** END HEADER **/





/** FOOTER **/
/* Custom footer styles */
footer {
    background-color: #003466; /* Dark color maybe background */
    height: 250px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-content {
    width: 1140px;
    max-width: 100%;
    text-align: center;
    padding: 0 15px; /* Add some padding for smaller screens */
}

.footer-logo {
    width: 20%;
    max-width: 300px; /* Optional: prevent logo from becoming too large */
    height: auto;
    display: block;
    margin: 0 auto 15px; /* Center the logo and add some bottom margin */
}


@media (max-width: 1200px) {
    .footer-content {
        width: 100%;
    }

    .footer-logo {
        width: 75%; /* Slightly larger on smaller screens */
    }
}
/** END FOOTER **/


/** LOGIN **/

.image-form-container {
    display: flex;
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    margin: 25px auto; /* Added vertical margin */
    max-width: 100%;

}

.image-section {
    width: 45%;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.image-section img {
    width: 100%;
    object-fit: cover;
    max-width: 253px;
    border-radius: 5px;
}

.login-form {
    width: 55%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-form h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.form-group {
    margin-bottom: 15px;
    position: relative;

}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    color: #333;
    outline: none;
    transition: all 0.3s ease;
}

.form-group label {
    position: absolute;
    left: 10px;
    top: 10px;
    color: #888;
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0,123,255,0.3);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
    top: -10px;
    left: 10px;
    font-size: 12px;
    color: #007bff;
    background-color: white;
    padding: 0 5px;
}

.login-btn {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-btn:hover {
    background-color: #0056b3;
}

.additional-links {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    text-align: center;
}

.additional-links a {
    color: #1877f2;
    text-decoration: none;
    font-size: 0.9em;
    margin: 0 5px;
}

/*.forgot-password { IN CASE DIFFERENT LINK COLOR
    color: #1877f2;
    text-decoration: none;
    font-size: 0.9em;
    margin: 0 5px;
}

.create-account {
    color: #ff6c00;
    text-decoration: none;
    font-size: 0.9em;
    margin: 0 5px;
}*/

/* Responsive Design */
@media screen and (max-width: 768px) {

    .image-form-container {
        flex-direction: column;
        margin: 0 15px;
    }

    .image-section {
        display: none;
    }

    .login-form {
        width: 100%;
    }
}
/** END LOGIN **/
