
        .cropper-view-box,
        .cropper-face {
            border-radius: 50%;
        }

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

        .filter-form {
            display: flex;
            gap: 10px;
            align-items: center;
        }

        .filter-form select {
            padding: 8px 12px;
            border-radius: 6px;
            background: rgba(255, 255, 255, 0.05);
            color: var(--primary-color, #fff);
            border: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 0.9rem;
            outline: none;
            transition: all 0.3s ease;
        }

        .filter-form select:focus {
            border-color: var(--primary-color, #4ade80);
            box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.2);
        }

        .filter-form select option {
            background-color: #1a1a2e;
            color: #fff;
        }

        .btn-visto {
            padding: 6px !important;
            min-width: 26px !important;
            height: 26px !important;
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            background: rgba(74, 222, 128, 0.05) !important;
            border: 1px solid rgba(74, 222, 128, 0.2) !important;
            color: #4ade80 !important;
            border-radius: 8px;
            transition: all 0.3s ease;
            vertical-align: middle;
        }

        .btn-visto:hover {
            background: rgba(74, 222, 128, 0.15) !important;
            border-color: #4ade80 !important;
        }

        /* Premium summary card */
        .summary-card {
            padding: 24px;
            position: relative;
            overflow: hidden;
            border-radius: 12px;
            cursor: default;
            transition: transform 0.25s ease, box-shadow 0.25s ease;
        }

        .summary-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
        }

        /* Neon border glow variants */
        .summary-card.neon-green:hover {
            box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(74, 222, 128, 0.7), 0 0 12px rgba(74, 222, 128, 0.35);
            border-color: rgba(74, 222, 128, 0.7) !important;
        }

        .summary-card.neon-blue:hover {
            box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(59, 130, 246, 0.7), 0 0 12px rgba(59, 130, 246, 0.35);
            border-color: rgba(59, 130, 246, 0.7) !important;
        }

        .summary-card.neon-red:hover {
            box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(239, 68, 68, 0.7), 0 0 12px rgba(239, 68, 68, 0.35);
            border-color: rgba(239, 68, 68, 0.7) !important;
        }

        .summary-card .card-icon {
            position: absolute;
            right: -15px;
            top: -15px;
            opacity: 0.06;
            transform: translate(25%, -25%);
            transition: opacity 0.4s ease, transform 0.4s ease;
            pointer-events: none;
        }

        .summary-card:hover .card-icon {
            opacity: 0.15;
            transform: translate(-8%, 8%);
        }

        .summary-card .card-label {
            font-size: 0.85rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1.2px;
            margin-bottom: 10px;
        }

        .summary-card .card-value {
            font-size: 2rem;
            font-weight: 800;
            color: #fff;
        }

        .tabs-container {
            display: flex;
            gap: 8px;
            overflow-x: auto;
            padding-bottom: 8px;
            margin-bottom: 20px;
            width: 100%;
            justify-content: center;
            -ms-overflow-style: none;
            /* IE and Edge */
            scrollbar-width: none;
            /* Firefox */
        }

        .tabs-container::-webkit-scrollbar {
            display: none;
        }

        .tab {
            padding: 8px 16px;
            background: rgba(255, 255, 255, 0.05);
            color: #fff;
            border-radius: 8px;
            text-decoration: none;
            font-size: 0.9rem;
            white-space: nowrap;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
        }

        .tab:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .tab.active {
            background: #16120f color: #f5eeee;
            font-weight: bold;
            border-color: #ff6800c4;
        }

        .btn-add-small {
            width: 36px;
            height: 36px;
            padding: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            color: #808080ff;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .btn-add-small:hover {
            background: rgba(74, 222, 128, 0.2);
            border-color: #4ade80;
            color: #4ade80;
        }

        .btn-add-small:active {
            background: #4ade80;
            color: #000;
        }

        @media (max-width: 768px) {
            .btn-add-small {
                position: fixed !important;
                top: 18px !important;
                right: 68px !important;
                z-index: 1000 !important;
                margin: 0 !important;
                display: flex !important;
            }

            .add-btn-wrapper {
                height: 0 !important;
                margin: 0 !important;
                padding: 0 !important;
                overflow: visible !important;
            }
        }

        details>summary {
            list-style: none;
            outline: none;
        }

        details>summary::-webkit-details-marker {
            display: none;
        }

        details>summary::after {
            content: " ▼";
            font-size: 0.8em;
        }

        details[open]>summary::after {
            content: " ▲";
        }

        .app-wrapper {
            display: flex;
            min-height: 100vh;
            overflow: hidden;
        }

        .sidebar {
            width: 260px;
            background: rgba(0, 0, 0, 0.4);
            border-right: 1px solid rgba(255, 255, 255, 0.05);
            padding: 20px;
            display: flex;
            flex-direction: column;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: fixed;
            left: 0;
            top: 0;
            z-index: 100;
            height: 100vh;
        }

        .sidebar.collapsed {
            width: 80px;
            padding: 20px 10px;
            align-items: center;
        }

        .sidebar.collapsed .sidebar-logo span,
        .sidebar.collapsed .name,
        .sidebar.collapsed .menu-text {
            display: none;
        }

        .sidebar-logo {
            font-size: 1.5rem;
            font-weight: bold;
            color: #fff;
            margin-bottom: 40px;
            text-align: center;
        }

        .sidebar-menu {
            display: flex;
            flex-direction: column;
            gap: 10px;
            width: 100%;
        }

        .menu-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px;
            color: var(--text-muted);
            text-decoration: none;
            border-radius: 8px;
            transition: all 0.3s;
            cursor: pointer;
            white-space: nowrap;
            overflow: hidden;
            justify-content: flex-start;
        }

        .sidebar.collapsed .menu-item {
            justify-content: center;
            padding: 12px 0;
        }

        .menu-item:hover,
        .menu-item.active {
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
        }

        .main-content {
            flex: 1;
            padding: 10px;
            overflow-y: auto;
            height: 100vh;
            margin-left: 260px;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .sidebar.collapsed~.main-content {
            margin-left: 80px;
        }

        /* Ajuste para garantir que o header acompanhe */
        .main-content>header {
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .section {
            display: none;
            animation: fadeIn 0.3s ease;
        }

        .section.active {
            display: block;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .admin-profile {
            margin-bottom: 40px;
            padding: 15px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 8px;
            display: flex;
            align-items: center;
            gap: 12px;
            cursor: pointer;
            transition: all 0.3s;
            border: 1px solid rgba(255, 255, 255, 0.05);
            width: 100%;
        }

        .sidebar.collapsed .admin-profile {
            padding: 10px;
            justify-content: center;
            background: transparent;
            border: none;
        }

        .admin-profile:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.1);
        }

        .admin-profile img {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
            flex-shrink: 0;
        }

        .admin-profile .name {
            font-weight: bold;
            color: #fff;
            font-size: 0.9rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        /* MOBILE CARDS PRIORITY */
        @media (max-width: 768px) {
            .dash-stats-grid {
                grid-template-columns: repeat(3, 1fr) !important;
                gap: 8px !important;
            }

            .summary-card {
                padding: 12px 6px !important;
                border-radius: 12px !important;
                display: flex !important;
                flex-direction: column !important;
                justify-content: center !important;
                align-items: center !important;
            }

            .summary-card .card-icon {
                display: none !important;
            }

            .summary-card .card-label {
                font-size: 0.55rem !important;
                margin-bottom: 2px !important;
                text-align: center !important;
                white-space: nowrap !important;
            }

            .summary-card .card-value {
                font-size: 0.75rem !important;
                font-weight: 800 !important;
                text-align: center !important;
            }

            .tabs-container {
                justify-content: flex-start !important;
                padding: 10px 15px !important;
                margin: 0 -15px 20px -15px !important;
                width: calc(100% + 30px) !important;
                overflow-x: auto !important;
                -webkit-overflow-scrolling: touch !important;
                gap: 10px !important;
            }

            .tabs-container::-webkit-scrollbar {
                display: none !important;
            }

            .tab {
                flex-shrink: 0 !important;
                /* Impede que o botão diminua de tamanho */
                padding: 8px 20px !important;
            }

            .table-container {
                background: transparent !important;
                border: none !important;
                box-shadow: none !important;
                overflow: visible !important;
                margin: 0 !important;
                width: 100% !important;
            }

            table,
            thead,
            tbody,
            th,
            td,
            tr {
                display: block !important;
            }

            thead {
                display: none !important;
            }

            tbody tr {
                background: rgba(255, 255, 255, 0.04) !important;
                backdrop-filter: blur(10px) !important;
                border: 1px solid rgba(255, 255, 255, 0.1) !important;
                border-radius: 20px !important;
                margin-bottom: 15px !important;
                padding: 20px !important;
                box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
            }

            td {
                padding: 6px 0 !important;
                border: none !important;
                text-align: left !important;
                height: auto !important;
            }

            /* Nome e Badge */
            td:nth-child(1) {
                font-size: 1.2rem !important;
                color: #fff !important;
                padding-bottom: 10px !important;
                border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
                margin-bottom: 10px !important;
            }

            /* Vencimento */
            td:nth-child(2) {
                font-size: 0.85rem !important;
                color: rgba(255, 255, 255, 0.5) !important;
            }

            td:nth-child(2)::before {
                content: "Vencimento: ";
            }

            /* Ocultar Mês e Cabeçalhos vazios */
            td:nth-child(3) {
                display: none !important;
            }

            /* Valor */
            td:nth-child(4) {
                font-size: 1.4rem !important;
                font-weight: 800 !important;
                color: #4ade80 !important;
                margin: 12px 0 !important;
            }

            /* Ações */
            td:nth-child(5) {
                margin-top: 15px !important;
                padding-top: 15px !important;
                border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
                display: flex !important;
                gap: 10px !important;
            }

            td:nth-child(5) .btn {
                flex: 1 !important;
                height: 42px !important;
                justify-content: center !important;
                padding: 0 10px !important;
                display: flex !important;
                align-items: center !important;
            }

            .btn-visto {
                width: 100% !important;
                height: 42px !important;
            }

            .modal-grid {
                grid-template-columns: 1fr !important;
            }

            .item-row-grid {
                grid-template-columns: 1fr 75px 32px !important;
                gap: 5px !important;
                width: 100% !important;
            }

            .item-row-grid input {
                min-width: 0 !important;
                /* Permite encolher além do padrão */
                padding: 8px 6px !important;
                /* Padding menor para sobrar espaço pro texto */
            }

            /* Reduz padding do container de itens para ganhar largura */
            #itemsContainer {
                width: 100% !important;
            }

            .modal-body>form>div[style*="background: rgba(255,255,255,0.03)"] {
                padding: 10px !important;
                /* Reduzindo de 15px para 10px */
            }
        }

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

            to {
                transform: rotate(360deg);
            }
        }
    