        :root {
            --success: #28a745;
            --info: #17a2b8;
            --warning: #ffc107;
            --danger: #dc3545;
            --primary: #007bff;
            --default: #6c757d;
            
            --tag-color: var(--default);
            --tag-bg: #ffffff;
            --tag-border: #e9ecef;
            --tag-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
        }

        .dashboard-container {
            max-width: 1400px;
            margin: 0 auto;
        }

        .dashboard-header {
            text-align: center;
            margin-bottom: 40px;
            color: white;
        }

        .dashboard-header h1 {
            font-size: 2.5rem;
            margin-bottom: 10px;
            font-weight: 700;
        }

        .dashboard-header p {
            font-size: 1.1rem;
            opacity: 0.9;
        }

        .tags-grid {
            display: grid;
            grid-template-columns: repeat(var(--columnas, 3), 1fr);
            gap: 25px;
            margin: 0 auto;
        }

        @media (max-width: 1200px) {
            .tags-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .tags-grid {
                grid-template-columns: 1fr;
            }
        }

        .dashboard-tag {
            background: var(--tag-bg);
            border-radius: 20px;
            padding: 25px;
            box-shadow: var(--tag-shadow);
            /*border-left: 4px solid var(--tag-color);*/
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

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

        .tag-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 20px;
        }

        .tag-icon {
            position: relative;
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, var(--tag-color), rgba(var(--tag-color-rgb), 0.8));
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.2rem;
        }

        .tag-badge {
            position: absolute;
            top: -8px;
            right: -8px;
            background: #ff4757;
            color: white;
            padding: 4px 8px;
            border-radius: 12px;
            font-size: 0.7rem;
            font-weight: bold;
        }

        .tag-content {
            margin-bottom: 20px;
        }

        .tag-title {
            font-size: 1rem;
            font-weight: 600;
            color: #6c757d;
            margin: 0 0 10px 0;
        }

        .tag-value {
            font-size: 2rem;
            font-weight: 700;
            color: #2c3e50;
            margin: 0 0 5px 0;
        }

        .tag-subtitle {
            font-size: 0.9rem;
            color: #6c757d;
            margin: 5px 0 15px 0;
        }

        .tag-progress {
            margin-top: 15px;
        }

        .progress-bars {
            width: 100%;
            height: 8px;
            background: #e9ecef;
            border-radius: 4px;
            overflow: hidden;
            margin-bottom: 8px;
        }

        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--tag-color), rgba(var(--tag-color-rgb), 0.7));
            border-radius: 4px;
            transition: width 0.5s ease;
        }

        .progress-text {
            font-size: 0.8rem;
            color: #6c757d;
            text-align: right;
        }

        .tag-footer {
            border-top: 1px solid var(--tag-border);
            padding-top: 15px;
        }

        .tag-button {
            width: 100%;
            background: transparent;
            border: 2px solid var(--tag-color);
            color: var(--tag-color);
            padding: 10px 20px;
            border-radius: 25px;
            cursor: pointer;
            font-weight: 600;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: all 0.3s ease;
        }

        .tag-button:hover {
            background: var(--tag-color);
            color: white;
            transform: translateX(5px);
        }

        /* Colores específicos para cada tipo */
        .tag-success { --tag-color: var(--success); }
        .tag-info { --tag-color: var(--info); }
        .tag-warning { --tag-color: var(--warning); }
        .tag-danger { --tag-color: var(--danger); }
        .tag-primary { --tag-color: var(--primary); }
        .tag-default { --tag-color: var(--default); }

        /* Convertir colores HEX a RGB para gradientes */
        .tag-success { --tag-color-rgb: 40, 167, 69; }
        .tag-info { --tag-color-rgb: 23, 162, 184; }
        .tag-warning { --tag-color-rgb: 255, 193, 7; }
        .tag-danger { --tag-color-rgb: 220, 53, 69; }
        .tag-primary { --tag-color-rgb: 0, 123, 255; }
        .tag-default { --tag-color-rgb: 108, 117, 125; }