/* ========================================
   BUTTONS SYSTEM
   ======================================== */

/* Base Button Styles */
.accordion-body-wrapper {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

    .accordion-body-wrapper.open {
        max-height: 999px;
        opacity: 1;
    }

.rotate-0 {
    transform: rotate(0deg);
}

.rotate-180 {
    transform: rotate(180deg);
}

.accordion-header {
    transition: filter 0.3s ease;
}

    .accordion-header i {
        display: inline-block;
    }

    .accordion-header:hover {
        filter: brightness(0.80);
    }

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: var(--visual-radius-control);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* ========================================
   TOGGLES & SWITCHES
   ======================================== */

/* Toggle base with CSS variables for proportional sizing */
.toggle {
    --w: 60px;
    --h: 34px;
    --p: 4px;
    position: relative;
    display: inline-block;
    width: var(--w);
    height: var(--h);
}

.toggle-small {
    --w: 32px;
    --h: 18px;
    --p: 2px;
}

.toggle-big {
    --w: 76px;
    --h: 42px;
    --p: 5px;
}

/* Toggle input (hidden) */
.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* Toggle slider track */
.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.1);
    border-radius: calc(var(--h) / 2);
    transition: 0.25s ease;
    border: 1px solid var(--glass-border, rgba(255,255,255,0.2));
    backdrop-filter: blur(var(--visual-blur-control));
}

    /* Toggle slider button */
    .toggle-slider:before {
        position: absolute;
        content: "";
        width: calc(var(--h) - (2 * var(--p)));
        height: calc(var(--h) - (2 * var(--p)));
        left: var(--p);
        top: 50%;
        transform: translateY(-50%);
        background: var(--text-primary, white);
        border-radius: 50%;
        transition: 0.25s ease;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    }

.toggle-small .toggle-slider {
    border-radius: calc(var(--h) / 2);
}

.toggle-big .toggle-slider {
    border-radius: calc(var(--h) / 2);
}

/* Ajustar o raio do trilho proporcional à altura do toggle */
/* Toggle small e big já definidos acima com border-radius proporcional */

.toggle input:checked + .toggle-slider {
    background: linear-gradient(135deg, var(--app-primary-color), var(--app-primary-light)) !important;
    border-color: var(--app-primary-color) !important;
}

    .toggle input:checked + .toggle-slider:before {
        transform: translate(calc(var(--w) - (var(--h) - (2 * var(--p))) - (2 * var(--p))), -50%) !important;
        background: white !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
    }

/* Explicit slider variants for small and big */
.toggle-small .toggle-slider {
    height: 18px;
    width: 32px;
    border-radius: 9px;
}

    .toggle-small .toggle-slider:before {
        width: 14px;
        height: 14px;
        left: 2px;
        top: 50%;
        transform: translateY(-50%);
    }

.toggle-small input:checked + .toggle-slider:before {
    transform: translate(14px, -50%) !important;
}

.toggle-big .toggle-slider {
    height: 42px;
    width: 76px;
    border-radius: 21px;
}

    .toggle-big .toggle-slider:before {
        width: 32px;
        height: 32px;
        left: 5px;
        top: 50%;
        transform: translateY(-50%);
    }

.toggle-big input:checked + .toggle-slider:before {
    transform: translate(34px, -50%) !important;
}

/* ========================================
   CHECKBOXES
   ======================================== */

/* Checkbox sizes */
.checkbox-small .checkbox-custom {
    width: 16px;
    height: 16px;
}

.checkbox-small input[type="checkbox"]:checked + .checkbox-custom::after {
    font-size: 10px;
}

.checkbox-big .checkbox-custom {
    width: 32px;
    height: 32px;
}

.checkbox-big input[type="checkbox"]:checked + .checkbox-custom::after {
    font-size: 18px;
}

/* Checkbox group container */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

