@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap";:root{--bg:#0a0a0f;--surface:#13131a;--surface2:#1a1a24;--border:#ffffff12;--border2:#ffffff1f;--text:#e4e4f0;--muted:#6b6b80;--accent:#f97316;--accent2:#fb923c;--green:#22c55e;--red:#ef4444;--yellow:#f59e0b;--purple:#a78bfa;--radius:12px;--radius-sm:8px}*{box-sizing:border-box;margin:0;padding:0}html,body{overflow-x:hidden}body{background:var(--bg);color:var(--text);min-height:100vh;font-family:Inter,sans-serif}input,button{font-family:Inter,sans-serif}::-webkit-scrollbar{width:6px}::-webkit-scrollbar-track{background:var(--bg)}::-webkit-scrollbar-thumb{background:var(--border2);border-radius:3px}#lovable-badge,a[href*=lovable\.dev],a[href*=gptengineer],iframe[src*=lovable\.dev],div[style*="Edit with Lovable"],[id*=lovable-badge],[class*=lovable-badge]{opacity:0!important;visibility:hidden!important;pointer-events:none!important;z-index:-9999!important;display:none!important;position:absolute!important}.mobile-only{display:none!important}.sidebar-overlay{display:none}.hamburger-btn{background:var(--surface2);border:1px solid var(--border);width:38px;height:38px;color:var(--text);cursor:pointer;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;padding:0;transition:all .15s;display:inline-flex}.hamburger-btn:hover{background:var(--surface);border-color:var(--border2)}@media (width<=900px){.app-sidebar{padding-bottom:calc(72px + env(safe-area-inset-bottom));transition:transform .25s;overflow-y:auto;transform:translate(-100%);box-shadow:0 10px 40px #00000080;width:264px!important}.app-sidebar.open{transform:translate(0)}.sidebar-overlay{z-index:9;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);opacity:0;pointer-events:none;background:#0000008c;transition:opacity .2s;display:block;position:fixed;inset:0}.sidebar-overlay.open{opacity:1;pointer-events:auto}.app-main{margin-left:0!important}.app-topbar{gap:12px!important;height:52px!important;padding:0 14px!important}.app-content{padding:16px 14px!important}.mobile-only{display:inline-flex!important}.desktop-only{display:none!important}.grid-stats{grid-template-columns:repeat(2,1fr)!important;gap:10px!important;margin-bottom:18px!important}.grid-stats>*{padding:14px!important}.grid-duration{grid-template-columns:repeat(2,1fr)!important}.grid-fields{grid-template-columns:1fr!important}.row-wrap{flex-wrap:wrap!important;gap:12px!important}.row-wrap>*{min-width:0}.row-wrap>button{justify-content:center;width:100%}.page-header{flex-wrap:wrap!important;gap:12px!important}.page-header>button{justify-content:center;width:100%}.page-header h1,.page-header h2{font-size:20px!important;line-height:1.25!important}.page-header p{font-size:12.5px!important}.app-content table,.app-content thead,.app-content tbody,.app-content tr,.app-content td{width:100%!important;display:block!important}.app-content thead{display:none!important}.app-content tbody tr{background:var(--surface2);border:1px solid var(--border);border-radius:10px;margin-bottom:10px;padding:12px 14px;position:relative}.app-content tbody td{word-break:break-word;overflow-wrap:anywhere;white-space:normal!important;border:none!important;padding:0!important;font-size:12px!important}.app-content table.licenses-cards tbody td:first-child{min-height:28px;margin-bottom:10px}.app-content table.licenses-cards tbody td:nth-child(2),.app-content table.licenses-cards tbody td:nth-child(3){margin-bottom:8px;margin-right:6px;width:auto!important;display:inline-block!important}.app-content table.licenses-cards tbody td:nth-child(5){color:var(--muted);margin-top:4px;margin-bottom:12px;font-size:11.5px!important}.app-content table.licenses-cards tbody td:nth-child(5):before{content:"Expira: ";color:var(--muted);font-weight:500}.app-content table.licenses-cards tbody td:nth-child(9){border-top:1px solid var(--border)!important;width:100%!important;padding-top:10px!important}.app-content table.licenses-cards tbody td:nth-child(9)>div{gap:8px;justify-content:stretch!important;display:flex!important}.app-content table.licenses-cards tbody td:nth-child(9)>div>button{flex:1;justify-content:center!important;padding:9px 12px!important;font-size:13px!important}.app-content table.licenses-cards tbody td:nth-child(4),.app-content table.licenses-cards tbody td:nth-child(6){display:none!important}.app-content table.licenses-cards tbody td:nth-child(7){color:var(--text);margin-top:2px;margin-bottom:6px;text-overflow:clip!important;white-space:normal!important;max-width:100%!important;font-size:12.5px!important;overflow:visible!important}.app-content table.licenses-cards tbody td:nth-child(7):before{content:"Cliente: ";color:var(--muted);font-weight:500}.app-content table.licenses-cards tbody td:nth-child(8){margin-bottom:10px}.app-content table.reseller-licenses-cards tbody td:first-child{min-height:28px;margin-bottom:10px}.app-content table.reseller-licenses-cards tbody td:nth-child(2),.app-content table.reseller-licenses-cards tbody td:nth-child(3){vertical-align:middle;margin-bottom:8px;margin-right:8px;width:auto!important;display:inline-block!important}.app-content table.reseller-licenses-cards tbody td:nth-child(4){margin-top:4px;margin-bottom:4px;font-size:12.5px!important}.app-content table.reseller-licenses-cards tbody td:nth-child(4):before{content:"Telefone: ";color:var(--muted);font-weight:500}.app-content table.reseller-licenses-cards tbody td:nth-child(5){color:var(--text);margin-bottom:10px;text-overflow:clip!important;white-space:normal!important;max-width:100%!important;overflow:visible!important}.app-content table.reseller-licenses-cards tbody td:nth-child(5):before{content:"Obs: ";color:var(--muted);font-weight:500}.app-content table.reseller-licenses-cards tbody td:nth-child(6){border-top:1px solid var(--border)!important;width:100%!important;padding-top:10px!important}.app-content table.reseller-licenses-cards tbody td:nth-child(6)>div{gap:6px;flex-wrap:nowrap!important;justify-content:stretch!important;display:flex!important}.app-content table.reseller-licenses-cards tbody td:nth-child(6)>div>button{flex:1;justify-content:center!important;padding:9px 6px!important;font-size:12px!important}.app-content table.reseller-topups-cards tbody td:first-child{color:var(--muted);margin-bottom:4px;font-size:11.5px!important}.app-content table.reseller-topups-cards tbody td:nth-child(2){margin-bottom:8px;font-size:18px!important;font-weight:800!important}.app-content table.reseller-topups-cards tbody td:nth-child(3){margin-right:8px;width:auto!important;display:inline-block!important}.app-content table.reseller-topups-cards tbody td:nth-child(4){color:var(--muted);width:auto!important;font-size:11.5px!important;display:inline-block!important}.app-content table.reseller-topups-cards tbody td:nth-child(4):before{content:"Pago em: ";color:var(--muted);font-weight:500}.app-content table.resellers-cards tbody td:first-child{margin-bottom:2px;font-weight:700;font-size:15px!important}.app-content table.resellers-cards tbody td:nth-child(2){color:var(--muted);margin-bottom:10px;font-size:12px!important}.app-content table.resellers-cards tbody td:nth-child(3){margin-bottom:10px}.app-content table.resellers-cards tbody td:nth-child(4),.app-content table.resellers-cards tbody td:nth-child(5){vertical-align:middle;margin-bottom:8px;margin-right:8px;width:auto!important;display:inline-block!important}.app-content table.resellers-cards tbody td:nth-child(6){color:var(--muted);margin-bottom:10px;font-size:11.5px!important}.app-content table.resellers-cards tbody td:nth-child(6):before{content:"Criado em: ";color:var(--muted);font-weight:500}.app-content table.resellers-cards tbody td:nth-child(7){border-top:1px solid var(--border)!important;width:100%!important;padding-top:10px!important}.app-content table.resellers-cards tbody td:nth-child(7)>div{grid-template-columns:repeat(2,1fr)!important;justify-content:stretch!important;gap:8px!important;display:grid!important}.app-content table.resellers-cards tbody td:nth-child(7)>div>button{justify-content:center!important;width:100%!important;padding:10px 6px!important;font-size:12px!important}.reseller-modal-header{gap:10px!important;padding:12px 14px!important}.reseller-modal-stats span{padding:3px 8px!important;font-size:10.5px!important}.app-content table.reseller-modal-licenses tbody td:first-child{margin-bottom:8px}.app-content table.reseller-modal-licenses tbody td:nth-child(2),.app-content table.reseller-modal-licenses tbody td:nth-child(3){vertical-align:middle;margin-bottom:6px;margin-right:8px;width:auto!important;display:inline-block!important}.app-content table.reseller-modal-licenses tbody td:nth-child(4){color:var(--muted);margin-bottom:4px;font-size:11.5px!important}.app-content table.reseller-modal-licenses tbody td:nth-child(4):before{content:"Criada: ";color:var(--muted);font-weight:500}.app-content table.reseller-modal-licenses tbody td:nth-child(5){font-size:12px!important}.app-content table.reseller-modal-licenses tbody td:nth-child(5):before{content:"Obs: ";color:var(--muted);font-weight:500}.reseller-modal table tbody{display:block!important}.reseller-modal table thead{display:none!important}.reseller-modal table tr{background:var(--surface2);border:1px solid var(--border);border-radius:10px;margin-bottom:10px;padding:12px 14px;display:block!important}.reseller-modal table td{word-break:break-word;white-space:normal!important;border:none!important;padding:0!important;display:block!important}.reseller-modal table td:nth-child(2),.reseller-modal table td:nth-child(3){margin-bottom:6px;margin-right:8px;width:auto!important;display:inline-block!important}.reseller-modal table td:nth-child(4):before{content:"Criada: ";color:var(--muted);font-weight:500}.reseller-modal table td:nth-child(5):before{content:"Obs: ";color:var(--muted);font-weight:500}.billing-modal-header{padding:14px 16px!important}.billing-modal .billing-price-row>div:first-child{flex:0 0 70px!important;font-size:12.5px!important}.billing-modal .billing-price-default{text-align:right;width:100%;margin-top:-4px;min-width:0!important}.billing-modal table.billing-ledger{width:100%!important;display:block!important}.billing-modal table.billing-ledger thead{display:none!important}.billing-modal table.billing-ledger tbody{width:100%!important;display:block!important}.billing-modal table.billing-ledger tr{background:var(--surface2);border:1px solid var(--border);border-radius:10px;margin-bottom:10px;padding:12px 14px;width:100%!important;display:block!important}.billing-modal table.billing-ledger td{word-break:break-word;white-space:normal!important;border:none!important;width:100%!important;padding:0!important;font-size:12px!important;display:block!important}.billing-modal table.billing-ledger td:first-child{color:var(--muted);margin-bottom:6px;font-size:11.5px!important}.billing-modal table.billing-ledger td:nth-child(2),.billing-modal table.billing-ledger td:nth-child(3){vertical-align:middle;margin-bottom:6px;margin-right:10px;width:auto!important;display:inline-block!important}.billing-modal table.billing-ledger td:nth-child(3){font-size:15px!important;font-weight:700!important}.billing-modal table.billing-ledger td:nth-child(4){margin-bottom:4px;font-size:12.5px!important}.billing-modal table.billing-ledger td:nth-child(4):before{content:"Saldo: ";color:var(--muted);font-weight:500}.billing-modal table.billing-ledger td:nth-child(5){color:var(--muted);font-size:12px!important}.billing-modal>div{padding-left:14px!important;padding-right:14px!important}.billing-modal>div:first-child{padding:14px!important}.app-content div[style*=overflow]{overflow-x:visible!important}div[style*="max-width: 780px"],div[style*="max-width: 440px"],div[style*="max-width: 400px"]{max-width:95vw!important}input[type=text],input[type=email],input[type=password],input[type=tel],textarea,select{font-size:16px!important}.app-content{padding-bottom:110px!important}.braza-toast{max-width:none!important;bottom:90px!important;left:12px!important;right:12px!important}.license-search,.license-search input{width:100%!important}.quick-test-card{flex-direction:column!important;align-items:stretch!important;gap:14px!important;padding:16px!important}.quick-test-card>div{width:100%;min-width:0}.quick-test-card>div>div:last-child{flex:1;min-width:0}.quick-test-card>div>div:last-child>div{white-space:normal;word-break:break-word}.quick-test-card>button{justify-content:center!important;width:100%!important;padding:12px!important;font-size:14px!important}}.mobile-bottom-nav{display:none}@media (width<=900px){.mobile-bottom-nav{z-index:50;background:var(--surface);border-top:1px solid var(--border);padding:6px 4px calc(6px + env(safe-area-inset-bottom));display:flex;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -8px 24px #0006}.mbn-item{cursor:pointer;color:var(--muted);-webkit-tap-highlight-color:transparent;background:0 0;border:none;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:3px;padding:6px 4px;font-size:10.5px;font-weight:500;transition:color .15s;display:flex}.mbn-item.active{color:#fb923c;font-weight:600}.mbn-item:disabled{opacity:.7;cursor:wait}.mbn-icon-wrap{border-radius:9px;justify-content:center;align-items:center;width:30px;height:30px;transition:background .15s;display:flex}.mbn-item.active .mbn-icon-wrap{background:#f9731624}.mbn-item.action{color:#fff;margin-top:-18px}.mbn-item.action .mbn-icon-wrap{color:#fff;background:linear-gradient(135deg,#f59e0b,#ef4444);border-radius:50%;width:52px;height:52px;box-shadow:0 6px 18px #f59e0b73}.mbn-item.action .mbn-label{color:var(--text);margin-top:2px;font-weight:600}.mbn-spinner{border:2.5px solid #ffffff4d;border-top-color:#fff;border-radius:50%;width:18px;height:18px;animation:.7s linear infinite mbnSpin}}@keyframes mbnSpin{to{transform:rotate(360deg)}}@media (width<=480px){.grid-stats{grid-template-columns:1fr!important;gap:8px!important}.grid-stats>*{padding:12px 14px!important}.login-card{padding:28px 20px!important}th,td{padding:8px 10px!important;font-size:11px!important}.app-content input,.app-content textarea{font-size:16px!important}.page-header h1,.page-header h2{font-size:18px!important}}
