/**
 * ============================================================
 * MAZZA BUREAU - LOGIN STYLES v2.6
 * Diseño moderno: Gris azulado + dorado
 * ============================================================
 */

/* Login Page - Background moderno */
.login-page { 
    min-height: 100vh; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 20px;
    position: relative;
    overflow: hidden;
    
    /* Fondo principal gris azulado oscuro */
    background: #0f1419;
    
    /* Gradiente sutil */
    background: linear-gradient(135deg, #0f1419 0%, #1a2332 50%, #0f1419 100%);
}

/* Efecto de brillo sutil */
.login-page::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 20%, rgba(201, 164, 59, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 70% 80%, rgba(201, 164, 59, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

/* Patrón geométrico sutil */
.login-page::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.login-container { 
    width: 100%; 
    max-width: 420px;
    position: relative;
    z-index: 1;
}

.login-card { 
    background: #ffffff;
    border-radius: 16px; 
    padding: 48px 40px; 
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
}

/* Línea dorada superior */
.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #C9A43B, #E5C76B);
    border-radius: 0 0 4px 4px;
}

.login-logo { 
    text-align: center; 
    margin-bottom: 32px; 
}

.login-logo img { 
    max-width: 180px;
    height: auto;
}

.login-title { 
    text-align: center; 
    font-size: 20px; 
    font-weight: 600; 
    margin-bottom: 28px; 
    color: #1a1a1a;
    letter-spacing: -0.3px;
}

/* Form styling */
.login-page .form-group {
    margin-bottom: 20px;
}

.login-page .form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
}

.login-page .form-label i {
    color: #9ca3af;
    margin-right: 6px;
}

.login-page .form-control {
    width: 100%;
    padding: 14px 16px;
    font-size: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #f9fafb;
    transition: all 0.2s ease;
}

.login-page .form-control:focus {
    outline: none;
    border-color: #C9A43B;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(201, 164, 59, 0.15);
}

.login-page .form-control::placeholder {
    color: #9ca3af;
}

/* Botón principal */
.login-page .btn-primary {
    width: 100%;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    background: linear-gradient(135deg, #C9A43B 0%, #E5C76B 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.login-page .btn-primary:hover {
    background: linear-gradient(135deg, #D4B04A 0%, #F0D87A 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(201, 164, 59, 0.3);
}

.login-page .btn-primary:active {
    transform: translateY(0);
}

/* Botón secundario */
.login-page .btn-secondary {
    width: 100%;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.login-page .btn-secondary:hover {
    background: #e5e7eb;
}

/* Alertas */
.login-page .alert {
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 13px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.login-page .alert i {
    flex-shrink: 0;
    margin-top: 2px;
}

.login-page .alert-danger {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.login-page .alert-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
}

.login-page .alert-warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #b45309;
}

/* Footer */
.login-footer { 
    text-align: center; 
    margin-top: 28px; 
    padding-top: 24px; 
    border-top: 1px solid #f3f4f6; 
}

.login-footer a { 
    font-size: 13px; 
    color: #6b7280;
    transition: color 0.2s ease;
}

.login-footer a:hover {
    color: #C9A43B;
}

/* Responsive */
@media (max-width: 480px) {
    .login-card {
        padding: 32px 24px;
    }
    
    .login-logo img {
        max-width: 150px;
    }
}
