/*
 * Authentication Styles
 * Login, Register, Forgot Password
 */

.auth-body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-container {
    width: 100%;
    max-width: 450px;
}

.auth-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    padding: 40px;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header .logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 36px;
}

.auth-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.auth-header p {
    color: #7f8c8d;
    margin: 0;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form .form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.auth-form .form-control {
    height: 50px;
    border: 2px solid #e0e6ed;
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.auth-form .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
}

.auth-form .input-group {
    position: relative;
}

.auth-form .input-group .input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #7f8c8d;
    z-index: 10;
}

.auth-form .input-group .form-control {
    padding-left: 45px;
}

.auth-form .btn-login {
    width: 100%;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.auth-form .btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.auth-form .form-check {
    margin: 15px 0;
}

.auth-form .form-check-label {
    color: #7f8c8d;
    font-size: 14px;
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
}

.auth-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.auth-footer a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
    color: #7f8c8d;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e0e6ed;
}

.divider span {
    padding: 0 10px;
    font-size: 14px;
}

.social-login {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-login .btn {
    flex: 1;
    height: 45px;
    border-radius: 10px;
    font-weight: 500;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #7f8c8d;
    z-index: 10;
}

.alert {
    border-radius: 10px;
    margin-bottom: 20px;
}

/* School Info Footer */
.school-info {
    text-align: center;
    margin-top: 30px;
    color: white;
}

.school-info h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.school-info p {
    margin: 0;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 576px) {
    .auth-card {
        padding: 30px 20px;
    }
    
    .auth-header h2 {
        font-size: 24px;
    }
    
    .auth-form .form-control,
    .auth-form .btn-login {
        height: 45px;
    }
}
