/* General Body Styles */
*{
    box-sizing: border-box;
}
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
    background-color: #f0f2f5; /* Fallback background */
}

.container {
    display: flex;
    width: 900px; /* Adjusted width */
    max-width: 1200px;
    min-height: 600px; /* Adjusted height */
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Left Panel: Login Form */
.login-form-container {
    flex-basis: 50%;
    padding: 50px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(to bottom right, #f3e7ff, #e0e7ff);
    
}

.logo {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
}


.login-form-container h1 {
    font-size: 32px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
}

.input-group {
    margin-bottom: 20px;
    position: relative;
}

.input-group label {
    display: block;
    font-size: 14px;
    color: #555;
    margin-bottom: 5px;
    text-align: left;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
}

.input-group input:focus {
    outline: none;
    border-color: #7f56d9;
    box-shadow: 0 0 0 2px rgba(127, 86, 217, 0.2);
}

.password-toggle {
    position: absolute;
    top: 70%;
    right: 15px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
}

.forgot-password {
    display: block;
    text-align: right;
    font-size: 14px;
    color: #555; /* Adjusted color */
    text-decoration: none;
    margin-bottom: 25px;
}

.forgot-password:hover {
    text-decoration: underline;
}

.btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
}

.btn-signin {
    background-color: #000000; /* Black button */
    color: #ffffff;
    margin-bottom: 20px;
}

.btn-signin:hover {
    background-color: #333333;
}

.or-continue {
    text-align: center;
    font-size: 14px;
    color: #777;
    margin-bottom: 20px;
    position: relative;
}

.or-continue::before, .or-continue::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background-color: #ddd;
}

.or-continue::before {
    left: 0;
}

.or-continue::after {
    right: 0;
}

.btn-google {
    background-color: #ffffff;
    color: #333;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.btn-google:hover {
    background-color: #f9f9f9;
}

.google-logo {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.signup-link {
    text-align: center;
    font-size: 14px;
    color: #555;
}

.signup-link a {
    color: #000000; /* Black link */
    font-weight: 500;
    text-decoration: none;
}

.signup-link a:hover {
    text-decoration: underline;
}

/* Right Panel: Info Panel */
.info-panel {
    flex-basis: 50%;
    background-color: #1a1a2e; /* Dark background */
    color: #ffffff;
    padding: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    /* Add subtle geometric pattern if possible, or a dark gradient */
    /* background-image: linear-gradient(to bottom right, #162232, #2c3e50), url('images/geometric_pattern.svg');  Placeholder for pattern */
    background-size: cover, 50px 50px;
    background-blend-mode: overlay;
}

.main-illustration {
    width: 80%;
    max-width: 300px;
    margin-bottom: 40px;
}

.info-panel h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
}

.info-panel p {
    font-size: 16px;
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 350px;
}

.pagination-dots {
    display: flex;
}

.pagination-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0 5px;
    transition: background-color 0.3s ease;
}

.pagination-dots span.active {
    background-color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .container {
        flex-direction: column;
        width: 100%;
        min-height: auto;
        border-radius: 0;
    }

    .login-form-container, .info-panel {
        flex-basis: auto;
        width: 100%;
        padding: 40px;
        box-sizing: border-box;
    }

    .info-panel {
        min-height: 400px; /* Ensure some height for the info panel on mobile */
    }

    .login-form-container h1 {
        font-size: 28px;
    }

    .info-panel h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .login-form-container {
        padding: 30px 20px;
    }
    .info-panel {
        padding: 30px 20px;
    }
    .logo {
        font-size: 20px;
        margin-bottom: 20px;
    }
    .login-form-container h1 {
        font-size: 24px;
    }
    .subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }
    .input-group input {
        padding: 10px 12px;
        font-size: 14px;
    }
    .btn {
        padding: 12px;
        font-size: 15px;
    }
    .info-panel h2 {
        font-size: 20px;
    }
    .info-panel p {
        font-size: 14px;
    }
}

  .school-logo {
        width: 70px;
        height: 70px;
        margin: 0 auto 15px;
        background-color: rgb(235, 231, 231);
        border-radius: 50%;
        border: 1px solid #e2e8f0;
        display: flex;
        justify-content: flex-end;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    }

.password-container {
        position: relative;
    }
 .password-container input {
        padding-right: 40px; /* Adjusted for icon */
    }


    #error {
        color: red;
        font-size: 14px;
        margin-top: 5px;
        text-align: center;
    }
    /* #error::before {
        content: '⚠️ ';
        margin-right: 5px;
    }
    #error::after {
        content: ' ❗';
        margin-left: 5px;
    } */
    #error strong {
        font-weight: bold;
    }