/* ============================================================
   FFACILITES Admin - Futuristic Polish (v3)
   Carregado por ULTIMO. Sobrescreve admin.css/admin-bonito.css/admin-pro.css
   pra dar um visual mais cyberpunk + animacoes melhores.
   ============================================================ */

:root {
    --fut-primary: #d4a017;
    --fut-primary-light: #f5c518;
    --fut-cyan: #06b6d4;
    --fut-purple: #a855f7;
    --fut-pink: #ec4899;
    --fut-glow: rgba(245, 197, 24, 0.5);
    --fut-glow-soft: rgba(245, 197, 24, 0.18);
}

/* ============ PAGE BACKGROUND - aurora movel ============ */
body {
    position: relative;
}
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 800px 600px at 100% 0%, rgba(245, 197, 24, 0.08), transparent 60%),
        radial-gradient(ellipse 700px 500px at 0% 100%, rgba(168, 85, 247, 0.06), transparent 60%),
        radial-gradient(ellipse 500px 400px at 50% 50%, rgba(6, 182, 212, 0.04), transparent 60%);
    pointer-events: none;
    z-index: 0;
    animation: aurora-drift 24s ease-in-out infinite alternate;
}
@keyframes aurora-drift {
    0%   { transform: translate(0, 0) scale(1); opacity: 0.85; }
    100% { transform: translate(-30px, -20px) scale(1.05); opacity: 1; }
}

/* ============ SIDEBAR refinada ============ */
.sidebar {
    backdrop-filter: blur(16px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(140%) !important;
    background:
        linear-gradient(180deg, rgba(20, 20, 32, 0.96), rgba(10, 10, 20, 0.92)) !important;
    border-right: 1px solid rgba(245, 197, 24, 0.14) !important;
    box-shadow: 4px 0 32px rgba(0, 0, 0, 0.4);
    position: relative;
}
.sidebar::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(245, 197, 24, 0.4) 30%,
        rgba(168, 85, 247, 0.3) 70%,
        transparent 100%);
    opacity: 0.6;
}

.logo-area {
    background: linear-gradient(135deg, rgba(245, 197, 24, 0.06), transparent 70%);
    border-bottom: 1px solid rgba(245, 197, 24, 0.1) !important;
    position: relative;
    overflow: hidden;
}
.logo-area::before {
    content: '';
    position: absolute;
    top: -50%; left: -10%;
    width: 60%; height: 200%;
    background: linear-gradient(45deg, transparent, rgba(245, 197, 24, 0.08), transparent);
    transform: rotate(25deg);
    animation: logo-shine 5s ease-in-out infinite;
    pointer-events: none;
}
@keyframes logo-shine {
    0%, 100% { transform: rotate(25deg) translateX(-100%); }
    50%      { transform: rotate(25deg) translateX(200%); }
}

/* Botoes de navegacao com efeito holographic */
.btn-nav {
    position: relative;
    overflow: hidden;
    border-radius: 8px !important;
    margin: 2px 6px !important;
    padding: 9px 12px !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.btn-nav::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(245, 197, 24, 0.06) 50%,
        transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    pointer-events: none;
}
.btn-nav:hover::before { transform: translateX(100%); }
.btn-nav:hover {
    color: var(--fut-primary-light) !important;
    background: rgba(245, 197, 24, 0.05) !important;
    transform: translateX(2px);
}
.btn-nav.active {
    background:
        linear-gradient(90deg,
            rgba(245, 197, 24, 0.22) 0%,
            rgba(245, 197, 24, 0.08) 50%,
            transparent 100%) !important;
    color: var(--fut-primary-light) !important;
    box-shadow:
        inset 4px 0 0 var(--fut-primary-light),
        0 0 16px rgba(245, 197, 24, 0.15);
}

/* ============ STAT CARDS - cyberpunk panels ============ */
.stat-card {
    position: relative;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.005)),
        rgba(15, 15, 28, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 14px !important;
    padding: 18px !important;
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: all 0.32s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 50px; height: 50px;
    background: radial-gradient(circle at 0 0, var(--fut-glow-soft), transparent 70%);
    pointer-events: none;
}
.stat-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--fut-primary-light), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.stat-card:hover::after { opacity: 1; }
.stat-card:hover {
    transform: translateY(-4px) scale(1.01);
    border-color: rgba(245, 197, 24, 0.3) !important;
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.55),
        0 0 60px rgba(245, 197, 24, 0.08),
        0 0 0 1px rgba(245, 197, 24, 0.18);
}

