/* ============================================
   Variables CSS - Paleta de Colores Premium
   ============================================ */
:root {
    /* Colores Principales - Gradientes Vibrantes */
    --primary: #6366F1;
    --primary-dark: #4F46E5;
    --primary-light: #818CF8;
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --primary-gradient-hover: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    
    /* Colores Secundarios */
    --secondary: #06B6D4;
    --secondary-dark: #0891B2;
    --secondary-gradient: linear-gradient(135deg, #06B6D4 0%, #3B82F6 100%);
    
    /* Colores de Estado */
    --success: #10B981;
    --success-light: #D1FAE5;
    --error: #EF4444;
    --error-light: #FEE2E2;
    --warning: #F59E0B;
    --warning-light: #FEF3C7;
    --info: #3B82F6;
    --info-light: #DBEAFE;
    
    /* Colores Neutros */
    --dark: #1F2937;
    --dark-light: #374151;
    --light: #F9FAFB;
    --light-gray: #F3F4F6;
    --white: #FFFFFF;
    --gray: #6B7280;
    --gray-light: #E5E7EB;
    --gray-dark: #4B5563;
    
    /* Efectos Visuales */
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --box-shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --box-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --box-shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Reset y Base Mejorado
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark);
    background: linear-gradient(135deg, #F9FAFB 0%, #F3F4F6 100%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Soporte para emojis en todos los dispositivos */
    font-feature-settings: "liga" 1, "calt" 1;
    text-rendering: optimizeLegibility;
}

/* Soporte mejorado para emojis - Compatible con Apple, Android, Windows */
.emoji, 
[class*="emoji"],
h1, h2, h3, h4, h5, h6,
.logo-title,
.stat-card-icon,
.quick-action-icon,
.action-icon {
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", "Android Emoji", "EmojiSymbols", "EmojiOne Mozilla", "Twemoji Mozilla", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
    font-variant-emoji: emoji;
    -webkit-font-feature-settings: "liga", "kern";
    font-feature-settings: "liga", "kern";
    text-rendering: optimizeLegibility;
}

/* Importar fuente Inter si está disponible */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================
   Página de Login - Diseño Premium Vibrante
   ============================================ */
body.login-page {
    background: linear-gradient(135deg, #FF00FF 0%, #8B00FF 25%, #4B0082 50%, #0000FF 75%, #00BFFF 100%);
    background-size: 300% 300%;
    animation: gradientShift 20s ease infinite;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

body.login-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(255, 0, 255, 0.1) 0%, transparent 60%);
    animation: float 25s ease-in-out infinite;
}

body.login-page::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle, rgba(255, 0, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle, rgba(0, 191, 255, 0.1) 0%, transparent 50%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.login-container {
    width: 100%;
    max-width: 480px;
    animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

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

.login-box {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: var(--border-radius-xl);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    padding: 60px 50px;
    width: 100%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
    animation: boxGlow 4s ease-in-out infinite;
}

.login-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, 
        #FF00FF 0%, 
        #00FF00 25%, 
        #0000FF 50%, 
        #FFFF00 75%, 
        #FF00FF 100%);
    background-size: 200% 100%;
    animation: gradientMove 3s linear infinite;
}

.login-box::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 0, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

@keyframes boxGlow {
    0%, 100% { 
        box-shadow: 
            0 25px 50px -12px rgba(0, 0, 0, 0.4),
            0 0 0 1px rgba(255, 255, 255, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.6),
            0 0 30px rgba(255, 0, 255, 0.2);
    }
    50% { 
        box-shadow: 
            0 25px 50px -12px rgba(0, 0, 0, 0.4),
            0 0 0 1px rgba(255, 255, 255, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.6),
            0 0 50px rgba(0, 191, 255, 0.3);
    }
}

.logo-section {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.logo-title {
    font-size: 4em;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
    text-shadow: 
        3px 3px 6px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 255, 255, 0.2);
    animation: logoFloat 3s ease-in-out infinite;
    position: relative;
}

.logo-title span {
    display: inline-block;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(255, 255, 255, 0.3),
        0 0 30px currentColor;
    transition: transform 0.3s ease;
    animation: letterPulse 2s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.1s);
}

.logo-title span:nth-child(1) { color: #FF00FF !important; --i: 0; } /* T - Magenta */
.logo-title span:nth-child(2) { color: #00FF00 !important; --i: 1; } /* i - Verde */
.logo-title span:nth-child(3) { color: #0000FF !important; --i: 2; } /* n - Azul */
.logo-title span:nth-child(4) { color: #FF0000 !important; --i: 3; } /* y - Rojo */
.logo-title span:nth-child(5) { color: #FFFF00 !important; --i: 4; } /* S - Amarillo */
.logo-title span:nth-child(6) { color: #00FF00 !important; --i: 5; } /* t - Verde */
.logo-title span:nth-child(7) { color: #FF0000 !important; --i: 6; } /* e - Rojo */
.logo-title span:nth-child(8) { color: #00BFFF !important; --i: 7; } /* p - Cyan */
.logo-title span:nth-child(9) { color: #FF00FF !important; --i: 8; } /* s - Magenta */

.logo-title:hover span {
    transform: translateY(-5px) scale(1.1);
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes letterPulse {
    0%, 100% { 
        transform: scale(1);
        filter: brightness(1);
    }
    50% { 
        transform: scale(1.05);
        filter: brightness(1.2);
    }
}

.logo-subtitle {
    color: rgba(0, 0, 0, 0.85);
    font-size: 1.2em;
    font-weight: 600;
    margin-top: 15px;
    letter-spacing: 2px;
    text-shadow: 
        2px 2px 4px rgba(255, 255, 255, 0.8),
        0 0 10px rgba(255, 255, 255, 0.5);
    padding: 8px 20px;
    display: inline-block;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
}

.login-form {
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.login-form .form-group input {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.login-form .form-group input:focus {
    background: rgba(255, 255, 255, 1);
    border-color: #FF00FF;
    box-shadow: 
        0 0 0 4px rgba(255, 0, 255, 0.1),
        0 0 20px rgba(255, 0, 255, 0.2);
}

/* ============================================
   Formularios - Estilo Premium
   ============================================ */
.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95em;
    letter-spacing: 0.3px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-light);
    border-radius: var(--border-radius);
    font-size: 1em;
    transition: var(--transition);
    background-color: var(--white);
    color: var(--dark);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--primary-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group small {
    display: block;
    margin-top: 8px;
    color: var(--gray);
    font-size: 0.85em;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.form-actions .btn {
    flex: 1;
    min-width: 120px;
}

/* ============================================
   Botones - Diseño Premium con Efectos
   ============================================ */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1em;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1.5;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    box-shadow: var(--box-shadow);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    background: var(--primary-gradient-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: linear-gradient(135deg, #6B7280 0%, #4B5563 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(107, 114, 128, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #4B5563 0%, #6B7280 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(107, 114, 128, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #DC2626 0%, #EF4444 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.5);
}

.btn-danger:active {
    transform: translateY(-1px);
}

.btn-block {
    width: 100%;
    display: block;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9em;
}

/* ============================================
   Alertas - Diseño Moderno
   ============================================ */
.alert {
    padding: 18px 24px;
    border-radius: var(--border-radius);
    margin-bottom: 24px;
    border-left: 4px solid;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--box-shadow);
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.alert-success {
    background: linear-gradient(135deg, var(--success-light) 0%, #ECFDF5 100%);
    border-color: var(--success);
    color: #065F46;
}

.alert-error {
    background: linear-gradient(135deg, var(--error-light) 0%, #FEF2F2 100%);
    border-color: var(--error);
    color: #991B1B;
}

.alert-warning {
    background: linear-gradient(135deg, var(--warning-light) 0%, #FFFBEB 100%);
    border-color: var(--warning);
    color: #92400E;
}

.alert-info {
    background: linear-gradient(135deg, var(--info-light) 0%, #EFF6FF 100%);
    border-color: var(--info);
    color: #1E40AF;
}

/* ============================================
   Dashboard - Diseño Premium
   ============================================ */
.dashboard-container {
    display: flex;
    min-height: 100vh;
    background: linear-gradient(135deg, #F9FAFB 0%, #F3F4F6 100%);
}

.main-content {
    flex: 1;
    padding: 40px;
    margin-left: 250px;
    transition: var(--transition);
    max-width: calc(100% - 250px);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
    padding: 30px;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
}

.header h1 {
    font-size: 2.5em;
    color: var(--dark);
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.user-info span {
    color: var(--gray-dark);
    font-weight: 600;
    padding: 10px 20px;
    background: var(--light-gray);
    border-radius: var(--border-radius);
}

.logout-btn {
    color: var(--error);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    background: var(--error-light);
    border: 2px solid transparent;
}

.logout-btn:hover {
    background: var(--error);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* ============================================
   Cards - Diseño Glassmorphism
   ============================================ */
.card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-md);
    margin-bottom: 30px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
    box-shadow: var(--box-shadow-lg);
    transform: translateY(-4px);
}

.card-header {
    padding: 25px 35px;
    background: var(--primary-gradient);
    color: var(--white);
    border-bottom: none;
    position: relative;
    overflow: hidden;
}

.card-header::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;
}

.card:hover .card-header::before {
    left: 100%;
}

.card-header h2 {
    font-size: 1.6em;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

.card > div:not(.card-header) {
    padding: 35px;
}

/* ============================================
   Tablas - Diseño Moderno
   ============================================ */
.table-container {
    overflow-x: auto;
    border-radius: var(--border-radius);
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
}

table thead {
    background: var(--primary-gradient);
    color: var(--white);
}

table th {
    padding: 18px 20px;
    text-align: left;
    font-weight: 700;
    color: var(--white);
    border-bottom: none;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

table th:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
}

table td {
    padding: 18px 20px;
    border-bottom: 1px solid var(--gray-light);
    color: var(--dark);
    transition: var(--transition-fast);
}

table tbody tr {
    transition: var(--transition-fast);
}

table tbody tr:hover {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.05) 0%, rgba(99, 102, 241, 0.02) 100%);
    transform: scale(1.01);
}

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

.empty-state {
    text-align: center;
    padding: 60px 40px;
    color: var(--gray);
    font-style: italic;
    font-size: 1.1em;
}

/* ============================================
   Status Badges - Diseño Premium
   ============================================ */
.status-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 700;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.status-badge:hover {
    transform: scale(1.05);
}

.status-pendiente {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    color: #92400E;
    border: 1px solid #FCD34D;
}

.status-aceptado {
    background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
    color: #065F46;
    border: 1px solid #10B981;
}

.status-rechazado {
    background: linear-gradient(135deg, #FEE2E2 0%, #FECACA 100%);
    color: #991B1B;
    border: 1px solid #EF4444;
}

/* ============================================
   Sidebar - Diseño Moderno
   ============================================ */
.menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    padding: 14px 18px;
    border-radius: var(--border-radius);
    font-size: 1.5em;
    cursor: pointer;
    box-shadow: var(--box-shadow-lg);
    transition: var(--transition);
}

.menu-toggle:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: var(--box-shadow-xl);
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 999;
}

.menu-overlay.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* ============================================
   Responsive - Diseño Adaptativo Completo
   ============================================ */

/* Tablets y pantallas medianas */
@media (max-width: 1024px) {
    .main-content {
        padding: 30px 25px;
    }
    
    .header {
        padding: 25px;
    }
    
    .stat-card,
    .stat-card-premium {
        padding: 25px;
    }
    
    .stat-card-value,
    .stat-value {
        font-size: 2.5em;
    }
}

/* Tablets pequeñas y móviles grandes */
@media (max-width: 768px) {
    .login-box {
        padding: 40px 30px;
    }
    
    .logo-title {
        font-size: 2.5em;
        letter-spacing: 3px;
        flex-wrap: wrap;
    }
    
    .logo-title span {
        font-size: 0.9em;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.95em;
    }
    
    .header {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .header h1 {
        font-size: 1.75em;
    }
    
    .logo-subtitle {
        font-size: 1em;
        padding: 6px 15px;
    }
    
    .main-content {
        padding: 20px 15px;
        margin-left: 0;
        max-width: 100%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .card-header {
        padding: 20px 25px;
    }
    
    .card-header h2 {
        font-size: 1.4em;
    }
    
    .card > div:not(.card-header) {
        padding: 25px 20px;
    }
    
    table {
        font-size: 0.9em;
    }
    
    table th,
    table td {
        padding: 12px 10px;
    }
    
    .stat-card,
    .stat-card-premium {
        padding: 20px;
    }
    
    .stat-card-value,
    .stat-value {
        font-size: 2em;
    }
    
    .stat-card-icon,
    .stat-icon-wrapper {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .bank-selection {
        grid-template-columns: 1fr;
    }
    
    .bank-card {
        padding: 25px;
    }
    
    .quick-action-card,
    .action-card {
        padding: 30px 20px;
    }
    
    .quick-action-icon,
    .action-icon {
        font-size: 3em;
    }
    
    .welcome-banner,
    .hero-section {
        padding: 30px 25px;
    }
    
    .welcome-title,
    .hero-title {
        font-size: 2em;
    }
    
    .welcome-subtitle,
    .hero-subtitle {
        font-size: 1.1em;
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {
    .login-box {
        padding: 35px 25px;
    }
    
    .logo-title {
        font-size: 2em;
        letter-spacing: 2px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.95em;
    }
    
    .header h1 {
        font-size: 1.5em;
    }
    
    .main-content {
        padding: 15px 10px;
    }
    
    .form-section {
        padding: 25px 20px;
    }
    
    .section-title {
        font-size: 1.2em;
    }
    
    .stat-card-value,
    .stat-value {
        font-size: 1.8em;
    }
    
    .stat-card-label,
    .stat-label {
        font-size: 0.85em;
    }
    
    .card-header h2 {
        font-size: 1.2em;
    }
    
    .bank-card {
        padding: 20px;
    }
    
    .bank-icon {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
    
    .bank-name {
        font-size: 1.3em;
    }
    
    .quick-action-card,
    .action-card {
        padding: 25px 15px;
    }
    
    .quick-action-icon,
    .action-icon {
        font-size: 2.5em;
    }
    
    .quick-action-title,
    .action-title {
        font-size: 1.2em;
    }
    
    .welcome-title,
    .hero-title {
        font-size: 1.75em;
    }
    
    .file-upload-area {
        padding: 30px 20px;
    }
    
    .upload-icon {
        font-size: 3em;
    }
    
    table {
        font-size: 0.85em;
    }
    
    table th,
    table td {
        padding: 8px 6px;
    }
}

/* Móviles muy pequeños */
@media (max-width: 360px) {
    .logo-title {
        font-size: 1.8em;
    }
    
    .stat-card-value,
    .stat-value {
        font-size: 1.5em;
    }
    
    .header h1 {
        font-size: 1.3em;
    }
    
    .welcome-title,
    .hero-title {
        font-size: 1.5em;
    }
}

/* Orientación horizontal en móviles */
@media (max-width: 768px) and (orientation: landscape) {
    .login-box {
        padding: 30px 25px;
    }
    
    .logo-title {
        font-size: 2em;
    }
    
    .main-content {
        padding: 15px;
    }
}

/* Impresión */
@media print {
    .menu-toggle,
    .menu-overlay,
    .sidebar,
    .logout-btn,
    .btn {
        display: none !important;
    }
    
    .main-content {
        margin-left: 0;
        padding: 0;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* ============================================
   Utilidades Adicionales
   ============================================ */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.hidden {
    display: none;
}

/* Efectos de carga y animaciones */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.loading {
    animation: shimmer 2s infinite;
    background: linear-gradient(to right, #f0f0f0 8%, #e0e0e0 18%, #f0f0f0 33%);
    background-size: 1000px 100%;
}

/* Scrollbar personalizado */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-gradient-hover);
}
