/* =========================================
   ESTILOS GENERALES - CAMBIOS MUCAJAI
   ========================================= */

body { 
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%); 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
}

/* Tarjeta con efecto cristal */
.glass-card { 
    background: rgba(255, 255, 255, 0.98); 
    border-radius: 1.5rem; 
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3); 
    overflow: hidden;
}

/* Etiquetas de Tasa */
.tasa-badge { 
    background: #facc15; 
    color: #1e3a8a; 
    box-shadow: 0 4px 10px rgba(250, 204, 21, 0.3); 
    font-weight: 900;
}

/* Inputs personalizados */
.input-style { 
    transition: all 0.3s ease; 
    border: 2px solid #e5e7eb; 
    border-radius: 0.75rem; 
    padding: 1rem; 
    width: 100%;
    font-weight: 600;
    color: #1e293b;
}

.input-style:focus { 
    border-color: #3b82f6; 
    outline: none; 
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1); 
    background-color: #fff;
}

/* =========================================
   ESTILOS DEL DASHBOARD (ADMIN)
   ========================================= */

.admin-bg { 
    background: #0f172a !important; 
}

/* Navegación por pestañas */
.btn-tab { 
    padding: 12px 24px; 
    font-weight: 800; 
    border-radius: 12px; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    color: #64748b; 
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.025em;
}

.btn-tab.active { 
    background: #3b82f6; 
    color: white; 
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.4);
}

.tab-active { 
    border-bottom: 4px solid #facc15; 
    color: #1e40af; 
}

/* Tablas Profesionales */
.tabla-container {
    overflow-x: auto;
    border-radius: 1rem;
    border: 1px solid #f1f5f9;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    background-color: #f8fafc;
    color: #475569;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 1.25rem 1rem;
    border-bottom: 2px solid #f1f5f9;
}

td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9rem;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover {
    background-color: #f8fafc;
}

/* =========================================
   MODALES Y UTILIDADES
   ========================================= */

.modal-overlay { 
    background: rgba(15, 23, 42, 0.85); 
    backdrop-filter: blur(10px); 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    z-index: 100; 
}

/* Animaciones */
@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(15px); } 
    to { opacity: 1; transform: translateY(0); } 
}

.animate-result { 
    animation: fadeIn 0.4s ease-out; 
}

/* Etiquetas de copiado */
.copy-badge {
    cursor: pointer;
    padding: 6px 12px;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 0.5rem;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    transition: 0.2s ease;
    border: 1px solid #dbeafe;
}

.copy-badge:hover {
    background: #2563eb;
    color: white;
}

.copy-badge:active {
    transform: scale(0.92);
    background: #facc15;
    color: #1e3a8a;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