/* Cores especificas dos stat cards */
.stat-card.verde::before    { background: radial-gradient(circle at 0 0, rgba(16,185,129,0.18), transparent 70%); }
.stat-card.verde::after     { background: linear-gradient(90deg, transparent, #10b981, transparent); }
.stat-card.vermelho::before { background: radial-gradient(circle at 0 0, rgba(239,68,68,0.18), transparent 70%); }
.stat-card.vermelho::after  { background: linear-gradient(90deg, transparent, #ef4444, transparent); }
.stat-card.roxo::before     { background: radial-gradient(circle at 0 0, rgba(168,85,247,0.18), transparent 70%); }
.stat-card.roxo::after      { background: linear-gradient(90deg, transparent, #a855f7, transparent); }
.stat-card.amarelo::before  { background: radial-gradient(circle at 0 0, rgba(245,197,24,0.20), transparent 70%); }
.stat-card.amarelo::after   { background: linear-gradient(90deg, transparent, #f5c518, transparent); }
.stat-card.azul::before     { background: radial-gradient(circle at 0 0, rgba(59,130,246,0.18), transparent 70%); }
.stat-card.azul::after      { background: linear-gradient(90deg, transparent, #3b82f6, transparent); }

.stat-card-icon {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    transition: all 0.3s !important;
}
.stat-card:hover .stat-card-icon {
    transform: scale(1.1) rotate(-6deg);
    border-color: var(--fut-primary-light) !important;
    box-shadow: 0 0 16px rgba(245, 197, 24, 0.4);
}
.stat-card-icon img {
    width: 18px !important;
    height: 18px !important;
    filter: invert(0.85);
    opacity: 0.85;
    transition: all 0.3s;
}
.stat-card:hover .stat-card-icon img {
    filter: invert(72%) sepia(73%) saturate(450%) hue-rotate(2deg) brightness(102%);
    opacity: 1;
}
.stat-card-value {
    font-size: 26px !important;
    font-weight: 900 !important;
    background: linear-gradient(135deg, #fff, #c8c8d6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px !important;
    line-height: 1.1 !important;
}
.stat-card.amarelo .stat-card-value {
    background: linear-gradient(135deg, var(--fut-primary-light), var(--fut-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-card.verde .stat-card-value {
    background: linear-gradient(135deg, #10b981, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-card.vermelho .stat-card-value {
    background: linear-gradient(135deg, #ef4444, #f87171);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-card.roxo .stat-card-value {
    background: linear-gradient(135deg, #a855f7, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-card.azul .stat-card-value {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ============ BLOCOS COM borda-glow ============ */
.bloco {
    position: relative;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0.005)),
        rgba(15, 15, 28, 0.72) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 14px !important;
    backdrop-filter: blur(10px);
    transition: border-color 0.3s, box-shadow 0.3s;
}
.bloco:hover {
    border-color: rgba(245, 197, 24, 0.2) !important;
    box-shadow: 0 0 32px rgba(245, 197, 24, 0.05);
}
.bloco-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 12px !important;
    margin-bottom: 14px !important;
}
.bloco-titulo {
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    color: var(--fut-primary-light) !important;
    font-weight: 800 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}
.bloco-titulo::before {
    content: '';
    width: 4px; height: 14px;
    background: linear-gradient(180deg, var(--fut-primary-light), var(--fut-primary));
    border-radius: 2px;
    box-shadow: 0 0 8px var(--fut-glow);
}

/* ============ BOTOES PREMIUM ============ */
.btn-primary, .btn-success, .btn-danger {
    border-radius: 10px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
}
.btn-primary {
    background: linear-gradient(135deg, var(--fut-primary), var(--fut-primary-light)) !important;
    color: #000 !important;
    box-shadow:
        0 4px 12px rgba(245, 197, 24, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow:
        0 8px 24px rgba(245, 197, 24, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    filter: brightness(1.05);
}
.btn-success {
    background: linear-gradient(135deg, #059669, #10b981) !important;
    color: #fff !important;
    box-shadow:
        0 4px 12px rgba(16, 185, 129, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-success:hover {
    transform: translateY(-2px) !important;
    box-shadow:
        0 8px 24px rgba(16, 185, 129, 0.45);
    filter: brightness(1.08);
}
.btn-danger {
    background: linear-gradient(135deg, #dc2626, #ef4444) !important;
    color: #fff !important;
    box-shadow:
        0 4px 12px rgba(239, 68, 68, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-danger:hover {
    transform: translateY(-2px) !important;
    box-shadow:
        0 8px 24px rgba(239, 68, 68, 0.45);
    filter: brightness(1.08);
}

/* ============ TABELAS holograficas ============ */
.tabela-admin {
    border-collapse: separate !important;
    border-spacing: 0 !important;
}
.tabela-admin thead th {
    background: linear-gradient(180deg, rgba(245, 197, 24, 0.08), rgba(245, 197, 24, 0.02)) !important;
    border-bottom: 1px solid rgba(245, 197, 24, 0.18) !important;
    font-size: 10.5px !important;
    text-transform: uppercase !important;
    letter-spacing: 1.4px !important;
    font-weight: 800 !important;
    color: var(--fut-primary-light) !important;
    padding: 14px 12px !important;
}
.tabela-admin tbody tr {
    transition: background 0.18s, transform 0.18s !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.tabela-admin tbody tr:hover {
    background: linear-gradient(90deg, rgba(245, 197, 24, 0.06) 0%, transparent 80%) !important;
}
.tabela-admin tbody td {
    padding: 12px !important;
}

/* Status badges com glow */
.badge {
    border-radius: 999px !important;
    padding: 3px 10px !important;
    font-size: 10.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.6px !important;
    text-transform: uppercase !important;
}
.badge-ativo {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(16, 185, 129, 0.08)) !important;
    color: #34d399 !important;
    border: 1px solid rgba(16, 185, 129, 0.4) !important;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.2);
}
.badge-expirado {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.18), rgba(239, 68, 68, 0.08)) !important;
    color: #f87171 !important;
    border: 1px solid rgba(239, 68, 68, 0.4) !important;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.2);
}
.badge-pendente {
    background: linear-gradient(135deg, rgba(245, 197, 24, 0.2), rgba(245, 197, 24, 0.08)) !important;
    color: var(--fut-primary-light) !important;
    border: 1px solid rgba(245, 197, 24, 0.4) !important;
    box-shadow: 0 0 12px rgba(245, 197, 24, 0.2);
}
.badge-trial {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(99, 102, 241, 0.08)) !important;
    color: #a5b4fc !important;
    border: 1px solid rgba(99, 102, 241, 0.4) !important;
}

/* Inputs futuristas */
input[type="text"], input[type="email"], input[type="password"],
input[type="number"], input[type="date"], select, textarea {
    background: rgba(15, 15, 28, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 8px !important;
    padding: 10px 12px !important;
    color: #fff !important;
    transition: all 0.22s !important;
    font-size: 13px !important;
}
input:focus, select:focus, textarea:focus {
    border-color: var(--fut-primary-light) !important;
    box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.15) !important;
    background: rgba(15, 15, 28, 0.85) !important;
    outline: none !important;
}

/* ============ ANIMAÇÕES de aparição ============ */
@keyframes fade-up {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
.aba-content { animation: fade-up 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.stat-card { animation: fade-up 0.5s cubic-bezier(0.4, 0, 0.2, 1) backwards; }
.stat-card:nth-child(1) { animation-delay: 0.05s; }
.stat-card:nth-child(2) { animation-delay: 0.10s; }
.stat-card:nth-child(3) { animation-delay: 0.15s; }
.stat-card:nth-child(4) { animation-delay: 0.20s; }
.stat-card:nth-child(5) { animation-delay: 0.25s; }
.stat-card:nth-child(6) { animation-delay: 0.30s; }
.stat-card:nth-child(7) { animation-delay: 0.35s; }
.stat-card:nth-child(8) { animation-delay: 0.40s; }
.stat-card:nth-child(9) { animation-delay: 0.45s; }
.stat-card:nth-child(10) { animation-delay: 0.50s; }
.stat-card:nth-child(11) { animation-delay: 0.55s; }
.stat-card:nth-child(12) { animation-delay: 0.60s; }

@media (prefers-reduced-motion: reduce) {
    .aba-content, .stat-card { animation: none !important; }
    body::after { animation: none !important; }
    .logo-area::before { animation: none !important; }
}

/* ============ TIMELINE com pulse ============ */
.timeline-item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.timeline-item:last-child { border-bottom: none; }

/* ============ PAGE HEADER aprimorado ============ */
.page-header { margin-bottom: 24px !important; }
.page-title {
    font-size: 26px !important;
    font-weight: 900 !important;
    background: linear-gradient(135deg, #fff 30%, var(--fut-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
    line-height: 1.1;
}
.page-sub {
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.55) !important;
    margin-top: 4px;
}

/* ============ MODAL futurista ============ */
.modal-overlay {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.modal {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
        linear-gradient(180deg, #14141f, #0a0a14) !important;
    border: 1px solid rgba(245, 197, 24, 0.2) !important;
    border-radius: 18px !important;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.7),
        0 0 80px rgba(245, 197, 24, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    position: relative;
    overflow: hidden;
}
.modal::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--fut-primary-light) 30%,
        var(--fut-purple) 70%,
        transparent 100%);
}
.modal-titulo {
    background: linear-gradient(135deg, #fff, var(--fut-primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 22px !important;
    letter-spacing: -0.3px;
}
.modal-titulo::before {
    content: '';
    display: inline-block;
    width: 4px; height: 22px;
    background: var(--fut-primary-light);
    border-radius: 2px;
    margin-right: 10px;
    vertical-align: middle;
    box-shadow: 0 0 8px var(--fut-glow);
    -webkit-text-fill-color: var(--fut-primary-light);
}

/* ============ TOAST melhorado ============ */
.toast {
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-radius: 12px !important;
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(245, 197, 24, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

/* ============ TOPBAR mobile com glow ============ */
.admin-topbar {
    background:
        linear-gradient(135deg, rgba(245, 197, 24, 0.05), transparent 70%),
        linear-gradient(180deg, rgba(20, 20, 32, 0.96), rgba(10, 10, 20, 0.92)) !important;
    border-bottom: 1px solid rgba(245, 197, 24, 0.18) !important;
}
.admin-topbar .topbar-title {
    background: linear-gradient(135deg, var(--fut-primary-light), var(--fut-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ============ Search bar futurista ============ */
.search-bar {
    background: rgba(15, 15, 28, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 10px !important;
    padding: 4px !important;
    transition: all 0.22s !important;
}
.search-bar:focus-within {
    border-color: var(--fut-primary-light) !important;
    box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.12) !important;
}

/* ============ Sidebar Footer com style ============ */
.sidebar-footer {
    border-top: 1px solid rgba(245, 197, 24, 0.12) !important;
    background: linear-gradient(180deg, transparent, rgba(245, 197, 24, 0.02));
}
.btn-site, .btn-logout {
    border-radius: 10px !important;
    transition: all 0.22s !important;
    font-weight: 700 !important;
}
.btn-site {
    background:
        linear-gradient(135deg, rgba(16, 185, 129, 0.16), rgba(16, 185, 129, 0.04)) !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
    color: #34d399 !important;
}
.btn-site:hover {
    background:
        linear-gradient(135deg, #059669, #10b981) !important;
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
    transform: translateY(-1px);
}
.btn-logout {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.6) !important;
}
.btn-logout:hover {
    background: rgba(239, 68, 68, 0.12) !important;
    border-color: rgba(239, 68, 68, 0.4) !important;
    color: #f87171 !important;
}

/* ============ NAV BADGES com pulse vermelho ============ */
.nav-badge {
    background: linear-gradient(135deg, #ef4444, #f87171) !important;
    border: 1px solid rgba(239, 68, 68, 0.4) !important;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.4) !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    padding: 2px 7px !important;
    border-radius: 999px !important;
    animation: badge-pulse 2s ease-in-out infinite;
}
.nav-badge.vermelho {
    animation: badge-pulse-fast 1.4s ease-in-out infinite !important;
}
@keyframes badge-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 12px rgba(239,68,68,0.4); }
    50%      { transform: scale(1.08); box-shadow: 0 0 20px rgba(239,68,68,0.6); }
}
@keyframes badge-pulse-fast {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.12); }
}

/* ============ BADGE ONLINE com dot pulsante ============ */
.online-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(16, 185, 129, 0.08));
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    color: #34d399;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}
.online-dot {
    width: 6px; height: 6px;
    background: #10b981;
    border-radius: 50%;
    animation: online-pulse 1.4s ease-in-out infinite;
    box-shadow: 0 0 6px #10b981;
}
@keyframes online-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(1.3); }
}

/* ============ SCROLL PREMIUM ============ */
.aba-content::-webkit-scrollbar,
body::-webkit-scrollbar { width: 10px; height: 10px; }
.aba-content::-webkit-scrollbar-track,
body::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.2); }
.aba-content::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(245, 197, 24, 0.3), rgba(245, 197, 24, 0.15));
    border-radius: 5px;
    border: 1px solid rgba(245, 197, 24, 0.1);
}
.aba-content::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(245, 197, 24, 0.5), rgba(245, 197, 24, 0.25));
}


/* ============================================================
   QUICK TOOLBAR - barra de acoes superior
   ============================================================ */
.quick-toolbar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    margin-bottom: 22px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.005)),
        rgba(15, 15, 28, 0.78);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(245, 197, 24, 0.18);
    border-radius: 14px;
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(245, 197, 24, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    position: relative;
    overflow: hidden;
    animation: fade-up 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.quick-toolbar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--fut-primary-light), transparent);
}
.qt-search {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 10px 14px;
    transition: all 0.22s;
}
.qt-search:focus-within {
    border-color: var(--fut-primary-light);
    box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.15);
    background: rgba(0, 0, 0, 0.55);
}
.qt-search img {
    width: 16px; height: 16px;
    filter: invert(0.55);
    opacity: 0.75;
    flex-shrink: 0;
}
.qt-search:focus-within img {
    filter: invert(72%) sepia(73%) saturate(450%) hue-rotate(2deg) brightness(102%);
    opacity: 1;
}
.qt-search input {
    flex: 1;
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    font-size: 13.5px !important;
    padding: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    font-weight: 500;
}
.qt-search input::placeholder { color: rgba(255, 255, 255, 0.35); }
.qt-kbd {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    padding: 3px 7px;
    font-family: ui-monospace, monospace;
    font-weight: 700;
    letter-spacing: 0.4px;
    flex-shrink: 0;
}

.qt-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.qt-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.qt-btn img {
    width: 14px; height: 14px;
    filter: invert(0.65);
    transition: filter 0.22s;
}
.qt-btn:hover {
    background: rgba(245, 197, 24, 0.1);
    border-color: rgba(245, 197, 24, 0.4);
    color: var(--fut-primary-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(245, 197, 24, 0.18);
}
.qt-btn:hover img {
    filter: invert(72%) sepia(73%) saturate(450%) hue-rotate(2deg) brightness(102%);
}
.qt-btn.qt-danger:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.4);
    color: #f87171;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.18);
}
.qt-btn.qt-danger:hover img {
    filter: invert(45%) sepia(85%) saturate(700%) hue-rotate(330deg) brightness(108%);
}

@media (max-width: 880px) {
    .quick-toolbar { flex-direction: column; align-items: stretch; padding: 12px; gap: 10px; }
    .qt-search { width: 100%; }
    .qt-actions { justify-content: flex-start; }
    .qt-btn span { display: none; }
    .qt-btn { padding: 9px 12px; }
    .qt-kbd { display: none; }
}

/* ============ BUSCA GLOBAL RESULTS ============ */
.busca-global-results {
    position: relative;
    margin: -16px 0 22px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.005)),
        rgba(15, 15, 28, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(245, 197, 24, 0.25);
    border-radius: 12px;
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(245, 197, 24, 0.06);
    overflow: hidden;
    max-height: 60vh;
    overflow-y: auto;
    animation: fade-up 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.busca-global-results.hidden { display: none; }
.busca-titulo {
    padding: 10px 16px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 800;
    color: var(--fut-primary-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(245, 197, 24, 0.04);
}
.busca-vazia {
    padding: 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}
.busca-lista { display: flex; flex-direction: column; }
.busca-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    cursor: pointer;
    transition: all 0.18s;
    gap: 10px;
}
.busca-item:last-child { border-bottom: none; }
.busca-item:hover {
    background: linear-gradient(90deg, rgba(245, 197, 24, 0.1), transparent 70%);
    transform: translateX(3px);
}
.busca-item-nome { font-weight: 700; font-size: 13.5px; color: #fff; }
.busca-item-email { font-size: 11.5px; color: rgba(255, 255, 255, 0.55); margin-top: 2px; }
.busca-item-right {
    display: flex; align-items: center; gap: 8px;
    flex-shrink: 0;
}
.busca-item-plano {
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.04);
    padding: 3px 8px;
    border-radius: 6px;
}

/* ============ MODAL MASSA ============ */
.modal-massa { max-width: 560px !important; }
.modal-massa .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
@media (max-width: 600px) {
    .modal-massa .form-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   SIDEBAR FIXA (nao rola com a pagina)
   ============================================================ */
body {
    /* Reserva espaco a esquerda pra sidebar fixa */
    padding-left: 240px;
}
.sidebar {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 240px !important;
    height: 100vh !important;
    z-index: 1000;
    overflow-y: auto !important;
}
.content {
    flex: 1;
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
}

/* Mobile: sidebar volta a virar drawer (controlado pelo hamburger) */
@media (max-width: 900px) {
    body { padding-left: 0; }
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 8px 0 32px rgba(0, 0, 0, 0.6);
    }
    .sidebar.is-open { transform: translateX(0); }
}

/* Quick toolbar tambem vira "sticky" no topo do content */
.quick-toolbar {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Body scrollbar custom */
body::-webkit-scrollbar { width: 10px; }
body::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.3); }
body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(245, 197, 24, 0.3), rgba(245, 197, 24, 0.12));
    border-radius: 5px;
    border: 1px solid rgba(245, 197, 24, 0.08);
}
body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(245, 197, 24, 0.5), rgba(245, 197, 24, 0.25));
}

/* ============================================================
   POLISH visual extra do admin
   ============================================================ */
/* Logo area com brilho */
.logo-area img {
    filter: drop-shadow(0 0 12px rgba(245, 197, 24, 0.3));
    transition: filter 0.3s, transform 0.3s;
}
.logo-area:hover img {
    filter: drop-shadow(0 0 20px rgba(245, 197, 24, 0.5));
    transform: scale(1.04);
}

/* Menu sections com header destacado */
.menu-section-title {
    font-size: 10px !important;
    text-transform: uppercase !important;
    letter-spacing: 1.4px !important;
    color: rgba(245, 197, 24, 0.7) !important;
    padding: 14px 16px 6px !important;
    font-weight: 800 !important;
    display: flex;
    align-items: center;
    gap: 6px;
}
.menu-section-title .menu-icon {
    width: 12px; height: 12px;
    filter: invert(72%) sepia(73%) saturate(450%) hue-rotate(2deg) brightness(102%);
    opacity: 0.85;
}

/* Botoes nav com indicador ativo */
.btn-nav {
    border-radius: 8px !important;
    margin: 2px 8px !important;
    padding: 9px 12px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-align: left;
    width: calc(100% - 16px);
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.btn-nav:hover {
    color: #f5c518 !important;
    background: rgba(245, 197, 24, 0.06) !important;
    transform: translateX(2px);
}
.btn-nav.active {
    background: linear-gradient(90deg, rgba(245, 197, 24, 0.2), rgba(245, 197, 24, 0.05) 60%, transparent) !important;
    color: #f5c518 !important;
    box-shadow:
        inset 4px 0 0 #f5c518,
        0 0 16px rgba(245, 197, 24, 0.1) !important;
}

/* Page header com mais respiro */
.page-header,
.page-header-row {
    padding: 8px 0 6px !important;
    margin-bottom: 24px !important;
    position: relative;
}
.page-header::after,
.page-header-row::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        rgba(245, 197, 24, 0.5),
        rgba(245, 197, 24, 0.1) 50%,
        transparent 100%);
}

