/* ReserBee Super Admin - Authentication Styles */
/* Login page, auth backgrounds, forms */

/* ============================================
   LOGIN PAGE STYLES
   ============================================ */

.auth-background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-light);
    z-index: 0;
}

.auth-background::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 249, 71, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.auth-background::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 197, 99, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

.auth-container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    padding: 3rem;
    width: 100%;
    max-width: 480px;
    position: relative;
    overflow: hidden;
}

.login-card::before {
    display: none;
}

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.login-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    animation: pulse-subtle 3s ease-in-out infinite;
}

.login-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--charcoal);
    font-family: var(--font-serif);
}

.login-subtitle {
    font-size: 0.95rem;
    color: var(--text-medium);
    font-weight: 400;
}

.login-form {
    margin-bottom: 1.5rem;
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.875rem;
    letter-spacing: 0.01em;
}

.premium-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background-color: white;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-dark);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    line-height: 1.5;
    transition: all 0.3s ease;
    min-height: 48px;
}

.premium-input:focus {
    outline: none;
    border-color: var(--honey);
    box-shadow: 0 0 0 3px rgba(255, 249, 71, 0.2);
    background-color: var(--bg-white);
}

.premium-input::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

.error-message {
    display: none;
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--radius-md);
    color: var(--danger-red);
    padding: 0.875rem 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    animation: shake 0.4s ease;
}

.premium-submit-btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: var(--honey);
    color: var(--charcoal);
    border: 1px solid var(--charcoal);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.premium-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.premium-submit-btn:hover::before {
    left: 100%;
}

.premium-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-honey);
}

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

.premium-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.submit-arrow {
    transition: transform 0.3s ease;
}

.premium-submit-btn:hover .submit-arrow {
    transform: translateX(4px);
}

.login-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.login-footer p {
    color: var(--text-light);
    font-size: 0.8125rem;
}

/* Responsive Design for Login */
@media (max-width: 768px) {
    .login-card {
        padding: 2rem 1.5rem;
    }

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

@media (max-width: 480px) {
    .auth-container {
        padding: 1rem;
    }
}
