:root{--bg-primary:#0f172a;--bg-secondary:#1e293b;--bg-tertiary:#334155;--text-primary:#f8fafc;--text-secondary:#cbd5e1;--text-muted:#94a3b8;--accent-primary:#3b82f6;--accent-hover:#2563eb;--success:#10b981;--success-bg:#10b9811a;--warning:#f59e0b;--warning-bg:#f59e0b1a;--danger:#ef4444;--danger-bg:#ef44441a;--border-color:#ffffff1a;--glass-bg:#1e293bd9;--glass-border:#ffffff14;--safe-area-bottom:env(safe-area-inset-bottom,20px)}*{box-sizing:border-box;margin:0;padding:0}body{background-color:var(--bg-primary);color:var(--text-primary);-webkit-font-smoothing:antialiased;overscroll-behavior-y:none;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;line-height:1.5}button{cursor:pointer;background:0 0;border:none;min-height:44px;font-family:inherit;transition:all .2s}button:active{transform:scale(.98)}a{color:inherit;text-decoration:none}input{-webkit-appearance:none;font-family:inherit}.glass-panel{background:var(--glass-bg);-webkit-backdrop-filter:blur(16px);border:1px solid var(--glass-border);border-radius:16px;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes slideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}.animate-fade-in{animation:.4s ease-out forwards fadeIn}.animate-slide-up{animation:.3s cubic-bezier(.16,1,.3,1) forwards slideUp}#root{justify-content:center;width:100%;min-height:100vh;display:flex}.mobile-container{background:var(--bg-primary);flex-direction:column;width:100%;max-width:480px;min-height:100vh;display:flex;position:relative;overflow-x:hidden}.login-container{background:radial-gradient(circle at 100% 0,#1e293b,#0f172a);flex-direction:column;flex:1;justify-content:center;padding:2rem;display:flex}.login-header{text-align:center;margin-bottom:3rem}.brand-logo-container{justify-content:center;width:100%;margin-bottom:1.5rem;display:flex}.brand-logo{object-fit:contain;filter:brightness(0)invert();max-width:180px;max-height:80px}.fallback-icon{background:var(--primary);border-radius:50%;justify-content:center;align-items:center;width:80px;height:80px;display:flex;box-shadow:0 8px 32px #e6007e4d}.login-header h1{color:var(--text-primary);margin-bottom:.5rem;font-size:1.75rem;font-weight:700}.login-header p{color:var(--text-muted);font-size:.95rem;line-height:1.5}.login-form{flex-direction:column;gap:1.5rem;display:flex}.input-group{flex-direction:column;gap:.5rem;display:flex}.input-group label{color:var(--text-secondary);font-size:.875rem;font-weight:500}.input-group input{border:1px solid var(--border-color);color:var(--text-primary);letter-spacing:.05em;background:#ffffff0d;border-radius:12px;padding:1rem;font-size:1.125rem;transition:all .2s}.input-group input:focus{border-color:var(--primary-light);background:#0006;outline:none;box-shadow:0 0 0 4px #e6007e26}.input-group input.error{border-color:var(--danger)}.input-group input.error:focus{box-shadow:0 0 0 4px #ef444426}.secure-footer{color:var(--text-muted);opacity:.8;justify-content:center;align-items:center;gap:.5rem;margin-top:2rem;font-size:.85rem;display:flex}.error-msg{color:var(--danger);margin-top:.25rem;font-size:.875rem}.btn-primary{background:var(--accent-primary);color:#fff;border-radius:12px;margin-top:1rem;padding:1rem;font-size:1rem;font-weight:600}.btn-primary:hover:not(:disabled){background:var(--accent-hover)}.btn-primary:disabled{opacity:.5;cursor:not-allowed}.invoice-card{flex-direction:column;gap:1rem;margin-bottom:1rem;padding:1.25rem;display:flex}.invoice-card.status-paid{border-left:4px solid var(--success)}.invoice-card.status-overdue{border-left:4px solid var(--danger)}.invoice-card.status-pending{border-left:4px solid var(--warning)}.card-header{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.invoice-info h3{color:var(--text-primary);margin-bottom:.25rem;font-size:1rem;font-weight:600}.due-date{color:var(--text-muted);font-size:.875rem}.status-badge{text-transform:uppercase;border-radius:9999px;align-items:center;gap:.375rem;padding:.35rem .75rem;font-size:.75rem;font-weight:600;display:inline-flex}.status-badge.status-paid{background:var(--success-bg);color:var(--success)}.status-badge.status-overdue{background:var(--danger-bg);color:var(--danger)}.status-badge.status-pending{background:var(--warning-bg);color:var(--warning)}.card-body .amount{color:var(--text-primary);font-family:monospace;font-size:1.75rem;font-weight:700}.card-actions{border-top:1px solid var(--glass-border);flex-direction:column;gap:.75rem;margin-top:.5rem;padding-top:1rem;display:flex}.secondary-actions{gap:.75rem;display:flex}.action-btn{color:var(--text-secondary);background:#ffffff0d;border-radius:12px;flex:1;justify-content:center;align-items:center;gap:.5rem;font-size:.875rem;font-weight:500;display:flex}.action-btn:hover{color:var(--text-primary);background:#ffffff1a}.primary-pay-btn{background:var(--accent-primary);color:#fff;border-radius:12px;justify-content:center;align-items:center;gap:.5rem;width:100%;font-size:1rem;font-weight:600;display:flex}.primary-pay-btn:hover{background:var(--accent-hover)}.bottom-sheet-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:100;background:#0009;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.bottom-sheet-content{background:var(--bg-secondary);width:100%;max-width:480px;padding:1.5rem 1.5rem calc(1.5rem + var(--safe-area-bottom));border-radius:24px 24px 0 0;flex-direction:column;gap:1.5rem;display:flex;box-shadow:0 -8px 24px #0003}.sheet-header{justify-content:space-between;align-items:center;display:flex}.sheet-invoice-summary{background:#ffffff0d;border-radius:12px;flex-direction:column;gap:.5rem;margin-bottom:1.5rem;padding:1rem;display:flex}.summary-row{justify-content:space-between;align-items:center;width:100%;display:flex}.summary-row .label{color:var(--text-secondary);font-size:.9rem}.summary-row .value{color:var(--primary-light);font-size:1.5rem;font-weight:700}.summary-row .value-service{color:var(--text-primary);text-align:right;max-width:65%;font-size:.95rem;font-weight:500;line-height:1.3}.sheet-header h3{color:var(--text-primary);font-size:1.25rem;font-weight:600}.close-btn{color:var(--text-muted);margin:-.5rem;padding:.5rem}.method-selection{flex-direction:column;gap:.75rem;display:flex}.method-btn{border:1px solid var(--glass-border);text-align:left;background:#ffffff08;border-radius:12px;align-items:center;gap:1rem;padding:1rem;display:flex}.method-btn:hover{border-color:var(--accent-primary);background:#ffffff14}.method-icon{background:var(--bg-tertiary);color:var(--text-primary);border-radius:10px;padding:.75rem}.method-info h4{color:var(--text-primary);margin-bottom:.25rem;font-size:1rem;font-weight:600}.method-info p{color:var(--text-muted);font-size:.875rem}.method-details{flex-direction:column;gap:1.5rem;display:flex}.back-btn{color:var(--accent-primary);text-align:left;align-self:flex-start;min-height:auto;padding:0;font-size:.875rem;font-weight:600}.pix-flow,.boleto-flow,.card-flow{flex-direction:column;align-items:center;gap:1.5rem;display:flex}.qr-box{background:#fff;border-radius:12px;padding:1rem}.qr-box img{width:200px;height:200px}.copy-box{width:100%}.copy-box label{color:var(--text-muted);margin-bottom:.5rem;font-size:.875rem;display:block}.input-with-btn{border:1px solid var(--glass-border);background:#0003;border-radius:12px;display:flex;overflow:hidden}.input-with-btn input{color:var(--text-primary);background:0 0;border:none;outline:none;flex:1;padding:1rem;font-size:1rem}.input-with-btn button{background:var(--bg-tertiary);color:var(--text-primary);border-left:1px solid var(--glass-border);padding:0 1.25rem}.hint-text{color:var(--text-muted);text-align:center;font-size:.875rem}.mock-card-input{flex-direction:column;gap:.5rem;width:100%;display:flex}.mock-card-input label{color:var(--text-secondary);font-size:.875rem}.mock-card-input input{border:1px solid var(--glass-border);color:#fff;background:#0003;border-radius:12px;padding:1rem;font-size:1rem}.mock-card-row{gap:1rem;width:100%;display:flex}.primary-action-btn{background:var(--accent-primary);color:#fff;border-radius:12px;width:100%;margin-top:1rem;padding:1rem;font-size:1rem;font-weight:600}.dev-simulate-btn{color:var(--text-muted);border:1px dashed var(--glass-border);border-radius:8px;margin-top:1rem;font-size:.75rem}.loading-state{color:var(--text-muted);flex-direction:column;align-items:center;gap:1rem;display:flex}.spinner{animation:1s linear infinite spin}.toast{color:#fff;opacity:0;visibility:hidden;z-index:200;background:#22c55ef2;border-radius:30px;align-items:center;gap:.5rem;padding:.75rem 1.5rem;font-size:.9rem;font-weight:600;transition:all .3s cubic-bezier(.4,0,.2,1);display:flex;position:absolute;top:-60px;left:50%;transform:translate(-50%)translateY(20px);box-shadow:0 8px 16px #22c55e4d}.toast.show{opacity:1;visibility:visible;transform:translate(-50%)translateY(0)}.mobile-dashboard{background:var(--bg-primary);flex-direction:column;flex:1;height:100vh;display:flex;overflow:hidden}.mobile-header{z-index:10;border-top:none;border-radius:0 0 24px 24px;justify-content:space-between;align-items:center;padding:1.5rem 1.25rem;display:flex;position:relative}.user-info{align-items:center;gap:1rem;display:flex}.avatar{background:var(--accent-primary);color:#fff;border-radius:50%;justify-content:center;align-items:center;width:48px;height:48px;display:flex}.user-info h2{color:var(--text-primary);font-size:1.125rem;font-weight:700}.user-info p{color:var(--text-muted);font-size:.875rem}.logout-btn{color:var(--text-muted);padding:.5rem}.logout-btn:hover{color:var(--text-primary)}.mobile-main{padding:1.5rem 1.25rem;padding-bottom:calc(2rem + var(--safe-area-bottom));flex:1;overflow-y:auto}.invoice-list{flex-direction:column;gap:1rem;display:flex}.loading-state,.error-state{height:50vh;color:var(--text-muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;display:flex}.empty-state{background:var(--bg-secondary);text-align:center;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:1rem;margin-top:1rem;padding:3rem 1.5rem;display:flex;box-shadow:0 4px 12px #0000001a}.empty-icon-wrapper{background:#22c55e1a;border-radius:50%;margin-bottom:.5rem;padding:1.5rem}.empty-icon{color:var(--success)}.empty-state h3{color:var(--text-primary);margin:0;font-size:1.25rem;font-weight:600}.empty-state p{color:var(--text-muted);max-width:250px;font-size:.95rem;line-height:1.4}.skeleton-card{pointer-events:none;background:#ffffff05;border-color:#ffffff0d}.skeleton-header{justify-content:space-between;margin-bottom:1.5rem;display:flex}.skeleton-title{background:#ffffff0d;border-radius:4px;width:60%;height:20px;animation:1.5s ease-in-out infinite pulse}.skeleton-badge{background:#ffffff0d;border-radius:12px;width:80px;height:24px;animation:1.5s ease-in-out infinite pulse}.skeleton-body{background:#ffffff0d;border-radius:6px;width:40%;height:32px;margin-bottom:1.5rem;animation:1.5s ease-in-out infinite pulse}.skeleton-actions{background:#ffffff0d;border-radius:12px;width:100%;height:48px;animation:1.5s ease-in-out infinite pulse}@keyframes pulse{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}.dashboard-footer{margin-top:1rem;margin-bottom:2rem}.loading-state p{margin-top:1rem}