/* Page title com gradiente */
.page-title {
    font-size: 28px !important;
    font-weight: 900 !important;
    background: linear-gradient(135deg, #fff 30%, #f5c518 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.6px;
    line-height: 1.1;
}

/* Stat cards: um pouco maior + transicao suave */
.stat-card {
    transform-origin: center bottom;
}
.stat-card:hover {
    transform: translateY(-6px) scale(1.02);
}

/* Modais com backdrop estendido */
.modal-overlay {
    background: rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

/* Modais pequenos centralizados */
.modal {
    margin: 5vh auto !important;
}

/* Tabelas: scroll horizontal automatico */
.bloco {
    overflow-x: auto;
}

/* Inputs uniformes */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
select,
textarea {
    font-family: 'Inter', system-ui, sans-serif !important;
    font-size: 13px !important;
}

/* Hover dos rows da tabela mais visivel */
.tabela-admin tbody tr:hover {
    background: linear-gradient(90deg, rgba(245, 197, 24, 0.08), transparent 80%) !important;
}

/* Badges menores e mais elegantes */
.badge {
    font-size: 10px !important;
    padding: 2.5px 9px !important;
    letter-spacing: 0.7px !important;
}

/* Card content padding consistente */
.bloco {
    padding: 18px !important;
}
.bloco-header {
    margin: -2px -2px 14px -2px;
}



/* ============================================================
   ADMIN ULTRA FUTURISTIC UPGRADE v2.0
   Efeitos premium para painel administrativo
   ============================================================ */

/* Stat cards com efeito de data visualization */
.stat-card {
    position: relative;
}
.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--fut-primary-light) 50%,
        transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
}
.stat-card:hover::after {
    opacity: 1;
    animation: stat-pulse 1.5s ease-in-out infinite;
}
@keyframes stat-pulse {
    0%, 100% { opacity: 0.5; transform: scaleX(0.8); }
    50% { opacity: 1; transform: scaleX(1); }
}

