.auth-card{width:min(420px,90vw);background:#121212eb!important;color:#fff!important;padding:2.4rem;border-radius:18px;display:flex;flex-direction:column;gap:1rem;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 20px 50px #000000bf,inset 0 0 0 1px #ffffff0a}.auth-card h1{margin:0;font-size:1.75rem;font-weight:600;color:#fff}.auth-subtitle{margin:0;font-size:.9rem;color:#a1a1aa}label{display:flex;flex-direction:column;gap:.4rem;font-size:.8rem;color:#c7c7cc}input{border-radius:12px;padding:.75rem 1rem;background:#1e1e1ee6;border:1px solid rgba(255,255,255,.08);color:#fff;outline:none;transition:border .2s ease,box-shadow .2s ease}input::placeholder{color:#6b7280}input:focus{border-color:#7dd3fc;box-shadow:0 0 0 2px #7dd3fc40}button{width:100%;padding:.85rem 1.4rem;border-radius:999px;border:none;background:linear-gradient(135deg,#7dd3fc,#38bdf8);color:#020617;font-weight:600;font-size:.95rem;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,opacity .15s ease;box-shadow:0 10px 24px #38bdf859}button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 16px 40px #38bdf873}button:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.mode-switch{display:flex;gap:.8rem;justify-content:center;margin-bottom:1.2rem}.mode-switch button{flex:1;padding:.7rem 1rem;border-radius:12px;border:1px solid rgba(255,255,255,.1);background:#18181be6;color:#c7c7cc;font-weight:500;transition:all .2s ease}.error{color:#fb7185;font-size:.85rem}.success{color:#4ade80;font-size:.85rem}.helper{margin-top:-.4rem;font-size:.75rem;color:#9ca3af}.muted{text-align:center;font-size:.8rem;color:#9ca3af}button{-webkit-appearance:none;font-family:inherit}.chat-page{display:grid;grid-template-columns:260px 1fr;height:100vh;background:#000;color:#fff;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;overflow:hidden}.sidebar{background:#0f0f0f;display:flex;flex-direction:column;height:100%;padding:1.2rem;gap:.8rem;border-right:1px solid rgba(255,255,255,.06)}.sidebar-content{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;gap:.6rem;overflow-y:auto}.history-section{flex:1;min-height:0;overflow-y:auto;padding-right:4px}.sidebar-footer{flex-shrink:0;display:flex;flex-direction:column;gap:.6rem;padding-top:.8rem;border-top:1px solid rgba(255,255,255,.08)}.sidebar-footer button,.sidebar-content button{min-height:44px;width:100%;white-space:nowrap}.sidebar-top{display:flex;flex-direction:column;gap:.6rem;flex-shrink:0}.sidebar-middle,.sidebar-bottom{display:flex;flex-direction:column;gap:.6rem}.sidebar-bottom{margin-top:auto}.sidebar h2{font-size:1.2rem;font-weight:700;margin:0}.balance{font-size:.9rem;color:#7dd3fc}.primary,.recharge-btn,.controls button,.close-btn{width:100%;background:linear-gradient(135deg,#7dd3fc,#38bdf8);color:#020617;border:none;border-radius:10px;padding:.6rem 1rem;font-weight:700;cursor:pointer;transition:all .2s ease;box-shadow:0 6px 16px #38bdf859}.primary:hover,.recharge-btn:hover,.controls button:hover,.close-btn:hover{transform:translateY(-1px);box-shadow:0 10px 26px #38bdf873}.secondary{background:#1e1e1e;color:#c7c7cc}.secondary:hover{background:#27272a}.danger{background:linear-gradient(135deg,#fb7185,#f87171);color:#fff}.chat-area{display:flex;flex-direction:column;height:100%;min-height:0;min-width:0}.chat-header{height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 1.25rem;background:#0f0f0f;border-bottom:1px solid rgba(255,255,255,.06);flex-shrink:0}.header-left{display:flex;align-items:center;gap:.75rem}.header-left>div{display:flex;flex-direction:column;justify-content:center;line-height:1.1}.chat-header h1{margin:0;line-height:1.1}.subtitle{margin:0}.chat-logo{width:32px;height:32px;padding:5px;border-radius:8px;background:#1e1e1e;object-fit:contain}.chat-header h1{font-size:1rem;margin:0}.subtitle{font-size:.8rem;color:#9ca3af}.credits-label{font-size:.85rem;color:#7dd3fc}.messages{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;padding:1.25rem 2rem;background:#000}.bubble{max-width:70%;padding:.9rem 1.1rem;margin-bottom:.9rem;border-radius:14px;line-height:1.55;background:#121212}.bubble.assistant{margin-right:auto;border-left:4px solid #38bdf8}.bubble.user{margin-left:auto;background:linear-gradient(135deg,#1e293b,#020617);border-right:4px solid #7dd3fc}.message-content p{margin:0;color:#e5e7eb}.composer{display:flex;gap:.8rem;padding:.8rem 1.2rem;background:#0f0f0f;border-top:1px solid rgba(255,255,255,.06);flex-shrink:0;flex-direction:column}.composer textarea{flex:1;resize:none;min-height:44px;max-height:120px;padding:.7rem .9rem;border-radius:10px;border:1px solid rgba(255,255,255,.08);background:#121212;color:#fff}.composer textarea:focus{border-color:#7dd3fc;box-shadow:0 0 0 2px #7dd3fc40;outline:none}.review-box{display:flex;gap:.4rem;margin-top:.6rem}.review-btn{min-width:36px;height:36px;border-radius:8px;border:1px solid rgba(255,255,255,.12);background:#121212;color:#fff;font-size:1rem;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:all .2s ease}.review-btn:hover{background:#1e1e1e;transform:translateY(-1px)}.review-btn.positive:hover{background:#22c55e26;border-color:#22c55e}.review-btn.negative:hover{background:#ef444426;border-color:#ef4444}.review-btn.comment:hover{background:#38bdf826;border-color:#38bdf8}.menu-wrapper{position:relative;flex-shrink:0}.menu-btn{background:transparent;border:none;color:#9ca3af;font-size:1.1rem;cursor:pointer;padding:4px 6px;border-radius:6px}.menu-btn:hover{background:#1e1e1e;color:#fff}.menu-popup{position:absolute;top:100%;right:0;margin-top:4px;min-width:120px;background:#121212;border:1px solid rgba(255,255,255,.1);border-radius:10px;box-shadow:0 10px 30px #0009;z-index:20;overflow:hidden}.menu-popup button{width:100%;padding:.55rem .8rem;background:transparent;border:none;color:#e5e7eb;font-size:.85rem;text-align:left;cursor:pointer}.upload-box{border:2px dashed rgba(255,255,255,.12);background:#0f0f0f;color:#7dd3fc;border-radius:12px;cursor:pointer}.upload-box:hover{background:#121212}.menu-popup,.help-popup{background:#121212;color:#fff;border:1px solid rgba(255,255,255,.08)}.menu-popup button:hover{background:#1e1e1e}.error{background:#fb718526;color:#fb7185}.helper{margin-top:auto;text-align:center;font-size:.8rem;color:#9ca3af}.mobile-menu-btn{display:none;background:transparent;border:none;color:#fff;font-size:1.4rem;margin-right:.5rem;cursor:pointer}.sidebar-overlay{display:none}@media (max-width: 768px){.mobile-menu-btn{display:inline-flex;align-items:center;justify-content:center}.chat-area{flex:1;min-height:0}.chat-header{flex-wrap:wrap;gap:.4rem;height:auto;padding:.6rem .8rem}.header-left,.header-right{width:100%}.chat-header h1{font-size:.95rem;white-space:nowrap}.credits-label{font-size:.8rem;white-space:nowrap}.messages{padding:.75rem}.sidebar{position:fixed;top:0;left:0;height:100dvh;width:280px;z-index:1001;transform:translate(-100%);transition:transform .25s ease;box-shadow:10px 0 40px #000000b3}.sidebar.open{transform:translate(0)}.sidebar-overlay{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#0000008c;z-index:1000}.chat-page{grid-template-columns:1fr}.sidebar-content{flex-shrink:0;gap:.4rem}.sidebar-footer{display:grid;grid-template-columns:1fr;gap:.4rem}.sidebar-footer button{width:100%}.sidebar-footer>button.secondary{grid-column:1}.history-section.show{display:block}.history-section{overflow-y:auto}.history-item{padding:.4rem .5rem}.history-title{font-size:.8rem}.history-preview{font-size:.7rem}}.payment-container{min-height:100vh;display:flex;flex-direction:column;align-items:center;padding:2.5rem 1.8rem;background:#000;color:#fff;font-family:Inter,system-ui,sans-serif}.payment-title{font-size:2.2rem;font-weight:800;margin:1rem 0 .3rem;color:#fff}.payment-subtitle{color:#9ca3af;font-size:1rem;margin-bottom:2rem}.plans-grid{width:min(820px,98%);display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.4rem}.plan-card{position:relative;padding:1.9rem;border-radius:20px;background:#121212;border:1px solid rgba(255,255,255,.08);color:#e5e7eb;cursor:pointer;transition:all .25s ease;box-shadow:0 16px 40px #000000bf,inset 0 0 0 1px #ffffff08}.plan-card:hover{transform:translateY(-3px);background:#1a1a1a}.plan-card.selected{border-color:#7dd3fc;box-shadow:0 0 0 2px #7dd3fc66,0 20px 50px #38bdf840}.plan-badge{position:absolute;top:-12px;right:16px;background:linear-gradient(135deg,#7dd3fc,#38bdf8);padding:4px 14px;font-size:.75rem;border-radius:999px;color:#020617;font-weight:700;box-shadow:0 6px 18px #38bdf873}.plan-icon{font-size:2.4rem;margin-bottom:.6rem}.plan-credits{font-size:1.5rem;font-weight:700;margin:.4rem 0;color:#fff}.plan-price{font-size:1.35rem;font-weight:700;color:#7dd3fc}.plan-rate{font-size:.9rem;color:#9ca3af}.payment-method-box{width:min(820px,98%);margin-top:2rem;background:#0f0f0f;border:1px solid rgba(255,255,255,.08);padding:1.6rem;border-radius:18px;box-shadow:0 16px 40px #000000b3}.pm-title{font-size:1rem;font-weight:600;margin-bottom:.4rem;color:#fff}.pm-method{font-size:.92rem;color:#9ca3af}.payment-method-list{display:flex;flex-direction:column;gap:.8rem;margin-top:1rem}.payment-method-item{display:flex;align-items:center;gap:12px;padding:.9rem 1.2rem;border-radius:14px;background:#121212;border:1px solid rgba(255,255,255,.08);cursor:pointer;color:#e5e7eb;transition:all .25s ease}.payment-method-item:hover{background:#1e1e1e}.payment-method-item.active{background:linear-gradient(135deg,#7dd3fc,#38bdf8);border-color:transparent;color:#020617;box-shadow:0 6px 20px #38bdf859}.method-icon{font-size:1.4rem}.method-name{font-size:1rem;font-weight:600}.checkout-button{width:min(820px,98%);margin-top:1.8rem;padding:1rem;border-radius:16px;border:none;background:linear-gradient(135deg,#7dd3fc,#38bdf8);color:#020617;font-weight:700;font-size:1.1rem;cursor:pointer;transition:all .25s ease;box-shadow:0 10px 26px #38bdf859}.checkout-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 16px 36px #38bdf873}.checkout-button:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}@media (max-width: 768px){.payment-container{padding:1.2rem .8rem;align-items:stretch}.payment-title{font-size:1.6rem;text-align:center}.payment-subtitle{font-size:.9rem;text-align:center}.plans-grid{grid-template-columns:1fr;width:100%}.checkout-button{width:100%;font-size:1rem}}.admin-page{min-height:100vh;background:#000;color:#fff;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;display:flex;justify-content:center;padding:3rem 1.5rem}.admin-card{width:min(1150px,96vw);background:#121212;border-radius:20px;padding:2rem 2.5rem;display:flex;flex-direction:column;gap:2rem;box-shadow:0 20px 50px #000000bf,inset 0 0 0 1px #ffffff0a}.admin-header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(255,255,255,.08);padding-bottom:1rem}.brand{display:flex;align-items:center;gap:.75rem}.logo{width:42px;height:42px;object-fit:contain;background:#1e1e1e;border-radius:10px;padding:6px}.brand h1{font-size:1.6rem;color:#fff;font-weight:700;margin:0}.back-btn,.export-btn,.save-btn{background:linear-gradient(135deg,#7dd3fc,#38bdf8);color:#020617;border:none;border-radius:12px;padding:.6rem 1.3rem;font-weight:700;cursor:pointer;transition:all .25s ease;box-shadow:0 6px 18px #38bdf859}.back-btn:hover,.export-btn:hover,.save-btn:hover{transform:translateY(-1px);box-shadow:0 10px 30px #38bdf873}.summary-section,.activity-breakdown,.user-management,.reviews-section,.analytics-section,.settings-card,.security-section{background:#0f0f0f;border-radius:16px;padding:1.5rem;border:1px solid rgba(255,255,255,.08)}h1,h2,h3{color:#fff}.subtitle{color:#9ca3af}.tabs{display:flex;gap:1rem;border-bottom:1px solid rgba(255,255,255,.08)}.tabs button{background:none;border:none;font-weight:600;padding:.7rem 1.2rem;cursor:pointer;color:#9ca3af;border-bottom:3px solid transparent}.tabs button.active{color:#7dd3fc;border-bottom-color:#38bdf8}.user-table,.analytics-table,.top-users-table{width:100%;border-collapse:collapse;background:#121212;border-radius:14px;overflow:hidden}.user-table th,.analytics-table th{background:#1e1e1e;color:#7dd3fc;font-weight:600}.user-table th,.user-table td,.analytics-table th,.analytics-table td{padding:.9rem 1.1rem;border-bottom:1px solid rgba(255,255,255,.06);color:#e5e7eb}.user-table tr:hover td,.analytics-table tr:hover td{background:#1a1a1a}input,select{background:#1e1e1e;color:#fff;border:1px solid rgba(255,255,255,.1);border-radius:10px;padding:.6rem .8rem}input:focus,select:focus{border-color:#7dd3fc;box-shadow:0 0 0 2px #7dd3fc40}.metric-card{background:#121212;border-radius:16px;padding:1.25rem;border:1px solid rgba(255,255,255,.08)}.metric-value{font-size:1.8rem;font-weight:700;color:#fff}.status.active{background:#4ade8026;color:#4ade80}.status.inactive{background:#94a3b826;color:#9ca3af}.badge.positive{background:#4ade8026;color:#4ade80}.badge.negative{background:#fb718526;color:#fb7185}.badge.neutral{background:#7dd3fc26;color:#7dd3fc}.error{background:#fb718526;color:#fb7185;padding:.8rem;border-radius:12px;text-align:center}@media (max-width: 768px){.admin-page{padding:1rem}.admin-card{padding:1.2rem}.tabs{flex-wrap:wrap}.tabs button{flex:1 1 48%;text-align:center}.user-table,.analytics-table{display:block;overflow-x:auto;white-space:nowrap}}.loading-screen{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;background:#0f172a;color:#f8fafc}.spinner{width:48px;height:48px;border-radius:50%;border:4px solid rgba(148,163,184,.3);border-top-color:#38bdf8;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}:root{color-scheme:dark;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background-color:#000;color:#fff}*{box-sizing:border-box}html,body,#root{margin:0;padding:0;min-height:100%;background:#000}a{color:inherit;text-decoration:none}button{cursor:pointer;font-family:inherit}.auth-page{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:#000;color:#fff;padding:32px}.auth-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;background:#000;padding:32px}.auth-stack{width:100%;max-width:480px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px}.auth-brand,.brand{display:flex;flex-direction:column;align-items:center;gap:10px}.auth-brand-logo,.brand__logo{width:72px;height:72px;object-fit:contain;background:#1e1e1e;border-radius:16px;padding:10px;box-shadow:0 6px 18px #0009}.auth-brand-text,.brand__name{margin:0;font-size:26px;font-weight:700;color:#fff;text-align:center}.auth-brand-subtitle,.brand__tag{margin:0;font-size:14px;color:#9ca3af;text-align:center}.auth-card{width:100%;background:#121212;color:#fff;padding:28px;border-radius:20px;display:flex;flex-direction:column;gap:12px;box-shadow:0 20px 50px #000000bf,inset 0 0 0 1px #ffffff0a}.auth-title{margin:0;font-size:22px;font-weight:700;color:#fff}.auth-subtitle{margin:0 0 12px;font-size:14px;color:#9ca3af}.auth-card label{display:flex;flex-direction:column;gap:6px;font-size:13px;color:#c7c7cc}.auth-card input,.auth-card select{width:100%;padding:12px 14px;border-radius:12px;border:1px solid rgba(255,255,255,.08);background:#1e1e1e;color:#fff;outline:none;transition:border .2s ease,box-shadow .2s ease}.auth-card input::placeholder{color:#6b7280}.auth-card input:focus,.auth-card select:focus{border-color:#7dd3fc;box-shadow:0 0 0 2px #7dd3fc40}input:-webkit-autofill,input:-webkit-autofill:hover,input:-webkit-autofill:focus{-webkit-text-fill-color:#ffffff;-webkit-box-shadow:0 0 0 1000px #1e1e1e inset}.auth-card button{width:100%;padding:14px;border-radius:999px;border:none;background:linear-gradient(135deg,#7dd3fc,#38bdf8);color:#020617;font-weight:600;font-size:15px;transition:transform .15s ease,box-shadow .15s ease;box-shadow:0 10px 28px #38bdf859}.auth-card button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 16px 42px #38bdf873}.auth-card button:disabled{opacity:.6;cursor:not-allowed;box-shadow:none}.mode-switch{display:flex;gap:10px;margin-bottom:12px}.mode-switch button{flex:1;padding:10px;border-radius:12px;border:1px solid rgba(255,255,255,.1);background:#1e1e1e;color:#c7c7cc;font-weight:500;transition:all .2s ease}.mode-switch button:hover{background:#27272a}.mode-switch button.active{background:linear-gradient(135deg,#7dd3fc,#38bdf8);color:#020617;border-color:transparent;box-shadow:0 6px 16px #38bdf859}.error{font-size:13px;color:#fb7185}.success{font-size:13px;color:#4ade80}.helper{font-size:12px;color:#9ca3af}.muted{text-align:center;font-size:13px;color:#9ca3af}
