/* assets/css/auth.css */
:root {
    --gradient-primary: linear-gradient(135deg, #1f1f22 0%, #29292d 55%, #35353a 100%);
    --gradient-header: linear-gradient(135deg,#1f1f22 0%,#35353a 100%);
    --gradient-button: linear-gradient(135deg,#1f1f22 0%,#35353a 100%);
    --gradient-button-hover: linear-gradient(135deg,#1f1f22 0%,#35353a 100%);
    --blue-primary: #FFC400;
    --blue-dark: #e0ac00;
    --dark: #1f1f22;
    --dark-darker: #151517;
    --light-bg: #f8f9fa;
    --border-color: #dee2e6;
    --text-muted: #6c757d;
    --shadow: 0 10px 30px rgba(0,0,0,0.2);
    --border-radius: 15px;
}

/* Contenedor principal */
.auth-container {
    min-height: 100vh;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Tarjeta principal */
.auth-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    max-width: 850px;
    width: 100%;
    display: flex;
    flex-direction: row;
}

/* Columnas */
.auth-left {
    flex: 1;
    background: var(--gradient-header);
    color: white;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-right {
    flex: 1;
    padding: 40px 30px;
}

/* Header para login (cuando es una sola columna) */
.auth-header {
    background: var(--gradient-header);
    color: white;
    padding: 30px;
    text-align: center;
}

/* Elementos de la columna izquierda */
.auth-left h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.auth-left p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 30px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.feature-list i {
    width: 30px;
    font-size: 1.2rem;
    margin-right: 10px;
}

/* Formularios */
.form-control {
    border-radius: 8px;
    border: 1px solid var(--border-color);
    padding: 12px;
}

.form-control:focus {
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 0.2rem rgba(255, 196, 0, 0.25);
}

.btn-auth {
    background: var(--gradient-button);
    border: none;
    color: white;
    padding: 12px;
    font-weight: 600;
    width: 100%;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-auth:hover {
    background: var(--gradient-button-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 196, 0, 0.3);
}

.btn-outline-auth {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-outline-auth:hover {
    background: white;
    color: var(--dark);
}

/* Info de usuario (logout) */
.user-info-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    margin-bottom: 25px;
    border-left: 4px solid var(--blue-primary);
}

.user-info-card i {
    font-size: 3rem;
    color: var(--blue-primary);
    margin-bottom: 10px;
}

.user-info-card strong {
    display: block;
    font-size: 1.3rem;
    color: var(--dark);
}

/* Detalles de sesión */
.session-details {
    background: var(--light-bg);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--text-muted);
    font-weight: 500;
}

.detail-label i {
    width: 20px;
    color: var(--blue-primary);
}

.detail-value {
    color: var(--dark);
    font-weight: 600;
}

/* Mensajes */
.message-box {
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 25px;
    border-left: 4px solid;
}

.message-success {
    background: #d4edda;
    color: #155724;
    border-left-color: #28a745;
}

.message-warning {
    background: #fff3cd;
    color: #856404;
    border-left-color: #ffc107;
}

.message-info {
    background: #e7f3ff;
    color: var(--dark);
    border-left-color: var(--blue-primary);
}

.message-danger {
    background: #f8d7da;
    color: #721c24;
    border-left-color: #dc3545;
}

/* Contador regresivo */
.countdown-box {
    text-align: center;
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #f1f2f6 0%, #dfe4ea 100%);
    border-radius: 10px;
}

.countdown-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--blue-primary);
    line-height: 1;
}

.countdown-label {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.progress {
    height: 8px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.progress-bar {
    background: var(--gradient-button);
    transition: width 0.5s ease;
}

/* Security notice */
.security-notice {
    background: #e7f3ff;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    border-left: 4px solid var(--blue-primary);
    font-size: 0.95rem;
}

/* Badges */
.badge-auth {
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 500;
}

.badge-auto {
    background: #ffc107;
    color: #856404;
}

.badge-manual {
    background: #17a2b8;
    color: white;
}

/* Footer */
.auth-footer {
    text-align: center;
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.auth-footer i {
    color: var(--blue-primary);
}

/* Alertas */
.alert-warning-custom {
    background-color: #fff3cd;
    border-color: #ffeeba;
    color: #856404;
}

/* Responsive */
@media (max-width: 768px) {
    .auth-card {
        flex-direction: column;
        max-width: 400px;
    }
    
    .auth-left {
        padding: 30px 20px;
        text-align: center;
    }
    
    .feature-list li {
        justify-content: center;
    }
}