/* Chart bars com animação de crescimento */
.chart-bars {
    position: relative;
}
.chart-bar {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: bottom;
    animation: chart-grow 0.8s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}
.chart-bar:nth-child(1) { animation-delay: 0.1s; }
.chart-bar:nth-child(2) { animation-delay: 0.2s; }
.chart-bar:nth-child(3) { animation-delay: 0.3s; }
.chart-bar:nth-child(4) { animation-delay: 0.4s; }
@keyframes chart-grow {
    from { transform: scaleY(0); opacity: 0; }
    to { transform: scaleY(1); opacity: 1; }
}

/* Tabela com hover row smooth */
.tabela-admin tbody tr {
    position: relative;
}
.tabela-admin tbody tr::before {
    content: '';
    position: absolute;
    left: 0; top: 0;
    width: 4px; height: 100%;
    background: linear-gradient(180deg, var(--fut-primary-light), var(--fut-orange));
    opacity: 0;
    transition: opacity 0.25s;
    box-shadow: 0 0 15px var(--fut-glow);
}
.tabela-admin tbody tr:hover::before {
    opacity: 1;
}

/* Badge com shimmer effect */
.badge-ativo, .badge-expirado, .badge-pendente, .badge-trial {
    position: relative;
    overflow: hidden;
}
.badge-ativo::before, .badge-expirado::before, .badge-pendente::before, .badge-trial::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: badge-shimmer 3s ease-in-out infinite;
}
@keyframes badge-shimmer {
    0%, 100% { left: -100%; }
    50% { left: 150%; }
}

