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

:root {
    --gold-primary: #d4a03c;
    --gold-dark: #b8860b;
    --gold-light: #f5e6c4;
    --gold-gradient: linear-gradient(135deg, #d4a03c 0%, #f0c75e 50%, #d4a03c 100%);
    --dark-bg: #1a1a2e;
    --dark-card: #16213e;
    --dark-surface: #0f3460;
}

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

body.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-bg);
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(212, 160, 60, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(212, 160, 60, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(15, 52, 96, 0.3) 0%, transparent 50%);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

.login-card {
    background: var(--dark-card);
    border-radius: 20px;
    padding: 40px 35px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(212, 160, 60, 0.05);
    border: 1px solid rgba(212, 160, 60, 0.1);
    animation: fadeInUp 0.6s ease-out;
}

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

.login-header {
    text-align: center;
    margin-bottom: 35px;
}

.login-logo {
    width: 100px;
    height: auto;
    margin: 0 auto 20px;
    display: block;
    filter: drop-shadow(0 8px 25px rgba(212, 160, 60, 0.3));
}

.login-icon {
    width: 80px;
    height: 80px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px rgba(212, 160, 60, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(212, 160, 60, 0.3);
    }
    50% {
        box-shadow: 0 8px 35px rgba(212, 160, 60, 0.5);
    }
}

.login-icon i {
    font-size: 32px;
    color: var(--dark-bg);
}

.login-header h1 {
    color: var(--gold-primary);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.login-header p {
    color: #8892a4 !important;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Form Styles */
.form-floating {
    position: relative;
    transition: all 0.3s ease;
}

.form-floating.focused {
    transform: translateY(-2px);
}

.form-floating .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #e0e0e0;
    padding: 1rem 0.75rem;
    height: calc(3.5rem + 4px);
    transition: all 0.3s ease;
}

.form-floating .form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(212, 160, 60, 0.15);
    color: #ffffff;
}

.form-floating label {
    color: #8892a4;
    padding: 1rem 0.75rem;
}

.form-floating .form-control:focus ~ label,
.form-floating .form-control:not(:placeholder-shown) ~ label {
    color: var(--gold-primary);
}

/* Button */
.btn-login {
    background: var(--gold-gradient);
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-bg);
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 160, 60, 0.4);
    color: var(--dark-bg);
}

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

.btn-login::after {
    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;
}

.btn-login:hover::after {
    left: 100%;
}

/* Footer */
.login-footer {
    text-align: center;
    margin-top: 25px;
    color: #5a6377;
}

/* Responsive */
@media (max-width: 480px) {
    .login-card {
        padding: 30px 25px;
    }

    .login-icon {
        width: 65px;
        height: 65px;
    }

    .login-icon i {
        font-size: 26px;
    }

    .login-header h1 {
        font-size: 1.5rem;
    }
}