/* Checkbox container */
.checkbox {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

    /* Checkbox input (hidden) */
    .checkbox input[type="checkbox"] {
        opacity: 0;
        position: absolute;
        width: 0;
        height: 0;
    }

.checkbox-custom {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: var(--visual-surface-subtle);
    border: 2px solid var(--glass-border, rgba(255, 255, 255, 0.3));
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(var(--visual-blur-control));
    flex: 0 0 24px;
}

.checkbox input[type="checkbox"]:checked + .checkbox-custom {
    background: linear-gradient(135deg, var(--primary-color, #4f46e5), var(--primary-color-light, #7c3aed));
    border-color: var(--primary-color, #4f46e5);
}

    .checkbox input[type="checkbox"]:checked + .checkbox-custom::after {
        content: '✓';
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        color: white;
        font-size: 14px;
        font-weight: bold;
    }



.checkbox-label {
    color: var(--text-secondary, rgba(255, 255, 255, 0.9));
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

/* ========================================
   SETTINGS CARD
   ======================================== */

/* Main settings configuration card */
.settings-card {
    background: #000000;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
    padding: 20px;
    backdrop-filter: none;
    box-shadow: none;
}

    .settings-card::before {
        display: none;
    }

    .settings-card:hover {
        transform: none;
        box-shadow: none;
    }

/* Settings controls container */
.settings-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

/* Color picker group */
.color-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Color picker label */
.color-label {
    color: white;
    font-size: 11px;
    font-weight: 500;
    min-width: 65px;
    white-space: nowrap;
}

.theme-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.color-input {
    width: 35px;
    height: 25px;
    border: 1px solid var(--visual-border-strong);
    border-radius: 0;
    background: transparent;
    cursor: pointer;
}

.color-value {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-family: monospace;
    min-width: 50px;
}

.theme-selector {
    display: flex;
    background: var(--visual-surface-subtle);
    border-radius: 0;
    padding: 2px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.theme-option {
    padding: 6px 10px;
    background: transparent;
    border: none;
    border-radius: 0;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 10px;
    font-weight: 500;
    white-space: nowrap;
}

    .theme-option.active {
        background: rgba(255, 255, 255, 0.2);
        color: white;
    }

.reset-btn {
    padding: 6px 12px;
    border: 1px solid var(--visual-border-strong);
    border-radius: 0;
    background: var(--visual-surface-subtle);
    color: rgba(255, 255, 255, 0.8);
    font-size: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

    .reset-btn:hover {
        background: rgba(255, 255, 255, 0.2);
        color: white;
    }

.opacity-slider {
    width: 60px;
    height: 20px;
    background: var(--visual-surface-subtle);
    border-radius: 10px;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

    .opacity-slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: white;
        cursor: pointer;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }

    .opacity-slider::-moz-range-thumb {
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: white;
        cursor: pointer;
        border: none;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }

/* Background picker */
.bg-picker {
    display: grid;
    grid-template-columns: repeat(7, 40px);
    gap: 8px;
}

.bg-thumb {
    width: 40px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.3);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}

    .bg-thumb:hover {
        transform: scale(1.05);
        box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    }

    .bg-thumb.active {
        outline: 2px solid var(--primary-color, #4f46e5);
        outline-offset: 2px;
    }

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Mobile styles (max-width: 768px) */
@media (max-width: 768px) {
    body {
        margin: 0;
        padding: 0;
        overflow-x: hidden;
        width: 100%;
    }

    .main-content {
        margin-left: 0 !important;
        margin-right: 0;
        padding: 20px 20px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

        /* Garantir que todos os elementos respeitem as margens */
        .main-content * {
            box-sizing: border-box;
        }

    /* Ajustar cards no mobile */
    .card {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    /* Ajustar grid no mobile */
    .grid {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    /* Ajustar header no mobile */
    .header {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }

    /* Garantir que o container principal tenha margens corretas */
    .main-content > * {
        margin-left: 0;
        margin-right: 0;
    }

    /* Resetar margens específicas que podem estar causando problemas */
    .main-content .card,
    .main-content .grid,
    .main-content .header,
    .main-content .nav-tabs {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Garantir que o layout não quebre quando menu muda para mobile */
    .main-content {
        position: relative;
        left: 0;
        right: 0;
    }

        /* Ajustar cards para manter margens corretas */
        .main-content .card {
            margin-bottom: 20px;
            width: 100%;
        }

        /* Ajustar grid para telas pequenas */
        .main-content .grid {
            grid-template-columns: 1fr;
            gap: 20px;
            margin: 0;
        }

    .sidebar.pinned + .main-content {
        margin-left: 280px;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 15px 20px;
    }

        .header h1 {
            font-size: 2rem;
        }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        border-radius: 0;
        width: 30px;
        height: 30px;
        color: rgba(255, 255, 255, 0.7);
        cursor: pointer;
        font-size: 18px;
        transition: color 0.3s ease;
    }

        .mobile-menu-btn:hover {
            color: white;
        }

    /* Header mobile discreto e fixo no topo */
    .mobile-header {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 15px 20px;
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(var(--visual-blur-control));
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        position: sticky;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1001;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
        gap: 15px;
    }

    .mobile-logo {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .mobile-logo-icon {
        width: 24px;
        height: 24px;
        background: linear-gradient(135deg, var(--app-primary-color), var(--app-primary-light));
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: bold;
        font-size: 12px;
    }

    .mobile-logo-text {
        color: rgba(255, 255, 255, 0.8);
        font-size: 14px;
        font-weight: 600;
    }
}

/* Esconder header mobile no desktop */
@media (min-width: 769px) {
    .mobile-header {
        display: none;
    }

    .settings-controls {
        gap: 10px;
    }

    .color-group {
        gap: 5px;
    }

    .color-label {
        min-width: 50px;
        font-size: 10px;
    }

    .card {
        padding: 20px;
    }

    .table-container {
        overflow-x: auto;
    }

    .table th,
    .table td {
        padding: 12px 16px;
        font-size: 13px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 13px;
        min-height: 40px;
    }

    .btn-small {
        padding: 6px 12px;
        font-size: 11px;
        min-height: 32px;
    }
}

/* Desktop styles (min-width: 769px) */
@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none;
    }

    .settings-controls {
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    /* Garantir que o main-content seja empurrado quando sidebar fixado */
    .sidebar.pinned + .main-content {
        margin-left: 280px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 10px;
    }

    .header {
        padding: 10px 15px;
    }

        .header h1 {
            font-size: 1.8rem;
        }

    .settings-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .color-group,
    .theme-group {
        width: 100%;
        justify-content: space-between;
    }

    .grid {
        gap: 10px;
    }

    .card {
        padding: 15px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }
}

/* Button Sizes */
.btn-small {
    padding: 0px 14px; /* aligned to input small */
    font-size: 12.6px; /* 10% smaller than normal (14px) */
    border-radius: var(--visual-radius-control);
    min-height: 26px; /* ~60% of 44px */
}

.btn-big {
    padding: 14px 28px;
    font-size: 16px;
    border-radius: var(--visual-radius-control);
    min-height: 50px;
}

/* Estilos específicos para botões na tabela */
.table .btn {
    margin: 2px;
    flex-shrink: 0;
}

.table .btn-small {
    padding: 0px 14px;
    font-size: 12.6px; /* 10% menor que o normal */
    min-height: 26px;
    border-radius: var(--visual-radius-control);
}

/* Garantir que ícones acompanhem o tamanho da fonte do botão */
.btn i,
.btn .fas,
.btn .fa {
    font-size: 1em;
}

/* ========================================
   BUTTON COLOR VARIANTS
   ======================================== */

/* Primary Button */
.btn-primary {
    background: linear-gradient(135deg, var(--app-primary-color), var(--app-primary-light));
    color: white;
    border: 1px solid var(--visual-border-strong);
    backdrop-filter: blur(var(--visual-blur-control));
    box-shadow: 0 4px 12px rgba(var(--app-primary-color-rgb), 0.3), 0 2px 6px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Secondary Button */
.btn-secondary {
    background: var(--visual-surface-subtle);
    color: var(--text-primary, white);
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.2));
    backdrop-filter: blur(var(--visual-blur-control));
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.9), rgba(220, 38, 38, 0.9));
    color: white;
    border: 1px solid var(--visual-border-strong);
    backdrop-filter: blur(var(--visual-blur-control));
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3), 0 2px 6px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

    .btn-danger:hover {
        background: linear-gradient(135deg, rgba(239, 68, 68, 1), rgba(220, 38, 38, 1));
        box-shadow: 0 10px 25px rgba(239, 68, 68, 0.4);
    }

.btn-success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.95), rgba(22, 163, 74, 0.95));
    color: white;
    border: 1px solid var(--visual-border-strong);
    backdrop-filter: blur(var(--visual-blur-control));
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.35), 0 2px 6px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

    .btn-success:hover {
        background: linear-gradient(135deg, rgba(34, 197, 94, 1), rgba(22, 163, 74, 1));
        box-shadow: 0 10px 25px rgba(34, 197, 94, 0.45);
    }

/* Warning */
.btn-warning {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.95), rgba(245, 158, 11, 0.95));
    color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(var(--visual-blur-control));
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.35), 0 2px 6px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

    .btn-warning:hover {
        background: linear-gradient(135deg, rgba(251, 191, 36, 1), rgba(245, 158, 11, 1));
        box-shadow: 0 10px 25px rgba(251, 191, 36, 0.45);
    }

/* Info */
.btn-info {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.95), rgba(37, 99, 235, 0.95));
    color: white;
    border: 1px solid var(--visual-border-strong);
    backdrop-filter: blur(var(--visual-blur-control));
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35), 0 2px 6px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

    .btn-info:hover {
        background: linear-gradient(135deg, rgba(59, 130, 246, 1), rgba(37, 99, 235, 1));
        box-shadow: 0 10px 25px rgba(59, 130, 246, 0.45);
    }

