:root{color:#172033;background:#f4f7fb;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}.login-page{align-items:center;background:linear-gradient(135deg,rgba(20,97,255,.1),transparent 45%),#eef4ff;display:flex;min-height:100vh;justify-content:center;padding:24px}.login-card{background:#fff;border:1px solid #dce5f2;border-radius:8px;box-shadow:0 24px 70px #121f3a24;max-width:420px;padding:32px;width:100%}.login-brand,.brand{align-items:center;display:flex;gap:12px}.brand-mark{align-items:center;background:#1262ff;border-radius:8px;color:#fff;display:inline-flex;font-weight:800;height:44px;justify-content:center;width:44px}.eyebrow{color:#65748b;font-size:13px;font-weight:700;margin:0 0 4px;text-transform:uppercase}h1,h2,h3,p{margin-top:0}.login-card h1{font-size:28px;margin-bottom:0}.login-form{display:grid;gap:16px;margin-top:28px}label{color:#2b3750;display:grid;font-size:14px;font-weight:700;gap:8px}input,select,textarea{background:#fff;border:1px solid #ccd7e6;border-radius:8px;color:#172033;min-height:42px;padding:10px 12px;width:100%}input:focus,select:focus,textarea:focus{border-color:#1262ff;box-shadow:0 0 0 3px #1262ff1f;outline:none}.password-field{position:relative}.password-field input{padding-right:72px}.password-toggle{position:absolute;right:6px;top:50%;transform:translateY(-50%);min-height:30px;border:0;border-radius:6px;padding:0 10px;background:#eef4ff;color:#175cd3;font-size:12px;font-weight:900}.password-toggle:hover{background:#dbeafe}textarea{line-height:1.5;resize:vertical}.primary-button,.ghost-button{border-radius:8px;min-height:42px;padding:10px 14px}.primary-button{background:#1262ff;border:1px solid #1262ff;color:#fff;font-weight:800}.primary-button:disabled{cursor:not-allowed;opacity:.7}.ghost-button{background:#fff;border:1px solid #ccd7e6;color:#172033;font-weight:700}.forgot-link{color:#1262ff;font-size:14px;font-weight:700;text-align:center;text-decoration:none}.back-link{display:block;margin-top:18px}.notice-panel{background:#eef8f3;border:1px solid #ccebdd;border-radius:8px;color:#137047;font-weight:700;line-height:1.5;margin-top:28px;padding:14px}.form-error{background:#fff0f0;border:1px solid #ffd0d0;border-radius:8px;color:#b42318;font-size:14px;margin:0;padding:10px 12px}.auth-checking{display:grid;min-height:100vh;place-items:center;background:#f4f7fb;color:#172033;font-weight:800}.app-shell{display:grid;grid-template-columns:260px 1fr;min-height:100vh}.sidebar{background:#111827;color:#fff;display:flex;flex-direction:column;height:100vh;left:0;min-height:0;overflow:hidden;padding:24px;position:sticky;top:0}.sidebar .brand-mark{background:#fff;color:#1262ff}.brand span{color:#9ca3af;display:block;font-size:13px;margin-top:2px}.sidebar-nav{display:grid;gap:8px;margin-top:36px;min-height:0;overflow-y:auto;padding-right:4px;scrollbar-width:thin;scrollbar-color:rgb(255 255 255 / 24%) transparent}.sidebar-nav::-webkit-scrollbar{width:6px}.sidebar-nav::-webkit-scrollbar-thumb{background:#ffffff3d;border-radius:999px}.sidebar-nav a,.nav-disabled{border-radius:8px;color:#d1d5db;padding:12px;text-decoration:none}.sidebar-nav a.active{background:#2563eb;color:#fff;font-weight:800}.nav-disabled{cursor:default;opacity:.48}.sidebar-footer{display:grid;gap:10px;margin-top:auto;padding-top:24px}.language-toggle,.sidebar-logout{align-items:center;border:1px solid rgb(255 255 255 / 14%);border-radius:8px;color:#e5e7eb;display:flex;gap:10px;min-height:42px;padding:10px 12px;text-align:left;width:100%}.language-toggle{background:#ffffff0f}.language-toggle span{font-size:18px;line-height:1}.language-toggle strong{font-size:13px}.sidebar-logout{background:#fff;color:#172033;font-weight:800;justify-content:center}.main-panel{min-width:0}.topbar{align-items:center;background:#fff;border-bottom:1px solid #dce5f2;display:flex;justify-content:space-between;min-height:86px;padding:18px 28px}.topbar h1{font-size:24px;margin:0}.topbar-actions{align-items:center;display:flex;gap:12px}.user-pill{background:#eef4ff;border-radius:999px;color:#17315f;font-size:14px;font-weight:800;padding:9px 12px}.account-summary{display:grid;min-width:220px;gap:3px;padding:12px 16px;border:1px solid #dce5f2;border-radius:14px;background:#fff;color:#172033;text-align:left;box-shadow:0 10px 24px #121f3a12;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}.account-summary:hover{border-color:#9db9ff;box-shadow:0 14px 34px #121f3a1f;transform:translateY(-1px)}.account-summary span{color:#65748b;font-size:12px;font-weight:800;text-transform:uppercase}.account-summary strong{color:#17315f;font-size:15px}.account-summary em{color:#1262ff;font-size:18px;font-style:normal;font-weight:900}.content{padding:28px}.toolbar{align-items:end;display:flex;gap:24px;justify-content:space-between;margin-bottom:20px}.toolbar h2{font-size:24px;margin-bottom:6px}.toolbar p{color:#65748b;margin-bottom:0}.toolbar-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.filter-panel{align-items:end;background:#fff;border:1px solid #dce5f2;border-radius:8px;display:grid;gap:16px;grid-template-columns:minmax(260px,1fr) 220px 200px;margin-bottom:20px;padding:18px}.hidden-input{display:none}.table-panel{background:#fff;border:1px solid #dce5f2;border-radius:8px}.table-panel{overflow-x:auto}.balance-hero{display:grid;justify-items:center;gap:10px;margin-bottom:20px;padding:42px 24px;border:1px solid #dce5f2;border-radius:18px;background:radial-gradient(circle at 20% 20%,rgb(18 98 255 / 14%),transparent 30%),radial-gradient(circle at 82% 80%,rgb(19 112 71 / 12%),transparent 28%),#fff;box-shadow:0 20px 60px #121f3a1a;text-align:center}.balance-hero span{color:#65748b;font-size:13px;font-weight:900;letter-spacing:.04em;text-transform:uppercase}.balance-hero strong{color:#172033;font-size:48px;line-height:1}.balance-hero p{color:#65748b;margin:0 0 10px}.balance-hero .primary-button{min-width:150px}.topup-modal{max-width:560px}.topup-modal-body{display:grid;gap:18px;padding:20px 0 4px}.topup-amount-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.topup-amount-grid button{min-height:58px;border:1px solid #dce5f2;border-radius:12px;background:#fff;color:#172033;font-weight:900;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}.topup-amount-grid button:hover,.topup-amount-grid button.active{border-color:#1262ff;box-shadow:0 10px 24px #1262ff24;color:#1262ff;transform:translateY(-1px)}.topup-custom-field{margin-top:2px}.mock-payment-page{display:grid;min-height:100vh;place-items:center;padding:24px;background:radial-gradient(circle at 18% 20%,rgb(18 98 255 / 16%),transparent 32%),radial-gradient(circle at 82% 82%,rgb(19 112 71 / 14%),transparent 32%),#f4f7fb}.mock-payment-shell{display:grid;gap:18px;width:min(860px,100%);padding:28px;border:1px solid #dce5f2;border-radius:18px;background:#fff;box-shadow:0 24px 70px #121f3a24}.mock-payment-summary{display:grid;gap:10px;text-align:center}.mock-payment-summary span{color:#1262ff;font-size:13px;font-weight:900;text-transform:uppercase}.mock-payment-summary h1{margin:0;font-size:28px}.mock-payment-summary p{margin:0;color:#65748b}.mock-payment-summary code{overflow-wrap:anywhere;padding:10px 12px;border-radius:10px;background:#f4f7fb;color:#4b5870;font-size:12px}.mock-payment-summary>strong{margin:8px 0;color:#172033;font-size:42px;line-height:1}.payment-method-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.payment-method-grid button{display:grid;gap:6px;min-height:96px;border:1px solid #dce5f2;border-radius:12px;padding:16px;background:#fff;color:#172033;text-align:left}.payment-method-grid button.active{border-color:#1262ff;background:#eff6ff;box-shadow:inset 0 0 0 1px #1262ff}.payment-method-grid strong{font-size:17px}.payment-method-grid span{color:#65748b;line-height:1.45}.payment-method-panel{min-height:280px;border:1px solid #e5edf7;border-radius:14px;padding:20px;background:#f8fafc}.vnpay-panel,.card-payment-panel{display:grid;grid-template-columns:220px minmax(0,1fr);gap:22px;align-items:center}.vnpay-panel h2{margin:0 0 10px}.vnpay-panel p{color:#65748b;line-height:1.6;margin:0}.fake-qr-code{display:grid;grid-template-columns:repeat(7,1fr);gap:7px;width:210px;height:210px;padding:16px;border:10px solid #ffffff;border-radius:16px;background:#fff;box-shadow:0 16px 34px #121f3a1f}.fake-qr-code span{border-radius:3px;background:#e5ecf6}.fake-qr-code span.dark{background:#111827}.fake-bank-card{display:grid;align-content:space-between;min-height:170px;padding:22px;border-radius:18px;background:linear-gradient(135deg,#172033,#1262ff);color:#fff;box-shadow:0 18px 44px #121f3a38}.fake-bank-card.mastercard{background:linear-gradient(135deg,#27133f,#ef4444)}.fake-bank-card span{font-size:13px;font-weight:900;text-transform:uppercase}.fake-bank-card strong{font-size:19px;letter-spacing:.04em}.fake-bank-card div{display:flex;justify-content:space-between;gap:14px}.fake-bank-card small{color:#ffffffd1;font-weight:800;overflow-wrap:anywhere}.card-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.card-form-grid label:first-child,.card-form-grid label:nth-child(2){grid-column:1 / -1}.mock-payment-actions{display:flex;justify-content:flex-end;gap:12px}.mock-payment-actions button{min-width:160px}.balance-filter-panel{grid-template-columns:260px}.mono-cell{color:#4b5870;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:12px}.amount-cell{font-weight:900;white-space:nowrap}.amount-cell.positive{color:#137047}.amount-cell.negative{color:#b42318}.transaction-type-badge{display:inline-flex;padding:6px 10px;border-radius:999px;background:#eef4ff;color:#17315f;font-size:12px;font-weight:900;text-transform:capitalize}.profile-overview{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px}.profile-card{min-height:150px;padding:22px;border:1px solid #dce5f2;border-radius:14px;background:#fff;box-shadow:0 14px 36px #121f3a12}.profile-card span{display:block;margin-bottom:12px;color:#65748b;font-size:13px;font-weight:900;text-transform:uppercase}.profile-card strong{display:block;color:#172033;font-size:24px}.profile-card p{margin:8px 0 0;color:#65748b}.profile-card.balance strong{color:#1262ff}.profile-form-grid{align-items:start;display:grid;grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr);gap:18px;margin-top:18px}.profile-form-panel,.profile-members-panel{display:grid;gap:16px;padding:22px;border:1px solid #dce5f2;border-radius:14px;background:#fff;box-shadow:0 14px 36px #121f3a12}.user-profile-panel{align-self:start}.profile-form-panel input,.profile-form-panel select{height:44px;min-height:44px}.profile-form-panel header h3,.profile-members-header h3{margin:0 0 6px;font-size:20px}.profile-form-panel header p,.profile-members-header p{margin:0;color:#65748b;line-height:1.55}.profile-readonly-field{display:grid;gap:8px;color:#4c5f78;font-size:14px;font-weight:700}.profile-user-fields{display:grid;gap:14px}.profile-inline-field{align-items:center;background:#f8fafc;border:1px solid #dce5f2;border-radius:8px;display:flex;gap:12px;justify-content:space-between;min-height:62px;padding:10px 12px}.profile-inline-field span{color:#4c5f78;display:block;font-size:13px;font-weight:800;margin-bottom:5px}.profile-inline-field strong{color:#172033;display:block;font-size:14px;overflow-wrap:anywhere}.verified-badge{width:fit-content;border-radius:999px;border:1px solid #f1cfd5;background:#fff1f3;color:#b4233c;padding:7px 12px;font-size:13px}.verified-badge.active{border-color:#b8e3ca;background:#edf9f1;color:#147a43}.profile-form-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.fixed-action-button{min-width:150px;justify-content:center}.compact-profile-button{flex:0 0 auto;min-height:36px;min-width:120px;padding:7px 10px;white-space:nowrap}.profile-security-modal{display:grid;gap:16px;max-width:460px}.profile-security-modal .modal-header{align-items:flex-start}.profile-security-modal .modal-header p{color:#65748b;line-height:1.5;margin:6px 0 0}.profile-company-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.profile-members-panel{margin-top:18px}.profile-members-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.profile-members-header strong{color:#1262ff}.member-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto auto;gap:10px;align-items:center}.profile-members-table{overflow-x:auto}.row-actions{display:flex;gap:8px}.ghost-button.danger{border-color:#fecaca;color:#b42318}table{border-collapse:collapse;min-width:1180px;width:100%}th,td{border-bottom:1px solid #edf1f7;padding:14px 16px;text-align:left}th{color:#65748b;font-size:13px;text-transform:uppercase}td{font-size:14px;vertical-align:top}.strong-cell{color:#172033;font-weight:800;min-width:180px}.description-cell{color:#4b5870;line-height:1.45;max-width:360px}.status-badge{border-radius:999px;display:inline-flex;font-size:13px;font-weight:800;padding:6px 10px}.status-badge.active{background:#e7f8ef;color:#137047}.status-badge.inactive{background:#fff4e5;color:#9a5b00}.empty-state{color:#65748b;padding:24px;text-align:center}.row-actions{display:flex;gap:8px;white-space:nowrap}.small-button,.icon-button{align-items:center;background:#fff;border:1px solid #ccd7e6;border-radius:8px;color:#172033;display:inline-flex;font-weight:800;justify-content:center}.small-button{min-height:34px;padding:7px 10px}.small-button.danger{border-color:#ffd0d0;color:#b42318}.modal-backdrop{align-items:center;background:#0f172a75;display:flex;top:0;right:0;bottom:0;left:0;justify-content:center;padding:20px;position:fixed;z-index:20}.modal-panel{background:#fff;border-radius:8px;box-shadow:0 28px 80px #0f172a47;max-height:calc(100vh - 40px);max-width:720px;overflow-y:auto;padding:24px;width:100%}.modal-header,.modal-footer{align-items:center;display:flex;gap:12px;justify-content:space-between}.modal-header h3{margin-bottom:0}.icon-button{font-size:24px;height:38px;line-height:1;width:38px}.product-form{display:grid;gap:16px;margin-top:22px}.form-row{display:grid;gap:16px;grid-template-columns:1fr 1fr}.modal-footer{border-top:1px solid #edf1f7;justify-content:flex-end;margin-top:4px;padding-top:18px}@media (max-width: 960px){.app-shell{grid-template-columns:1fr}.sidebar{height:auto;overflow:visible;padding:18px;position:static}.sidebar-nav{display:flex;gap:8px;margin-top:18px;overflow-x:auto;overflow-y:hidden;padding-right:0}.sidebar-footer{align-items:center;display:flex;margin-top:16px;padding-top:0}.language-toggle,.sidebar-logout{width:auto;white-space:nowrap}.sidebar-nav a,.nav-disabled{white-space:nowrap}.topbar,.toolbar{align-items:flex-start;flex-direction:column}.filter-panel{grid-template-columns:1fr;width:100%}.information-composer{grid-template-columns:1fr}.toolbar-actions{justify-content:flex-start}}@media (max-width: 560px){.content,.topbar,.sidebar{padding-left:16px;padding-right:16px}.login-card{padding:24px}.topbar-actions{align-items:stretch;width:100%}.form-row{grid-template-columns:1fr}.information-composer__actions{align-items:stretch;flex-direction:column-reverse}.import-result-summary{grid-template-columns:1fr 1fr}}.filter-panel{display:grid;grid-template-columns:minmax(320px,1fr) 260px 260px;gap:20px;align-items:end;padding:24px;background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 8px 24px #0f172a0a}.filter-field{display:flex;flex-direction:column;gap:8px}.filter-field label{font-size:14px;font-weight:700;color:#1e293b}.filter-field input,.filter-field select{height:46px;padding:0 14px;border:1px solid #cbd5e1;border-radius:12px;font-size:15px;color:#0f172a;background:#fff;outline:none}.filter-field input:focus,.filter-field select:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb24}.search-row{display:flex;gap:12px}.search-row input{flex:1}.pagination{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 20px;border-top:1px solid #e2e8f0;background:#fff}.pagination-summary{margin:0;color:#475569;font-size:14px}.pagination-actions{display:flex;align-items:center;gap:10px}.page-status{min-width:110px;text-align:center;font-weight:700;color:#1e293b}.page-button{height:40px;padding:0 16px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;font-weight:700;color:#1e293b;cursor:pointer}.page-button:hover:not(:disabled){background:#f8fafc;border-color:#94a3b8}.page-button:disabled{opacity:.45;cursor:not-allowed}@media (max-width: 900px){.filter-panel{grid-template-columns:1fr}.search-row{flex-direction:column}.pagination{align-items:flex-start;flex-direction:column}}.chatbot-page{display:flex;flex-direction:column;gap:20px}.chat-config-panel{display:grid;grid-template-columns:1fr 1fr;gap:16px;background:#fff;border-radius:16px;padding:20px 24px;box-shadow:0 8px 24px #0f172a0f}.chat-config-panel label{display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:600}.chat-config-panel input{height:42px;border:1px solid #cbd5e1;border-radius:10px;padding:0 12px}.chatbot-panel{height:calc(100vh - 300px);min-height:520px;display:flex;flex-direction:column;background:#fff;border-radius:16px;box-shadow:0 8px 24px #0f172a0f;overflow:hidden}.chatbot-info{padding:12px 20px;border-bottom:1px solid #e2e8f0;color:#64748b;font-size:13px}.chatbot-messages{flex:1;padding:24px;overflow-y:auto;background:#f8fafc}.chat-message{display:flex;margin-bottom:14px}.chat-bubble{max-width:70%;padding:12px 14px;border-radius:16px;line-height:1.5}.chat-bubble p{margin:0;white-space:pre-wrap}.chat-bubble span{display:block;margin-top:6px;font-size:11px;opacity:.7}.user-message .chat-bubble{background:#2563eb;color:#fff;border-bottom-right-radius:4px}.bot-message .chat-bubble{background:#fff;color:#0f172a;border:1px solid #e2e8f0;border-bottom-left-radius:4px}.chat-input-form{display:flex;gap:12px;padding:16px;border-top:1px solid #e2e8f0;background:#fff}.chat-input-form input{flex:1;height:44px;border:1px solid #cbd5e1;border-radius:10px;padding:0 14px}.information-list{display:flex;flex-direction:column;gap:16px}.information-composer{display:grid;grid-template-columns:minmax(220px,.42fr) minmax(360px,1fr);gap:20px;padding:20px;margin-bottom:20px;border:1px solid #dce5f2;border-radius:8px;background:#fff}.information-composer__intro{padding:4px 0}.information-composer__intro h3{margin-bottom:8px}.information-composer__intro p:last-child{color:#65748b;line-height:1.55;margin-bottom:0}.information-composer__form{display:grid;gap:14px}.information-composer__actions{display:flex;justify-content:flex-end;gap:10px}.information-card{border:1px solid #e5e7eb;border-radius:12px;padding:16px;background:#fff}.information-card-header{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:12px}.information-card-header h3{margin:6px 0 0}.information-type-badge{display:inline-flex;width:fit-content;border-radius:999px;background:#eef4ff;color:#175cd3;font-size:12px;font-weight:900;padding:5px 9px}.information-content{white-space:pre-wrap;line-height:1.6}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:20px;background:#0f172a8c;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.confirm-modal{width:100%;max-width:440px;padding:24px;background:#fff;border-radius:14px;box-shadow:0 24px 70px #0f172a40}.confirm-modal h3{margin:0 0 12px;font-size:20px;color:#111827}.confirm-modal p{margin:0 0 10px;line-height:1.5;color:#4b5563}.confirm-modal__warning{font-size:14px;color:#dc2626!important}.confirm-modal__actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}.payment-result-modal{max-width:520px}.payment-result-grid{display:grid;gap:12px;margin-top:18px}.payment-result-grid div{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border:1px solid #e5e7eb;border-radius:10px;background:#f8fafc}.payment-result-grid span{color:#667085;font-size:13px;font-weight:800}.payment-result-grid strong{color:#111827;text-align:right}.import-result-modal{max-width:min(860px,calc(100vw - 32px))}.import-result-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.import-result-header h3{margin:8px 0 0}.import-result-summary{display:grid;grid-template-columns:repeat(4,minmax(110px,1fr));gap:12px;margin-bottom:16px}.import-result-summary div{display:grid;gap:5px;padding:14px;border:1px solid #e5e7eb;border-radius:10px;background:#f8fafc}.import-result-summary span{color:#667085;font-size:12px;font-weight:900;text-transform:uppercase}.import-result-summary strong{color:#111827;font-size:26px;line-height:1}.import-result-summary .success{border-color:#bbf7d0;background:#f0fdf4}.import-result-summary .warning{border-color:#fed7aa;background:#fff7ed}.import-result-summary .danger{border-color:#fecaca;background:#fef2f2}.import-result-note{margin-bottom:14px!important;color:#475467!important}.import-result-note.success{color:#15803d!important}.import-result-table{max-height:min(320px,42vh);overflow:auto;border:1px solid #e5e7eb;border-radius:10px}.import-result-table table{min-width:720px}.import-result-table th,.import-result-table td{padding:12px 14px}.button{min-width:100px;padding:10px 16px;border:none;border-radius:8px;cursor:pointer;font-weight:600}.button:disabled{cursor:not-allowed;opacity:.65}.button-secondary{color:#374151;background:#e5e7eb}.button-secondary:hover:not(:disabled){background:#d1d5db}.button-danger{color:#fff;background:#dc2626}.button-danger:hover:not(:disabled){background:#b91c1c}.toast-message{position:fixed;top:24px;right:24px;z-index:2000;display:flex;align-items:center;gap:10px;min-width:300px;max-width:440px;padding:14px 16px;color:#fff;border-radius:10px;box-shadow:0 12px 30px #0f172a40;animation:toast-slide-in .25s ease-out}.toast-message--success{background:#15803d}.toast-message--error{background:#dc2626}.toast-message__icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border:2px solid rgba(255,255,255,.8);border-radius:50%;font-weight:700}.toast-message>span:nth-child(2){flex:1}.toast-message button{padding:0;color:inherit;background:transparent;border:none;cursor:pointer;font-size:22px;line-height:1}@keyframes toast-slide-in{0%{opacity:0;transform:translate(30px)}to{opacity:1;transform:translate(0)}}.field-error{display:block;margin-top:6px;color:#dc2626;font-size:13px}input[aria-invalid=true]{border-color:#dc2626;outline-color:#dc2626}.chatbot-page{min-height:100vh;padding:24px;background:#f4f6f9;color:#172033}.chatbot-page-header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:20px}.chatbot-page-header h1{margin:5px 0 6px;font-size:28px}.chatbot-page-header p{margin:0;color:#667085}.chatbot-header-actions{display:flex;flex-wrap:wrap;gap:10px}.chatbot-demo-intro{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:24px;align-items:stretch;margin-bottom:18px}.chatbot-demo-copy,.chatbot-demo-steps,.chatbot-subscription-notice,.chatbot-manager-panel,.chatbot-empty-panel{border:1px solid #e5e7eb;border-radius:16px;background:#fff;box-shadow:0 12px 30px #0f172a12}.chatbot-demo-copy{display:flex;flex-direction:column;justify-content:center;padding:30px}.chatbot-demo-copy h1{max-width:760px;margin:8px 0 14px;font-size:34px;line-height:1.08}.chatbot-demo-copy p{max-width:680px;color:#667085;font-size:16px;line-height:1.7}.chatbot-subscription-notice{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:28px}.chatbot-subscription-notice h1{margin:6px 0 8px;font-size:30px}.chatbot-subscription-notice p{max-width:680px;margin:0;color:#667085;line-height:1.6}.chatbot-demo-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.chatbot-demo-steps{display:grid;gap:14px;align-content:center;padding:28px}.chatbot-demo-steps div{display:grid;gap:7px;padding:18px;border:1px solid #e4e7ec;border-radius:12px;background:#f8fafc}.chatbot-demo-steps strong{color:#172033}.chatbot-demo-steps span{color:#667085;font-size:14px;line-height:1.55}.chatbot-manager-panel{display:grid;grid-template-columns:260px minmax(0,1fr);gap:16px;margin-bottom:18px;padding:18px}.chatbot-quota-card{display:grid;gap:12px;align-content:center;min-height:148px;padding:18px;border:1px solid #dbeafe;border-radius:12px;background:#f8fbff}.chatbot-quota-heading{display:grid;gap:4px}.chatbot-quota-card span:not(.chatbot-quota-track span),.chatbot-quota-card small{color:#667085;font-size:13px;line-height:1.45}.chatbot-quota-card strong{color:#175cd3;font-size:30px;line-height:1}.chatbot-quota-track{height:9px;overflow:hidden;border-radius:999px;background:#dbeafe}.chatbot-quota-track span{display:block;height:100%;border-radius:inherit;background:#2563eb}.chatbot-list-panel{display:grid;gap:12px;min-width:0}.chatbot-list-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:0 2px}.chatbot-list-header strong{display:block;color:#172033;font-size:15px}.chatbot-list-header span,.chatbot-list-header small{color:#667085;font-size:13px}.chatbot-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}.chatbot-list-card{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;align-items:start;min-height:118px;border:1px solid #e4e7ec;border-radius:12px;background:#fff;padding:14px;transition:border-color .2s ease,box-shadow .2s ease}.chatbot-list-card.active{border-color:#84adff;box-shadow:0 0 0 3px #2563eb1f}.chatbot-list-card.draft{border-style:dashed;background:#f8fbff}.chatbot-list-card>button:first-child{display:grid;grid-template-columns:10px minmax(0,1fr);gap:10px;align-items:start;min-width:0;border:0;border-radius:8px;padding:0;background:transparent;color:inherit;text-align:left}.chatbot-list-card>button:first-child div{display:grid;min-width:0;gap:8px;justify-items:start}.chatbot-status-dot{width:9px;height:9px;margin-top:5px;border-radius:999px;background:#f59e0b}.chatbot-status-dot.active{background:#16a34a}.chatbot-list-card strong{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chatbot-list-card span{color:#667085;font-size:13px}.chatbot-status-label{display:inline-flex;width:fit-content;padding:5px 9px;border-radius:999px;background:#fff7ed;color:#b45309!important;font-size:12px!important;font-weight:800}.chatbot-status-label.active{background:#ecfdf3;color:#15803d!important}.chatbot-status-label.draft{max-width:100%;background:#eef4ff;color:#175cd3!important}.chatbot-card-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto}.chatbot-delete-button{justify-self:start;min-height:32px;border:1px solid #fecaca;border-radius:999px;padding:6px 12px;background:#fff5f5;color:#b42318;font-size:12px;font-weight:700}.chatbot-empty-panel{display:grid;min-height:120px;place-items:center;padding:20px;color:#667085;text-align:center}.chatbot-create-overlay{position:fixed;z-index:60;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:24px;background:#0f172a8f}.chatbot-create-modal{width:min(560px,100%);overflow:hidden;border:1px solid #e5e7eb;border-radius:16px;background:#fff;box-shadow:0 28px 90px #0f172a4d}.chatbot-create-body{padding:18px}.chatbot-create-footer{display:flex;justify-content:flex-end;gap:10px;padding:16px 18px;border-top:1px solid #e5e7eb;background:#f8fafc}.zalo-oa-workspace{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:16px;align-items:start}.zalo-oa-workspace.single-panel{grid-template-columns:minmax(0,1fr)}.zalo-oa-form-panel,.zalo-oa-oauth-panel{border:1px solid #e5e7eb;border-radius:16px;background:#fff;box-shadow:0 12px 30px #0f172a12}.zalo-oa-form-panel{overflow:hidden}.zalo-oa-form-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px;border-bottom:1px solid #e5e7eb}.zalo-oa-form-header h2,.zalo-oa-oauth-panel h2,.zalo-oa-collect-panel h3{margin:0 0 6px}.zalo-oa-form-header p,.zalo-oa-oauth-panel p{margin:0;color:#667085;line-height:1.55}.zalo-oa-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:20px}.zalo-oa-collect-panel{margin:0 20px 20px;padding:18px;border:1px solid #e4e7ec;border-radius:12px;background:#f8fafc}.zalo-oa-collect-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin-top:12px}.zalo-oa-collect-grid label{display:flex;align-items:center;gap:9px;min-height:42px;padding:10px 12px;border:1px solid #e4e7ec;border-radius:10px;background:#fff;font-weight:650}.zalo-oa-collect-grid input{width:16px;min-height:16px;accent-color:#2563eb}.zalo-oa-form-actions{display:flex;justify-content:flex-end;gap:10px;padding:16px 20px 20px;border-top:1px solid #e5e7eb;background:#fff}.zalo-oa-oauth-panel{display:grid;gap:14px;padding:20px;position:sticky;top:18px}.zalo-oa-auth-link{text-align:center;text-decoration:none}.chatbot-workspace{display:grid;gap:16px;align-items:start}.chatbot-workspace.settings-visible{grid-template-columns:360px minmax(0,1fr)}.chatbot-workspace.settings-hidden{grid-template-columns:minmax(0,1fr)}.chatbot-settings{width:100%;position:sticky;top:18px;height:calc(100vh - 36px);min-height:0;max-height:calc(100vh - 36px);overflow:hidden;display:flex;flex-direction:column;border:1px solid #e5e7eb;border-radius:16px;background:#fff;box-shadow:0 12px 30px #0f172a12}.settings-header{display:flex;align-items:flex-start;justify-content:space-between;padding:18px;border-bottom:1px solid #e5e7eb}.settings-header h2{margin:0 0 5px;font-size:18px}.settings-header p{margin:0;color:#667085;font-size:13px}.settings-header>button{border:0;background:transparent;font-size:24px;cursor:pointer}.settings-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px}.settings-tabs button{min-height:40px;border:1px solid #d0d5dd;border-radius:9px;padding:8px 10px;background:#fff;color:#475467;font-size:13px;font-weight:600}.settings-tabs button.active{border-color:#b9d3ff;background:#eff6ff;color:#175cd3;box-shadow:inset 0 0 0 1px #b9d3ff}.settings-header,.settings-tabs{flex-shrink:0}.settings-content{min-height:0;flex:1;padding:18px;overflow-y:auto;overscroll-behavior:contain}.settings-field{display:flex;flex-direction:column;gap:7px;margin-bottom:17px}.settings-field>span{color:#344054;font-size:13px;font-weight:600}.settings-field input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=range]),.settings-field textarea,.settings-field select{width:100%;box-sizing:border-box;border:1px solid #d0d5dd;border-radius:9px;padding:10px 11px;font:inherit}.settings-field textarea{resize:vertical}.settings-field small{color:#667085;line-height:1.5}.color-editor{display:grid;grid-template-columns:48px 1fr;gap:8px}.color-editor input[type=color]{height:43px;padding:3px}.range-field{display:grid;grid-template-columns:1fr 55px;gap:10px;align-items:center}.range-field span{color:#475467;font-size:13px;text-align:right}.feature-settings{display:flex;flex-direction:column;gap:12px}.feature-toggle{position:relative;display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:70px;box-sizing:border-box;padding:14px 15px;border:1px solid #e4e7ec;border-radius:12px;background:#fff;cursor:pointer;transition:border-color .2s ease,background-color .2s ease,box-shadow .2s ease,transform .2s ease}.feature-toggle:hover{border-color:#b8c4d6;box-shadow:0 5px 16px #0f172a0f;transform:translateY(-1px)}.feature-toggle:has(.feature-toggle-input:checked){border-color:#b9d3ff;background:#f7faff}.feature-toggle-content{display:flex;min-width:0;flex:1;flex-direction:column;gap:4px}.feature-toggle-content strong{color:#1d2939;font-size:14px;font-weight:650;line-height:1.35}.feature-toggle-content span{color:#667085;font-size:12px;line-height:1.45}.feature-toggle-input{position:absolute;width:1px!important;height:1px!important;margin:0!important;padding:0!important;opacity:0;pointer-events:none}.feature-toggle-switch{position:relative;width:42px;height:24px;flex:0 0 42px;border-radius:999px;background:#d0d5dd;transition:background-color .2s ease}.feature-toggle-switch>span{position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #0f172a40;transition:transform .2s ease}.feature-toggle-input:checked+.feature-toggle-switch{background:#2563eb}.feature-toggle-input:checked+.feature-toggle-switch>span{transform:translate(18px)}.feature-toggle-input:focus-visible+.feature-toggle-switch{outline:3px solid rgb(37 99 235 / 20%);outline-offset:2px}.feature-extra-field{padding:15px;border:1px solid #dbeafe;border-radius:12px;background:#f8fbff}.feature-extra-field .settings-field{margin-bottom:0}.domain-settings{display:grid;gap:14px}.domain-note{padding:14px;border:1px solid #dbeafe;border-radius:10px;background:#eff6ff}.domain-note strong{display:block;margin-bottom:6px;color:#172033;font-size:13px}.domain-note p{margin:0;color:#52647c;font-size:12px;line-height:1.5}.domain-list{display:flex;flex-wrap:wrap;gap:8px}.domain-list span{max-width:100%;overflow:hidden;border-radius:999px;padding:6px 10px;background:#f8fafc;color:#344054;font-size:12px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.collect-information-grid{display:grid;gap:10px;margin-top:12px}.collect-information-grid .feature-toggle{min-height:58px}.background-preview{position:relative;overflow:hidden;border-radius:10px}.background-preview img{display:block;width:100%;height:130px;object-fit:cover}.background-preview button{position:absolute;right:8px;bottom:8px;border:0;border-radius:7px;padding:7px 10px;background:#0f172acc;color:#fff;cursor:pointer}.website-preview{position:relative;min-width:0;min-height:calc(100vh - 160px);overflow:hidden;border:1px solid #e5e7eb;border-radius:16px;background:radial-gradient(circle at 82% 18%,#dbeafe,transparent 32%),linear-gradient(135deg,#f8fafc,#edf4ff);box-shadow:0 12px 30px #0f172a12}.mock-navigation{display:flex;align-items:center;justify-content:space-between;padding:22px 34px;background:#ffffffe5}.mock-navigation>div{display:flex;gap:24px;color:#475467;font-size:13px}.mock-company-hero{display:flex;min-height:560px;align-items:center;padding:70px}.mock-company-hero>div{max-width:600px}.mock-company-hero h2{margin:15px 0;font-size:clamp(40px,6vw,72px);line-height:1.05}.mock-company-hero p{color:#667085;font-size:17px;line-height:1.7}.company-info-list{display:flex;flex-direction:column;gap:5px;margin-top:20px;color:#475467}.mock-company-hero button{margin-top:25px;border:0;border-radius:9px;padding:12px 20px;background:#172033;color:#fff}.custom-background-content{display:flex;min-height:calc(100vh - 160px);align-items:center;padding:70px;color:#fff}.custom-background-content>div{max-width:650px}.custom-background-content h2{margin:15px 0;font-size:clamp(42px,6vw,76px)}.custom-background-content p{font-size:18px;line-height:1.7}.custom-background-content small{display:block;margin-top:8px}.chat-widget{display:flex;width:var(--chat-width);height:var(--chat-height);flex-direction:column;overflow:hidden;border-radius:var(--chat-radius);background:var(--chat-background-color);border:1px solid var(--chat-border-color);color:var(--chat-text-color)}.chat-widget-header{display:flex;align-items:center;justify-content:space-between;padding:15px 16px;background:var(--chat-primary-color);color:var(--chat-primary-text-color)}.chat-widget-header>button{border:0;background:transparent;color:inherit;font-size:25px;cursor:pointer}.chat-widget-identity{display:flex;align-items:center;gap:10px}.chat-widget-identity strong{display:block}.chat-widget-identity span{display:flex;align-items:center;gap:5px;margin-top:4px;font-size:11px}.chat-widget-identity i{width:7px;height:7px;border-radius:50%;background:var(--chat-primary-text-color);box-shadow:0 0 0 2px color-mix(in srgb,var(--chat-primary-text-color) 24%,transparent)}.bot-avatar{display:grid;width:38px;height:38px;place-items:center;border-radius:50%;background:#fff3;font-size:12px;font-weight:700}.chat-widget-messages{flex:1;overflow-y:auto;padding:16px;background:var(--chat-background-color)}.chat-message{display:flex;margin-bottom:12px}.bot-message{justify-content:flex-start}.user-message{justify-content:flex-end}.chat-bubble{max-width:82%;padding:10px 12px;border-radius:13px;border:1px solid var(--chat-border-color);background:#fff;color:var(--chat-text-color);box-shadow:0 3px 12px #0f172a12}.user-message .chat-bubble{border-color:var(--chat-primary-color);background:var(--chat-primary-color);color:var(--chat-primary-text-color)}.chat-bubble p{margin:0;white-space:pre-wrap;font-size:13px;line-height:1.5}.chat-bubble span{display:block;margin-top:5px;font-size:9px;text-align:right;opacity:.65}.chat-widget-form{display:flex;gap:9px;padding:12px;border-top:1px solid var(--chat-border-color);background:var(--chat-surface-color)}.chat-widget-visitor-form{display:grid;gap:9px;margin:0 12px 12px;padding:13px;border:1px solid var(--chat-border-color);border-radius:13px;background:var(--chat-surface-color)}.chat-widget-visitor-form strong{color:var(--chat-text-color);font-size:14px}.chat-widget-visitor-form p{margin:0;color:var(--chat-text-color);opacity:.7;font-size:12px;line-height:1.45}.chat-widget-visitor-form label{gap:5px;font-size:12px}.chat-widget-visitor-form input{min-height:36px;border:1px solid var(--chat-border-color);border-radius:8px;background:var(--chat-surface-color);color:var(--chat-text-color);padding:8px 10px}.chat-widget-visitor-form button{min-height:38px;border:0;border-radius:999px;background:var(--chat-primary-color);color:var(--chat-primary-text-color);font-weight:800}.chat-widget-form input{min-width:0;flex:1;border:1px solid var(--chat-border-color);border-radius:22px;background:#fff;color:var(--chat-text-color);padding:10px 14px}.chat-widget-form button{width:40px;height:40px;border:0;border-radius:50%;background:var(--chat-primary-color);color:var(--chat-primary-text-color)}.chat-launcher{display:grid;width:60px;height:60px;place-items:center;border:0;border-radius:50%;background:var(--chat-primary-color);color:var(--chat-primary-text-color);box-shadow:0 15px 35px #0f172a47;cursor:pointer}.save-button,.ghost-button{border-radius:9px;padding:11px 16px;font-weight:600}.ghost-button{border:1px solid #d0d5dd;background:#fff}.save-button{border:1px solid #2563eb;background:#2563eb;color:#fff}.save-button.save-saved{border-color:#16a34a;background:#ecfdf3;color:#15803d}.save-button.save-error{border-color:#dc2626;background:#dc2626}.save-button:disabled{cursor:default;opacity:1}.copy-field{display:flex}.copy-field input{min-width:0;flex:1;border-radius:9px 0 0 9px}.copy-field button{border:1px solid #d0d5dd;border-left:0;border-radius:0 9px 9px 0;padding:0 12px}.copy-field button:disabled,.copy-embed-button:disabled{cursor:not-allowed;opacity:.55}.embed-code{overflow-x:auto;margin:0;padding:13px;border-radius:9px;background:#111827;color:#d1fae5;font-size:11px;line-height:1.6;white-space:pre-wrap}.copy-embed-button{width:100%;margin-top:9px;border:0;border-radius:9px;padding:10px;background:#172033;color:#fff;transition:background-color .2s ease,box-shadow .2s ease,transform .2s ease}.copy-embed-button.copied{background:#15803d;box-shadow:0 10px 22px #15803d38;transform:translateY(-1px)}.copy-feedback{margin:8px 0 0;color:#15803d;font-size:12px;font-weight:800}body.chatbot-focus-mode .app-sidebar{width:0;min-width:0;overflow:hidden;opacity:0}body.chatbot-focus-mode .app-main{margin-left:0}.app-sidebar,.app-main{transition:width .25s ease,margin-left .25s ease,opacity .2s ease}@media (max-width: 950px){.chatbot-page-header{align-items:flex-start;flex-direction:column}.chatbot-demo-intro,.chatbot-manager-panel,.zalo-oa-workspace,.zalo-oa-form-grid{grid-template-columns:1fr}.chatbot-subscription-notice{align-items:flex-start;flex-direction:column}.zalo-oa-oauth-panel{position:static}.chatbot-demo-copy{padding:28px}.chatbot-demo-copy h1{font-size:32px}.chatbot-workspace.settings-visible{grid-template-columns:1fr}.chatbot-settings{position:relative;top:auto;height:min(78vh,720px);max-height:min(78vh,720px)}.mock-navigation>div{display:none}.mock-company-hero,.custom-background-content{padding:35px}}.preview-workspace{display:flex;min-width:0;min-height:calc(100vh - 160px);flex-direction:column;overflow:hidden;border:1px solid #e4e7ec;border-radius:16px;background:#eef1f6;box-shadow:0 12px 30px #0f172a12}.preview-device-toolbar{position:relative;z-index:20;display:flex;min-height:62px;align-items:center;justify-content:space-between;gap:16px;padding:10px 16px;border-bottom:1px solid #e4e7ec;background:#fff}.device-selector{display:flex;gap:5px;padding:4px;border-radius:10px;background:#f2f4f7}.device-selector button{display:flex;min-height:38px;align-items:center;gap:7px;border:0;border-radius:8px;padding:8px 13px;background:transparent;color:#667085;font-size:13px;font-weight:600;cursor:pointer;transition:color .2s ease,background-color .2s ease,box-shadow .2s ease}.device-selector button:hover{color:#344054}.device-selector button.active{background:#fff;color:#175cd3;box-shadow:0 1px 4px #10182824}.device-icon{font-size:18px;line-height:1}.open-settings-button{border:1px solid #d0d5dd;border-radius:9px;padding:9px 14px;background:#fff;color:#344054;font-weight:600;cursor:pointer}.open-settings-button:hover{border-color:#84adff;color:#175cd3}.preview-canvas{display:flex;min-width:0;flex:1;align-items:flex-start;justify-content:center;overflow:auto}.preview-device-frame{position:relative;max-width:100%;flex:0 0 auto;overflow:hidden;border:1px solid #d0d5dd;background:#fff;transition:width .3s ease,height .3s ease,border-radius .3s ease,box-shadow .3s ease}.preview-device-frame.preview-desktop{width:100%!important;min-width:0;border-radius:12px;box-shadow:0 10px 24px #10182814}.preview-device-frame.preview-tablet{border:8px solid #1d2939;border-radius:24px;box-shadow:0 18px 44px #1018282e}.preview-device-frame.preview-mobile{border:8px solid #1d2939;border-radius:32px;box-shadow:0 18px 44px #10182833}.website-preview{position:relative;width:100%;height:100%;min-width:0;overflow:hidden;background:radial-gradient(circle at 82% 18%,#dbeafe,transparent 32%),linear-gradient(135deg,#f8fafc,#edf4ff)}.preview-mobile .mock-navigation{padding:18px 20px}.preview-mobile .mock-navigation>div{display:none}.preview-mobile .mock-company-hero{min-height:100%;align-items:flex-start;padding:80px 24px 140px}.preview-mobile .mock-company-hero h2{font-size:42px}.preview-mobile .mock-company-hero p{font-size:15px}.preview-tablet .mock-company-hero{padding:55px 45px 150px}.widget-preview{position:absolute;z-index:10;bottom:24px}.widget-bottom-right{right:24px}.widget-bottom-left{left:24px}.widget-top-right{right:24px;top:24px;bottom:auto}.widget-top-left{left:24px;top:24px;bottom:auto}.widget-preview.widget-mobile{right:12px;bottom:12px;left:12px}.widget-preview.widget-mobile .chat-widget{width:100%}.chat-widget{display:flex;width:var(--chat-width);height:var(--chat-height);max-width:100%;max-height:100%;flex-direction:column;overflow:hidden;border-radius:var(--chat-radius);background:var(--chat-background-color);box-shadow:0 24px 64px #0f172a47;transition:width .25s ease,height .25s ease,border-radius .25s ease}.auth-divider{display:flex;align-items:center;margin:24px 0 20px;color:#999;font-size:13px}.auth-divider:before,.auth-divider:after{content:"";flex:1;height:1px;background:#e5e7eb}.auth-divider span{padding:0 12px;white-space:nowrap}.auth-footer{text-align:center}.auth-footer p{margin:0 0 12px;color:#666;font-size:14px}.secondary-button{display:inline-flex;justify-content:center;align-items:center;width:100%;height:44px;border:1px solid #2563eb;border-radius:8px;color:#2563eb;text-decoration:none;font-weight:600;transition:all .2s ease}.secondary-button:hover{background:#2563eb;color:#fff}.login-actions{display:flex;justify-content:flex-end;margin-top:10px}.subscription-card{position:relative;display:flex;flex-direction:column;gap:22px;min-height:100%;padding:26px;border:1px solid #e5e7eb;border-radius:16px;background:#fff;box-shadow:0 14px 36px #0f172a12;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}.subscription-card:hover{border-color:#cbd5e1;box-shadow:0 18px 48px #0f172a1c;transform:translateY(-2px)}.subscription-card.current{border:2px solid #111827;box-shadow:0 22px 60px #0f172a29}.subscription-badge{position:absolute;right:16px;top:16px;background:#111827;color:#fff;padding:4px 12px;border-radius:20px;font-size:12px;font-weight:600}.subscription-header h3{margin:0 0 8px;color:#111827;font-size:24px}.subscription-header p{margin:0;min-height:40px;color:#667085;line-height:1.5}.subscription-price-block{position:relative;display:flex;flex-direction:column;gap:8px;min-height:114px;padding-bottom:18px;border-bottom:1px solid #eef2f7}.subscription-price-block div{display:flex;align-items:baseline;gap:8px}.subscription-price-block strong{color:#111827;font-size:34px;line-height:1.05}.subscription-price-block span,.subscription-price-block p{color:#667085}.subscription-price-block p{margin:0;line-height:1.5}.subscription-saving-badge{display:inline-flex;width:fit-content;padding:5px 10px;border-radius:999px;background:#ecfdf3;color:#15803d!important;font-size:12px;font-weight:700}.subscription-usage{display:flex;gap:24px}.subscription-usage div{flex:1}.subscription-usage strong{display:block;font-size:20px;color:#111827}.subscription-usage span{color:#667085}.subscription-quotas ul{margin:0;padding:0;list-style:none}.subscription-quotas li{display:flex;justify-content:space-between;padding:9px 0;border-bottom:1px solid #f1f5f9;color:#475467}.subscription-quotas li:last-child{border-bottom:0}.subscription-quotas h4{margin:0 0 10px;color:#111827}.subscription-buttons{display:flex;gap:12px}.subscription-buttons button{flex:1}.subscription-actions{margin-top:auto}.subscription-actions>.primary-button{width:100%}.subscription-billing-panel{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px;padding:18px 20px;border:1px solid #e5e7eb;border-radius:14px;background:#fff;box-shadow:0 12px 30px #0f172a0f}.subscription-billing-panel h3{margin:0 0 6px;color:#111827;font-size:18px}.subscription-billing-panel p{margin:0;color:#667085}.billing-toggle{display:grid;grid-template-columns:repeat(2,minmax(120px,1fr));gap:4px;padding:4px;border:1px solid #e5e7eb;border-radius:999px;background:#f8fafc}.billing-toggle button{min-height:40px;border:0;border-radius:999px;padding:0 18px;background:transparent;color:#475467;cursor:pointer;font-weight:700}.billing-toggle button.active{background:#111827;color:#fff;box-shadow:0 8px 18px #0f172a29}.subscription-plans-panel{padding:24px}.subscription-upgrade-panel{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:16px 0;padding:20px 22px;border:1px solid #dbeafe;border-radius:14px;background:#eff6ff}.subscription-upgrade-panel h3{margin:0 0 6px;color:#111827;font-size:18px}.subscription-upgrade-panel p{max-width:760px;margin:0;color:#475467;line-height:1.55}.subscription-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px}.subscription-badge.inline{position:static;display:inline-flex;width:fit-content;margin-bottom:12px}.current-subscription-panel{padding:24px}.current-subscription-card{display:flex;flex-direction:column;gap:24px;padding:24px;border:1px solid #ddd;border-radius:12px;background:#fff}.current-subscription-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.current-subscription-actions{display:flex;flex-wrap:wrap;gap:10px}.current-subscription-card h3{margin:0 0 8px;font-size:24px}.current-subscription-card p{margin:0;color:#666}.subscription-detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.subscription-detail-grid div{padding:16px;border-radius:8px;background:#f5f7fb}.subscription-detail-grid span{display:block;margin-bottom:8px;color:#666;font-size:13px}.subscription-detail-grid strong{font-size:18px}.purchase-modal{overflow:hidden;width:560px;max-width:calc(100vw - 32px);border:1px solid rgb(255 255 255 / 38%);border-radius:18px;background:#fff;box-shadow:0 28px 90px #0f172a59}.purchase-overlay{background:radial-gradient(circle at 24% 18%,rgb(59 130 246 / 25%),transparent 32%),radial-gradient(circle at 76% 88%,rgb(16 185 129 / 18%),transparent 34%),#0f172aad;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.purchase-modal .modal-header{align-items:flex-start;padding:24px 26px;border-bottom:1px solid #eef2f7;background:linear-gradient(135deg,#f8fafc,#fff)}.purchase-modal .modal-header h2{margin:4px 0 0;color:#111827;font-size:24px}.purchase-modal .modal-body{padding:24px 26px}.purchase-modal .modal-footer{gap:12px;padding:18px 26px 24px;border-top:1px solid #eef2f7;background:#f8fafc}.purchase-modal .modal-footer button{flex:1}.purchase-plan-summary{margin-bottom:18px;padding:18px;border:1px solid #e5e7eb;border-radius:14px;background:#111827;color:#fff}.purchase-plan-summary span{color:#cbd5e1;font-size:13px}.purchase-plan-summary strong{display:block;margin-top:6px;font-size:28px}.purchase-plan-summary p{margin:8px 0 0;color:#d1d5db;line-height:1.5}.purchase-section{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px;padding:16px;border:1px solid #e5e7eb;border-radius:14px;background:#fff}.purchase-section label{display:flex;align-items:center;gap:10px;cursor:pointer;color:#111827;font-weight:700}.purchase-section input[type=radio],.purchase-checkbox input[type=checkbox]{width:18px;height:18px;flex:0 0 18px;margin:0;accent-color:#111827}.purchase-section.selected{border-color:#111827;background:#f8fafc;box-shadow:inset 0 0 0 1px #111827}.purchase-section div{display:flex;flex-direction:column;align-items:flex-end;gap:3px}.purchase-section div strong{color:#111827;font-size:18px}.purchase-section div span{color:#667085;font-size:13px}.purchase-section div em{color:#15803d;font-size:12px;font-style:normal;font-weight:700}.purchase-checkbox{display:flex;align-items:flex-start;gap:12px;margin-top:20px;padding:16px;border:1px solid #e5e7eb;border-radius:14px;background:#fff;cursor:pointer}.purchase-checkbox span{display:flex;flex-direction:column;gap:4px}.purchase-checkbox strong{color:#111827;font-size:15px}.purchase-checkbox small{color:#667085;line-height:1.45}.purchase-summary{margin-top:24px;padding:18px;border:1px solid #dbeafe;border-radius:14px;background:#eff6ff}.purchase-summary div{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.purchase-summary strong{font-size:24px;color:#2563eb}.purchase-summary small{color:#666}@media (max-width: 760px){.payment-method-grid,.vnpay-panel,.card-payment-panel,.card-form-grid{grid-template-columns:1fr}.fake-qr-code{justify-self:center}.mock-payment-actions{flex-direction:column-reverse}.mock-payment-actions button{width:100%}.subscription-billing-panel,.subscription-upgrade-panel{align-items:stretch;flex-direction:column}.billing-toggle{width:100%}.subscription-prices,.subscription-usage{flex-direction:column}.purchase-section{align-items:flex-start;flex-direction:column}.purchase-section div{align-items:flex-start}.current-subscription-heading{flex-direction:column}.profile-form-grid,.profile-company-grid,.member-form{grid-template-columns:1fr}.profile-members-header{flex-direction:column}}
