
    .dashboard-card {
        border: 1px solid rgba(0, 0, 0, 0.05);
        border-radius: 16px;
        padding: 24px;
        background: linear-gradient(135deg, #ffffff 0%, #f9fbfd 100%);
        box-shadow: 0 4px 12px rgba(0,0,0,0.03);
        transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
        margin-bottom: 24px;
        position: relative;
        overflow: hidden;
    }
    
    .dashboard-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 24px rgba(0,0,0,0.08);
        border-color: rgba(0, 0, 0, 0.1);
    }
    
    .dashboard-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 16px;
    }
    
    .dashboard-title {
        font-size: 1.25rem;
        font-weight: 700;
        color: #2c3e50;
        margin: 0;
        letter-spacing: -0.02em;
    }
    
    .dashboard-meta {
        display: flex;
        flex-direction: column;
        gap: 8px;
        font-size: 0.9rem;
        color: #64748b;
        margin-bottom: 20px;
    }
    
    .dashboard-meta span {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .dashboard-meta i {
        color: #94a3b8;
    }
    
    .dashboard-actions {
        display: flex;
        gap: 12px;
        margin-top: auto;
    }
    
    .dashboard-actions .btn {
        padding: 6px 14px;
        border-radius: 6px;
        font-size: 0.85rem;
        font-weight: 500;
        transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        border: 1px solid transparent;
    }
    
    .dashboard-actions .btn:active {
        transform: scale(0.98);
    }
    
    /* Personalización de botones dentro de la tarjeta para no interferir globalmente */
    .dashboard-actions .btn-primary {
        background: #0a0a0a;
        color: #ffffff;
        border-color: #0a0a0a;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    .dashboard-actions .btn-primary:hover {
        background: #262626;
        border-color: #262626;
        color: #ffffff;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
    }
    
    .dashboard-actions .btn-success {
        background: #ffffff;
        color: #171717;
        border-color: #e5e5e5;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    }
    
    .dashboard-actions .btn-success:hover {
        background: #fafafa;
        border-color: #d4d4d4;
        color: #000000;
    }
    
    .dashboard-actions .btn-danger {
        background: #ffffff;
        border-color: #ffeaea;
        color: #e5484d;
        box-shadow: 0 1px 2px rgba(0,0,0,0.02);
    }
    
    .dashboard-actions .btn-danger:hover {
        background: #fff8f8;
        border-color: #ffcdcd;
        color: #ce2c31;
    }
    
    .public-badge {
        background: rgba(14, 165, 233, 0.1);
        color: #0284c7;
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        backdrop-filter: blur(4px);
    }
    
    .empty-state {
        text-align: center;
        padding: 60px 20px;
        background: #f8f9fa;
        border-radius: 8px;
        border: 1px dashed #dee2e6;
    }
    
    .empty-state h3 {
        color: #2c3e50;
        margin-bottom: 10px;
        font-weight: 700;
    }
    
    .empty-state p {
        color: #64748b;
        margin-bottom: 24px;
    }
    
    .empty-state .btn-primary {
        background: #0a0a0a;
        color: #ffffff;
        border: 1px solid #0a0a0a;
        border-radius: 6px;
        padding: 8px 16px;
        font-size: 14px;
        font-weight: 500;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }
    
    .empty-state .btn-primary:hover {
        background: #262626;
        border-color: #262626;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
    }
    
    /* Modal de confirmación */
    .modal-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 9999;
        align-items: center;
        justify-content: center;
    }
    
    .modal-overlay.active {
        display: flex;
    }
    
    .modal-confirm {
        background: white;
        border-radius: 12px;
        padding: 30px;
        max-width: 500px;
        width: 90%;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
        animation: slideIn 0.3s ease;
    }
    
    @keyframes slideIn {
        from {
            transform: translateY(-50px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
    
    .modal-confirm h3 {
        margin: 0 0 15px 0;
        color: #dc3545;
        font-size: 22px;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .modal-confirm p {
        color: #666;
        margin-bottom: 20px;
        line-height: 1.5;
    }
    
    .modal-confirm .confirm-input {
        width: 100%;
        padding: 12px;
        border: 2px solid #ddd;
        border-radius: 6px;
        font-size: 15px;
        margin-bottom: 20px;
        transition: border-color 0.2s;
    }
    
    .modal-confirm .confirm-input:focus {
        outline: none;
        border-color: #dc3545;
    }
    
    .modal-confirm .modal-actions {
        display: flex;
        gap: 10px;
        justify-content: flex-end;
    }
    
    .modal-confirm .btn-cancel {
        background: #6c757d;
        color: white;
    }
    
    .modal-confirm .btn-cancel:hover {
        background: #5a6268;
    }


    /* Dashboards Especiales SMA */
    .dashboard-card.card-sma-map {
        border-top: 4px solid #10b981;
        background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    }

    .dashboard-card.card-sma-slideshow {
        border-top: 4px solid #6366f1;
        background: linear-gradient(135deg, #eef2ff 0%, #ffffff 100%);
    }

    .dashboard-card-title-icon {
        margin-right: 8px;
        filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    }

    /* Modo noche - Lista de dashboards */
    [data-theme="dark"] .dashboard-card {
        background: linear-gradient(135deg, var(--surface) 0%, rgba(30, 41, 59, 0.5) 100%);
        border-color: rgba(255,255,255,0.05);
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }
    [data-theme="dark"] .dashboard-card:hover {
        box-shadow: 0 12px 24px rgba(0,0,0,0.4);
        border-color: rgba(255,255,255,0.1);
    }
    [data-theme="dark"] .dashboard-title { color: #f8fafc; }
    [data-theme="dark"] .dashboard-meta { color: #94a3b8; }
    [data-theme="dark"] .empty-state {
        background: var(--surface-2);
        border-color: rgba(255,255,255,0.1);
    }
    [data-theme="dark"] .empty-state h3 { color: #f8fafc; }
    [data-theme="dark"] .empty-state p { color: #94a3b8; }
    [data-theme="dark"] .modal-confirm {
        background: var(--surface);
        box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    }
    [data-theme="dark"] .modal-confirm p { color: #94a3b8; }
    [data-theme="dark"] .modal-confirm .confirm-input {
        background: var(--surface-2);
        border-color: rgba(255,255,255,0.1);
        color: #f8fafc;
    }
    [data-theme="dark"] .public-badge {
        background: rgba(56, 189, 248, 0.15);
        color: #38bdf8;
    }
    
    [data-theme="dark"] .dashboard-actions .btn-danger {
        border-color: rgba(244, 63, 94, 0.3);
        color: #f43f5e;
    }
    [data-theme="dark"] .dashboard-actions .btn-danger:hover {
        background: rgba(244, 63, 94, 0.1);
        border-color: rgba(244, 63, 94, 0.5);
    }

    /* Modo noche - SMA Especiales */
    [data-theme="dark"] .dashboard-card.card-sma-map {
        background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, var(--surface) 100%);
        border-top-color: #34d399;
    }

    [data-theme="dark"] .dashboard-card.card-sma-slideshow {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, var(--surface) 100%);
        border-top-color: #818cf8;
    }