/* Outline buttons (fundo transparente, borda colorida) */
.btn-outline-primary {
    background: transparent;
    color: var(--app-primary-light);
    border: 1px solid rgba(var(--app-primary-color-rgb), 0.6);
    box-shadow: 0 2px 8px rgba(var(--app-primary-color-rgb), 0.15);
}

    .btn-outline-primary:hover {
        background: rgba(var(--app-primary-color-rgb), 0.12);
    }

.btn-outline-secondary {
    background: transparent;
    color: var(--text-primary, white);
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.35));
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

    .btn-outline-secondary:hover {
        background: rgba(255, 255, 255, 0.08);
    }

.btn-outline-success {
    background: transparent;
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.7);
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.18);
}

    .btn-outline-success:hover {
        background: rgba(34, 197, 94, 0.14);
    }

.btn-outline-danger {
    background: transparent;
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.6);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.15);
}

    .btn-outline-danger:hover {
        background: rgba(239, 68, 68, 0.12);
    }

.btn-outline-warning {
    background: transparent;
    color: #fde047;
    border: 1px solid rgba(251, 191, 36, 0.7);
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.18);
}

    .btn-outline-warning:hover {
        background: rgba(251, 191, 36, 0.14);
    }

.btn-outline-info {
    background: transparent;
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.7);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.18);
}

    .btn-outline-info:hover {
        background: rgba(59, 130, 246, 0.14);
    }

