:root {
    --primary: #073b46;
    --secondary: #157927;
    --accent: #f4b400;
    --white: #ffffff;
    --dark: #102027;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    background:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.50)),
        url("https://awudomeshs.org/image/2024-2025 Top_Prefects.jpg");
    background-size: cover;
    background-position: center;
    color: var(--dark);
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 6%;
}

.login-container {
    width: 100%;
    max-width: 1150px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
}

.info-section {
    padding: 50px;
    background:
        linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)),
        url("https://awudomeshs.org/image/Kofi Awusco.png");
    background-size: cover;
    background-position: center;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.school-badge {
    display: inline-block;
    width: fit-content;
    padding: 8px 18px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--accent);
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 25px;
}

.info-section h1 {
    font-size: 42px;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 20px;
}

.info-section p {
    font-size: 17px;
    line-height: 1.8;
    opacity: 0.95;
    max-width: 520px;
}

.support-box {
    margin-top: 35px;
    padding: 18px 20px;
    border-left: 5px solid var(--accent);
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    font-size: 20px;
}

.form-section {
    padding: 55px 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    width: 100%;
    max-width: 430px;
    text-align: center;
}

.logo-box img {
    width: 135px;
    height: 135px;
    object-fit: contain;
    margin-bottom: 20px;
}

.login-card h2 {
    color: var(--primary);
    font-size: 25px;
    font-weight: 800;
    margin-bottom: 8px;
}

.subtitle {
    color: #607078;
    font-size: 15px;
    margin-bottom: 30px;
}

.form-group-custom {
    position: relative;
    text-align: left;
    margin-bottom: 25px;
}

.form-group-custom label {
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 8px;
    display: block;
}

.input-wrap {
    position: relative;
}

.input-wrap i {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: var(--secondary);
}

#studentName {
    width: 100%;
    height: 52px;
    border: 2px solid #d8e2e6;
    border-radius: 12px;
    padding: 0 15px 0 43px;
    font-size: 16px;
    outline: none;
    transition: 0.3s ease;
}

#studentName:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(21, 121, 39, 0.12);
}

.suggestions {
    width: 100%;
    max-height: 210px;
    overflow-y: auto;
    position: absolute;
    top: 62px;
    left: 0;
    z-index: 1000;
    background: var(--white);
    border: 1px solid #d8e2e6;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    text-align: left;
}

.suggestions:empty {
    display: none;
}

.suggestions div {
    padding: 13px 15px;
    cursor: pointer;
    font-size: 15px;
    color: var(--dark);
    border-bottom: 1px solid #eef2f3;
}

.suggestions div:hover {
    background: #eef8f0;
    color: var(--secondary);
    font-weight: bold;
}

.login-btn {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 12px;
    background: var(--secondary);
    color: var(--white);
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
    box-shadow: 0 10px 20px rgba(21, 121, 39, 0.25);
}

.login-btn:hover {
    background: #0f6420;
    transform: translateY(-2px);
}

.note {
    margin-top: 20px;
    font-size: 13px;
    color: #6c757d;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .page-wrapper {
        padding: 0;
    }

    .login-container {
        grid-template-columns: 1fr;
        border-radius: 0;
    }

    .info-section {
        padding: 40px 30px;
        text-align: center;
        align-items: center;
    }

    .info-section h1 {
        font-size: 32px;
    }

    .form-section {
        padding: 40px 25px;
    }
}

@media (max-width: 576px) {
    .info-section {
        padding: 35px 20px;
    }

    .info-section h1 {
        font-size: 27px;
    }

    .info-section p {
        font-size: 15px;
    }

    .form-section {
        padding: 35px 18px;
    }

    .logo-box img {
        width: 110px;
        height: 110px;
    }

    .login-card h2 {
        font-size: 22px;
    }
}