:root {
    --sidebar-bg: #840CA9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    background-color: #f0f0f0;
}

/* Hide native browser password-reveal icon (Edge/IE) */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}

/* Hide native browser password-reveal icon (Chrome, newer versions) */
input[type="password"]::-webkit-reveal,
input[type="password"]::-webkit-clear-button {
    display: none;
}

/* LEFT PANEL */
.left-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
}

.login-box {
    width: 100%;
    max-width: 475px;
    margin-bottom: 140px;
}

    .login-box h1 {
        font-size: 40px;
    }

.welcome-title {
    font-size: 2rem;
    font-weight: 900;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 10px;
}

.welcome-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 40px;
}

.login-heading {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 24px;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
}

.form-control {
    border: 1.5px solid #aaa;
    border-radius: 6px;
    padding: 12px 14px;
    font-size: 0.95rem;
    background-color: #fff;
    color: #333;
    transition: border-color 0.2s;
}

    .form-control:focus {
        border-color: var(--sidebar-bg);
        box-shadow: 0 0 0 3px rgba(132, 12, 169, 0.12);
        outline: none;
    }

.password-input-wrapper {
    position: relative;
}

    .password-input-wrapper .form-control {
        padding-right: 44px;
    }

.password-toggle-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    color: #6c757d;
    padding: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .password-toggle-btn:hover {
        color: var(--sidebar-bg);
    }

.btn-login {
    background-color: var(--sidebar-bg);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 50px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
    display: block;
    margin: 32px auto 0;
}

    .btn-login:hover {
        background-color: #6a0a89;
    }

/* RIGHT PANEL */
.right-panel {
    flex: 1;
    background-color: var(--sidebar-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.school-logo {
    width: 500px;
    height: 500px;
    object-fit: contain;
    border-radius: 8px;
}

.logo-placeholder {
    width: 300px;
    height: 300px;
    background-color: rgba(255,255,255,0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    text-align: center;
    padding: 20px;
}

.sign-up {
    text-align: center;
    margin-top: 20px;
}

    .sign-up span {
        font-size: 0.9rem;
        color: #555;
    }

    .sign-up a {
        color: var(--sidebar-bg);
        font-weight: 600;
        text-decoration: none;
        transition: color 0.2s;
    }