/* Outline Ghost */
.btn-outline-ghost {
    background: transparent;
    color: var(--text-primary, white);
    border: 1px solid transparent; /* borda invisível */
    box-shadow: none;
}

    .btn-outline-ghost:hover {
        background: rgba(255, 255, 255, 0.08);
    }

.btn-ghost {
    background: transparent;
    color: var(--text-primary, white);
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.2));
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(var(--visual-blur-control));
}

    .btn-ghost:hover {
        background: var(--visual-surface-subtle);
    }

/* Utilitários de alinhamento de conteúdo/ícone no botão */
.btn-justify-left {
    justify-content: flex-start;
}

.btn-justify-right {
    justify-content: flex-end;
}

.btn-icon-left {
    flex-direction: row;
}

.btn-icon-right {
    flex-direction: row-reverse;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn:active {
    transform: translateY(0);
}

/* ========================================
   BADGES & LABELS
   ======================================== */

/* Base badge styles */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(var(--visual-blur-control));
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-small {
    padding: 2px 8px;
    font-size: 10px;
    border-radius: 14px;
}

.badge-primary {
    background: linear-gradient(135deg, rgba(var(--app-primary-color-rgb), 0.2), rgba(var(--app-primary-color-rgb), 0.12));
    color: var(--app-primary-light);
    border-color: rgba(var(--app-primary-color-rgb), 0.3);
}

.badge-success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(22, 163, 74, 0.2));
    color: #86efac;
    border-color: rgba(34, 197, 94, 0.3);
}

.badge-warning {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.2));
    color: #fde047;
    border-color: rgba(251, 191, 36, 0.3);
}

.badge-danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.2));
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.3);
}

.badge-info {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(37, 99, 235, 0.2));
    color: #93c5fd;
    border-color: rgba(59, 130, 246, 0.3);
}

/* Badges com cores menos transparentes (mais sólidas) */
.badge-solid-primary {
    background: linear-gradient(135deg, rgba(var(--app-primary-color-rgb), 0.9), rgba(var(--app-primary-color-rgb), 0.72));
    color: #ffffff;
    border-color: rgba(var(--app-primary-color-rgb), 0.9);
    box-shadow: 0 2px 8px rgba(var(--app-primary-color-rgb), 0.3);
}

.badge-solid-success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.8), rgba(22, 163, 74, 0.8));
    color: #ffffff;
    border-color: rgba(34, 197, 94, 0.9);
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.badge-solid-warning {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.8), rgba(245, 158, 11, 0.8));
    color: #ffffff;
    border-color: rgba(251, 191, 36, 0.9);
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
}

.badge-solid-danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.8), rgba(220, 38, 38, 0.8));
    color: #ffffff;
    border-color: rgba(239, 68, 68, 0.9);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.badge-solid-info {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.8), rgba(37, 99, 235, 0.8));
    color: #ffffff;
    border-color: rgba(59, 130, 246, 0.9);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.actions-container {
    align-content: center;
}

.actions-end {
    float: right;
}
