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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: #f5f5f5;
            color: #333;
        }

        /* NAVBAR SUPERIOR */
        .navbar {
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
            color: white;
            padding: 1rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .logo h1 {
            font-size: 1.5rem;
            font-weight: bold;
        }

        .logo p {
            font-size: 0.8rem;
            opacity: 0.8;
        }

        .nav-links {
            display: flex;
            gap: 2rem;
            flex-wrap: wrap;
        }

        .nav-link {
            color: white;
            text-decoration: none;
            padding: 0.5rem 1rem;
            border-radius: 8px;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .nav-link:hover {
            background: rgba(255,255,255,0.1);
            transform: translateY(-2px);
        }

        /* CONTENEDOR PRINCIPAL */
        .main-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 2rem;
        }

        /* SECCIÓN DE ESTADÍSTICAS */
        .stats-section {
            margin-bottom: 3rem;
        }

        .stats-title {
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
            color: #1a1a2e;
            border-left: 4px solid #e94560;
            padding-left: 1rem;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.5rem;
        }

        .stat-card {
            background: white;
            border-radius: 16px;
            padding: 1.5rem;
            box-shadow: 0 4px 6px rgba(0,0,0,0.07);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            cursor: pointer;
            border: 1px solid #e0e0e0;
        }

        .stat-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.15);
        }

        .stat-icon {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        .stat-card h3 {
            font-size: 1.1rem;
            color: #666;
            margin-bottom: 0.5rem;
        }

        .stat-number {
            font-size: 2rem;
            font-weight: bold;
            color: #1a1a2e;
            margin-bottom: 0.5rem;
        }

        .stat-description {
            font-size: 0.85rem;
            color: #888;
        }

        /* BOTONES PRINCIPALES */
        .actions-section {
            margin-bottom: 3rem;
        }

        .actions-title {
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
            color: #1a1a2e;
            border-left: 4px solid #e94560;
            padding-left: 1rem;
        }

        .button-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 1.5rem;
        }

        .modern-btn {
            background: white;
            border: none;
            border-radius: 16px;
            padding: 1.5rem;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.8rem;
            box-shadow: 0 4px 6px rgba(0,0,0,0.07);
            border: 1px solid #e0e0e0;
        }

        .modern-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.12);
        }

        .btn-icon {
            font-size: 2rem;
        }

        .btn-text {
            font-size: 1rem;
            font-weight: 600;
        }

        .btn-sub {
            font-size: 0.8rem;
            color: #666;
            font-weight: normal;
        }

        /* Colores específicos para cada botón */
        .btn-taller {
            border-top: 4px solid #667eea;
        }
        .btn-taller:hover {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
        }
        .btn-taller:hover .btn-sub {
            color: rgba(255,255,255,0.8);
        }

        .btn-terminados {
            border-top: 4px solid #f5576c;
        }
        .btn-terminados:hover {
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            color: white;
        }
        .btn-terminados:hover .btn-sub {
            color: rgba(255,255,255,0.8);
        }

        .btn-gastos {
            border-top: 4px solid #4facfe;
        }
        .btn-gastos:hover {
            background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
            color: white;
        }
        .btn-gastos:hover .btn-sub {
            color: rgba(255,255,255,0.8);
        }

        .btn-nomina {
            border-top: 4px solid #43e97b;
        }
        .btn-nomina:hover {
            background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
            color: white;
        }
        .btn-nomina:hover .btn-sub {
            color: rgba(255,255,255,0.8);
        }

        .btn-finalizar {
            background: linear-gradient(135deg, #e94560 0%, #c73d54 100%);
            color: white;
            border: none;
        }

        .btn-finalizar:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(233,69,96,0.3);
        }

        /* MODAL */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            justify-content: center;
            align-items: center;
            z-index: 1000;
            backdrop-filter: blur(5px);
        }

        .modal-content {
            background: white;
            border-radius: 20px;
            padding: 2rem;
            max-width: 500px;
            width: 90%;
            text-align: center;
            animation: slideUp 0.3s ease;
        }

        .modal-content h2 {
            margin-bottom: 1rem;
            color: #1a1a2e;
        }

        .modal-content p {
            margin-bottom: 1.5rem;
            color: #666;
            line-height: 1.6;
        }

        .close-modal {
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
            color: white;
            border: none;
            padding: 0.75rem 2rem;
            border-radius: 25px;
            font-size: 1rem;
            cursor: pointer;
            transition: transform 0.2s;
        }

        .close-modal:hover {
            transform: scale(1.05);
        }

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

        /* RESPONSIVE */
        @media (max-width: 768px) {
            .navbar {
                flex-direction: column;
                text-align: center;
            }
            
            .nav-links {
                justify-content: center;
            }
            
            .main-container {
                padding: 1rem;
            }
            
            .button-grid {
                grid-template-columns: 1fr;
            }
            
            .stats-grid {
                grid-template-columns: 1fr;
            }
        }
  /* Estilos para Tasas de Cambio 
.exchange-rate-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.rate-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.rate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.rate-bcv {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.rate-usdt {
    background: linear-gradient(135deg, #93a3fb 0%, #0558f1 100%);
}

.rate-icon {
    font-size: 2.5rem;
    background: rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.rate-info {
    flex: 1;
    color: white;
}

.rate-label {
    font-size: 0.9rem;
    opacity: 0.9;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.rate-value {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-family: monospace;
}

.rate-update {
    font-size: 0.75rem;
    opacity: 0.8;
}
*/
/* Responsive */
@media (max-width: 768px) {
    .exchange-rate-container {
        grid-template-columns: 1fr;
    }
    
    .rate-value {
        font-size: 1.4rem;
    }
}









/* Tasas compactas */
.rates-compact {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}
.rate-compact-card {
    flex: 1;
    background: linear-gradient(135deg, #11998e, #38ef7d);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
}
.rate-compact-card:last-child {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}
.rate-compact-card span:first-child {
    font-size: 1.5rem;
}
.rate-compact-card div {
    display: flex;
    flex-direction: column;
}
.rate-compact-card small {
    font-size: 0.7rem;
    opacity: 0.8;
}
.rate-compact-card strong {
    font-size: 1.1rem;
}









/* Estilos para tasas de cambio */
.exchange-rate-container {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.rate-card {
    background: white;
    border-radius: 16px;
    padding: 1.25rem;
    min-width: 200px;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.rate-card:hover {
    transform: translateY(-3px);
}

.rate-bcv {
    border-left: 4px solid #2c3e66;
}

.rate-paralelo {
    border-left: 4px solid #e67e22;
}

.rate-diferencia {
    border-left: 4px solid #ffc107;
}

.rate-icon {
    font-size: 2rem;
}

.rate-info {
    flex: 1;
}

.rate-label {
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rate-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e66;
}

.rate-update {
    font-size: 0.65rem;
    color: #999;
    margin-top: 0.25rem;
}

/* Versión compacta */
.rates-compact {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-bottom: 1.5rem;
}

.rate-compact-card {
    background: rgba(255,255,255,0.95);
    border-radius: 12px;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.rate-compact-card span {
    font-size: 1.25rem;
}

.rate-compact-card small {
    font-size: 0.65rem;
    color: #666;
}

.rate-compact-card strong {
    font-size: 0.9rem;
}