@font-face {
    font-family: 'Gandhi Sans Regular';
    src: url('/fonts/GandhiSans-Regular.otf');
}

* {
    font-family: 'Gandhi Sans Regular', Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-image: url("/assets/landing/a4.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

.container {
    display: flex;
    width: 100%;
    height: 700px;
    max-width: 1200px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.left-section { 
    flex: 1.5;
    background-color: #001D64;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}

.welcome-text {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
}

.graphics {
    max-width: 75%;
    height: auto;
    margin-top: 20px;
}

.right-section {
    flex: 1;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.6) 0%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    text-align: center;
}

.logo {
    width: 150px;
    margin-bottom: 20px;
}

.login-form {
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.label {
    margin: 10px 0 5px;
    font-size: 14px;
    color: #333;
    font-weight: bold;
    text-align: left;
    width: 100%;
}

.input-field {
    margin: 0 0 15px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 50px;
    width: 100%;
}

.show-password {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

input.largerCheckbox {
    width: 20px;
    height: 20px;
}

.privacy-policy {
    margin-bottom: 15px;
    font-size: 14px;
    text-align: center;
    width: 100%;
}

.privacy-policy input {
    margin-right: 5px;
}

.privacy-policy a {
    color: #007bff;
    text-decoration: none;
}

.privacy-policy a:hover {
    text-decoration: underline;
}

.login-btn {
    margin: 15px 0;
    padding: 10px;
    background-color: #007bff;
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

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

.back-btn {
    margin: 10px 0;
    padding: 10px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 50px;
    color: #007bff;
    font-size: 14px;
    text-decoration: none;
    width: 100%;
    font-weight: bold;
    display: block;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

.forgot-password {
    margin: 5px 0;
    color: #007bff;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

.modal {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;    
    z-index: 1000;
    left: 0;
    top: 0;
    margin-top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 0 auto;
    padding: 20px;
    border-radius: 10px;
    width: 60%;
    max-height: 80vh;
    overflow-y: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Roboto', sans-serif;
    color: #333;
}

.modal-content p {
    margin: 15px 0;
}

.modal-content h1, .modal-content h2, .modal-content h3, .modal-content h4 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: #0056b3;
}

.modal-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.modal-content li {
    margin-bottom: 10px;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    margin-top: -10px;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: #000;
    text-decoration: none;
}

#back-button {
    display: block;
    margin: 20px auto 0;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease;
}

#back-button:hover {
    background-color: #0056b3;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        height: auto;
    }

    .left-section,
    .right-section {
        flex: none;
        width: 100%;
        border-radius: 0;
    }

    .left-section {
        height: 300px;
        justify-content: center;
        padding: 10px;
    }

    .welcome-text {
        font-size: 1.8rem;
    }

    .graphics {
        max-width: 60%;
    }

    .right-section {
        padding: 20px;
    }

    .modal-content {
        background-color: #fff;
        margin: auto;
        padding: 20px 40px;
        border-radius: 8px;
        width: 80%;
        max-width: 600px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        line-height: 1.5;
        color: #333;
        overflow-y: auto;
    }
}