/* Botões com efeito de loading */
.btn-primary, .btn-success, .btn-danger {
    position: relative;
    overflow: hidden;
}
.btn-primary::after, .btn-success::after, .btn-danger::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}
.btn-primary:active::after, .btn-success:active::after, .btn-danger:active::after {
    width: 300px; height: 300px;
}

/* Quick toolbar com glass effect avançado */
.quick-toolbar {
    position: relative;
}
.quick-toolbar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(245, 197, 24, 0.08), transparent 50%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
    border-radius: 14px;
}
.quick-toolbar:hover::after {
    opacity: 1;
}

/* Search input com focus glow */
.qt-search input:focus {
    text-shadow: 0 0 20px rgba(245, 197, 24, 0.3);
}

/* Busca global results com staggered animation */
.busca-item {
    animation: busca-fade-in 0.3s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}
.busca-item:nth-child(1) { animation-delay: 0.05s; }
.busca-item:nth-child(2) { animation-delay: 0.10s; }
.busca-item:nth-child(3) { animation-delay: 0.15s; }
.busca-item:nth-child(4) { animation-delay: 0.20s; }
.busca-item:nth-child(5) { animation-delay: 0.25s; }
@keyframes busca-fade-in {
    from { opacity: 0; transform: translateX(-15px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Modal com backdrop blur intenso */
.modal-overlay {
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    animation: modal-fade-in 0.3s ease-out;
}
@keyframes modal-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
.modal {
    animation: modal-slide-up 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes modal-slide-up {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Timeline com connecting line animada */
.timeline {
    position: relative;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 12px; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(180deg,
        var(--fut-primary-light) 0%,
        var(--fut-cyan) 50%,
        var(--fut-purple) 100%);
    opacity: 0.3;
    animation: timeline-glow 4s ease-in-out infinite;
}
@keyframes timeline-glow {
    0%, 100% { opacity: 0.2; box-shadow: 0 0 10px rgba(245, 197, 24, 0.3); }
    50% { opacity: 0.5; box-shadow: 0 0 20px rgba(245, 197, 24, 0.6); }
}

/* Page header com typing effect simulation */
.page-title {
    position: relative;
    display: inline-block;
}
.page-title::after {
    content: '';
    position: absolute;
    right: -8px; top: 0; bottom: 0;
    width: 2px;
    background: var(--fut-primary-light);
    animation: cursor-blink 1s step-end infinite;
    opacity: 0.7;
}
@keyframes cursor-blink {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 0; }
}

/* Bloco header com line animation */
.bloco-header {
    position: relative;
}
.bloco-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: linear-gradient(90deg, var(--fut-primary-light), var(--fut-orange));
    transition: width 0.4s ease;
    box-shadow: 0 0 15px var(--fut-glow);
}
.bloco:hover .bloco-header::after {
    width: 100%;
}

/* Sidebar menu sections com accordion effect */
.menu-section {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.menu-section:hover {
    transform: translateX(2px);
}
.menu-section-title {
    position: relative;
    padding-left: 32px;
}
.menu-section-title::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 24px; height: 2px;
    background: linear-gradient(90deg, var(--fut-primary-light), transparent);
    box-shadow: 0 0 10px var(--fut-glow);
}

/* Logo area com holographic effect */
.logo-area img {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.logo-area:hover img {
    transform: scale(1.05) translateY(-2px);
    filter: drop-shadow(0 0 20px rgba(245, 197, 24, 0.5));
}

/* Nav badge com bounce */
.nav-badge {
    animation: badge-bounce 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes badge-bounce {
    0%, 100% { transform: scale(1) translateY(0); }
    50% { transform: scale(1.08) translateY(-2px); }
}

/* Online badge dot com ripple */
.online-dot {
    position: relative;
}
.online-dot::before, .online-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #10b981;
    opacity: 0;
}
.online-dot::before {
    animation: online-ripple 1.5s ease-out infinite;
}
.online-dot::after {
    animation: online-ripple 1.5s ease-out 0.5s infinite;
}
@keyframes online-ripple {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(2); opacity: 0; }
}

/* Form inputs com animated label */
.form-campo {
    position: relative;
}
.form-campo label {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.form-campo input:focus + label,
.form-campo input:not(:placeholder-shown) + label {
    color: var(--fut-primary-light);
    transform: translateY(-2px);
}

/* Toast com slide in from right */
.toast {
    animation: toast-slide-in 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes toast-slide-in {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Sidebar footer buttons com hover lift */
.btn-site, .btn-logout {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-site:hover, .btn-logout:hover {
    transform: translateY(-2px);
}
.btn-site::before, .btn-logout::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 10px;
}
.btn-site:hover::before, .btn-logout:hover::before {
    opacity: 1;
}

/* Stats grid com responsive glow */
.stats-grid {
    position: relative;
}
.stats-grid::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle at 50% 50%, rgba(245, 197, 24, 0.05), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    border-radius: 20px;
}
.stats-grid:hover::before {
    opacity: 1;
}

/* Admin topbar com sticky glow */
.admin-topbar {
    transition: all 0.3s ease;
}
.admin-topbar.scrolled {
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(245, 197, 24, 0.15);
}

/* Search bar com typing indicator */
.search-bar input:focus ~ .search-indicator {
    animation: typing-indicator 1.5s ease-in-out infinite;
}
@keyframes typing-indicator {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Card de conta com favorite star */
.conta-card {
    position: relative;
}
.conta-card .btn-favorite {
    position: absolute;
    top: 12px; right: 12px;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s;
}
.conta-card .btn-favorite:hover {
    background: rgba(245, 197, 24, 0.15);
    border-color: rgba(245, 197, 24, 0.4);
    transform: scale(1.1) rotate(15deg);
}
.conta-card .btn-favorite.active {
    background: linear-gradient(135deg, var(--fut-primary-light), var(--fut-orange));
    border-color: var(--fut-primary-light);
    box-shadow: 0 0 20px rgba(245, 197, 24, 0.6);
}

/* QR Code viewer com zoom effect */
.qr-preview {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: zoom-in;
}
.qr-preview:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* Planos ativos com progress ring */
.plano-tempo-restante {
    position: relative;
    width: 60px; height: 60px;
}
.plano-tempo-restante::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.08);
}
.plano-tempo-restante::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--fut-primary-light);
    border-right-color: var(--fut-primary-light);
    animation: progress-spin 2s linear infinite;
    box-shadow: 0 0 15px var(--fut-glow);
}
@keyframes progress-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Aba content com parallax subtle */
.aba-content {
    position: relative;
}
.aba-content::before {
    content: '';
    position: absolute;
    top: -50px; left: 50%; transform: translateX(-50%);
    width: 80%; height: 100px;
    background: radial-gradient(ellipse, rgba(245, 197, 24, 0.08), transparent 70%);
    opacity: 0;
    transition: opacity 0.6s;
    pointer-events: none;
}
.aba-content.aba-active::before {
    opacity: 1;
}

/* Hamburguer menu com animated lines */
.admin-hamburger span {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}
.admin-hamburger.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.admin-hamburger.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.admin-hamburger.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Export buttons com download animation */
.btn-export {
    position: relative;
}
.btn-export::after {
    content: '↓';
    position: absolute;
    top: 50%; right: 12px;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s;
}
.btn-export:hover::after {
    opacity: 1;
    animation: download-bounce 0.8s ease-in-out infinite;
}
@keyframes download-bounce {
    0%, 100% { transform: translateY(-50%); }
    50% { transform: translateY(calc(-50% + 3px)); }
}

/* Receita counter com odometer effect */
.stat-card-value {
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.8px;
}

/* Scroll to top button futurista */
.scroll-to-top {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 50px; height: 50px;
    background: linear-gradient(135deg, var(--fut-primary-light), var(--fut-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow:
        0 8px 28px rgba(245, 197, 24, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}
.scroll-to-top.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.scroll-to-top:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow:
        0 12px 36px rgba(245, 197, 24, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.scroll-to-top::before {
    content: '↑';
    font-size: 24px;
    font-weight: 900;
    color: #000;
}

/* Accessibility e performance */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .stat-card, .bloco, .modal, .quick-toolbar {
        border-width: 2px !important;
    }
    .btn-primary, .btn-success, .btn-danger {
        border: 2px solid currentColor !important;
    }
}

/* Print styles */
@media print {
    .sidebar, .quick-toolbar, .btn-primary, .btn-danger, .btn-ghost {
        display: none !important;
    }
    .stat-card, .bloco {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #333 !important;
    }
}
