/* Authentication Pages Styles */
.auth-body {
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.login-container {
    width: 100%;
    max-width: 420px;
}

.login-card {
    background: #fff;
    border-radius: 24px;
    padding: 2.7rem 2.2rem 2.2rem 2.2rem;
    box-shadow: 0 12px 40px rgba(0,0,0,0.13), 0 1.5px 6px rgba(195,18,18,0.07);
    animation: slideUp 0.5s cubic-bezier(.4,1.4,.6,1);
    border: 1.5px solid #f3f4f6;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-section {
    text-align: center;
    margin-bottom: 2rem;
}

.logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #C31212 0%, #8B0000 100%);
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(195, 18, 18, 0.3);
}

.login-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #202123;
    margin-bottom: 0.5rem;
}

.login-subtitle {
    color: #6b7280;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    display: block;
}

.form-control,
input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1.02rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
    outline: none;
    color: #222;
}

.form-control:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
    border-color: #C31212;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(195, 18, 18, 0.13), 0 2px 8px rgba(0,0,0,0.07);
}

.form-control:hover,
input[type="text"]:hover,
input[type="email"]:hover,
input[type="password"]:hover {
    border-color: #b91c1c;
    background: #fafbfc;
}

.input-group {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 1.1rem;
    z-index: 1;
}

.input-group .form-control,
.input-group input {
    padding-left: 2.75rem;
    background: #fff;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.2s;
    z-index: 1;
}

.password-toggle:hover {
    color: #C31212;
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #374151;
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.forgot-password {
    color: #C31212;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.forgot-password:hover {
    color: #8B0000;
}

.login-btn {
    width: 100%;
    padding: 0.875rem;
    background: linear-gradient(135deg, #C31212 0%, #8B0000 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(195, 18, 18, 0.4);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(195, 18, 18, 0.5);
}

.login-btn:active {
    transform: translateY(0);
}

.login-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: #9ca3af;
    font-size: 0.875rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.divider span {
    padding: 0 1rem;
}

.social-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.social-btn {
    padding: 0.75rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.social-btn:hover {
    border-color: #C31212;
    background: #f9fafb;
    color: #374151;
}

.social-btn i {
    font-size: 1.2rem;
}

.signup-link {
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
}

.signup-link a {
    color: #C31212;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.signup-link a:hover {
    color: #8B0000;
}

/* Error/Success Messages */
.error-message,
.success-message {
    padding: 0.875rem 1rem;
    border-radius: 10px;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    display: none;
    animation: slideDown 0.3s ease-out;
}

.error-message.show,
.success-message.show {
    display: block;
}

.error-message {
    background: #fee;
    color: #c00;
    border: 1px solid #fcc;
}

.success-message {
    background: #efe;
    color: #0a0;
    border: 1px solid #cfc;
}

.field-error {
    color: #c00;
    font-size: 0.8125rem;
    margin-top: 0.375rem;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .login-card {
        padding: 2rem 1.5rem;
    }

    .login-title {
        font-size: 1.5rem;
    }

    .social-login {
        grid-template-columns: 1fr;
    }
}