/* login.css - Premium Styles for Student Login */

:root {
    --primary-gradient: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    --card-bg: rgba(255, 255, 255, 0.9);
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --accent: #2af598;
}

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

body {
    background: var(--primary-gradient);
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
}

.login-box {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    width: 100%;
    max-width: 400px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.login-box:hover {
    transform: translateY(-5px);
}

.login-header {
    background: #1b5e20;
    color: white;
    text-align: center;
    padding: 30px 20px;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.login-body {
    padding: 40px;
}

.login-body label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    color: var(--text-secondary);
    font-size: 14px;
}

.login-body input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background-color: #f7fafc;
    margin-bottom: 24px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.login-body input:focus {
    outline: none;
    border-color: var(--accent);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(42, 245, 152, 0.1);
}

.btn-login {
    background: #1b5e20;
    color: white;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-login:hover {
    background: #144617;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.error-msg {
    background-color: #fff5f5;
    color: #c53030;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
    border: 1px solid #feb2b2;
}

.footer-note {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 20px;
    font-size: 13px;
    color: var(--text-secondary);
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-note a {
    color: #1b5e20;
    text-decoration: none;
    font-weight: 600;
}

.footer-note a:hover {
    text-decoration: underline;
}

