:root { font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; color: #172033; background: #f4f7fb; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 10% 0%, #e6efff 0, transparent 35%), #f4f7fb; }
.auth-shell { display: grid; place-items: center; min-height: 100vh; padding: 24px; }.auth-card { width: min(100%, 470px); padding: 30px; border: 1px solid #e1e7f0; border-radius: 22px; background: rgba(255,255,255,.95); box-shadow: 0 24px 70px rgba(52,70,110,.12); }.auth-brand h1 { margin: 0; font-size: 30px; letter-spacing: -.04em; }.auth-brand > p:last-child { margin: 10px 0 0; color: #748096; line-height: 1.6; }.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin: 24px 0 20px; padding: 5px; border: 1px solid #e0e6f0; border-radius: 12px; background: #f7f8fc; }.auth-tab { border: 0; background: transparent; }.auth-tab.active { color: #fff; background: #5968e8; }.auth-form { display: grid; gap: 14px; }.auth-form[hidden] { display: none; }.auth-help { margin: -6px 0 0; color: #7a869c; font-size: 12px; line-height: 1.6; }.auth-back { display: flex; justify-content: center; margin-top: 18px; }
.auth-status, .admin-auth-bar { display: flex; align-items: center; gap: 9px; margin-top: 12px; color: #68758c; font-size: 13px; }.auth-status a { color: #4b5cdd; font-weight: 750; }.auth-status .button-link { padding: 6px 10px; border: 1px solid #d8deea; border-radius: 8px; background: #fff; text-decoration: none; }.auth-status button, .admin-auth-bar button { padding: 6px 10px; font-size: 12px; }.admin-auth-bar { margin: 0 0 0 auto; padding-left: 12px; }
.shell { width: min(1600px, calc(100% - 48px)); margin: 0 auto; padding: 44px 0 72px; }
header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.eyebrow { color: #5d6fe9; font-size: 12px; font-weight: 800; letter-spacing: .14em; margin: 0 0 8px; }
h1 { margin: 0; font-size: clamp(28px, 5vw, 44px); letter-spacing: -.04em; }
h2 { margin: 0; font-size: 18px; }
.muted, .section-title p { color: #748096; margin: 8px 0 0; font-size: 14px; }
.badge { border-radius: 999px; padding: 8px 12px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.badge.ok { background: #dcf8ea; color: #16734a; }.badge.pending { background: #fff0cf; color: #946a00; }.badge.fail { background: #ffe0e4; color: #af3042; }
.notice, .card { background: rgba(255,255,255,.92); border: 1px solid #e4e9f1; border-radius: 18px; box-shadow: 0 12px 30px rgba(52, 70, 110, .06); }
.notice { display: flex; gap: 12px; padding: 15px 18px; margin-bottom: 16px; font-size: 13px; color: #526078; }
.announcement-float-btn { position: fixed; top: 88px; right: 24px; z-index: 121; display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 14px 0 8px; border: 0; border-radius: 999px; color: #8d5900; background: linear-gradient(135deg, #fff2bf, #ffd978); box-shadow: 0 12px 28px rgba(169,119,20,.25); font-size: 15px; font-weight: 850; }.announcement-float-btn:hover, .announcement-float-btn.is-open { background: linear-gradient(135deg, #ffe9a1, #ffc954); transform: translateY(-2px); }.announcement-float-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; background: #c98712; font-size: 19px; }.announcement-float-btn b { min-width: 21px; padding: 2px 6px; border-radius: 999px; color: #fff; background: #d85845; font-size: 11px; text-align: center; }.announcement-panel { position: fixed; top: 148px; right: 24px; z-index: 120; display: grid; grid-template-rows: auto minmax(80px, 1fr); width: min(440px, calc(100vw - 32px)); max-height: min(600px, calc(100vh - 170px)); overflow: hidden; border: 1px solid #f0d69a; border-radius: 18px; background: rgba(255,255,255,.98); box-shadow: 0 24px 70px rgba(85,61,18,.2); }.announcement-panel[hidden] { display: none; }.announcement-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; color: #5f410a; background: linear-gradient(135deg, #fff4c9, #ffe8a0); }.announcement-panel-head strong, .announcement-panel-head small { display: block; }.announcement-panel-head strong { font-size: 18px; }.announcement-panel-head small { margin-top: 4px; color: #99732e; font-size: 12px; }.announcement-panel-head button { width: 30px; height: 30px; padding: 0; border: 0; color: #8d671f; background: transparent; font-size: 24px; line-height: 1; }.announcement-list { overflow-y: auto; padding: 14px; background: #fffdf7; }.announcement-item { padding: 14px 15px; border: 1px solid #f1dfb3; border-radius: 12px; background: #fff; }.announcement-item + .announcement-item { margin-top: 10px; }.announcement-item strong { display: block; color: #8d5900; font-size: 17px; line-height: 1.4; }.announcement-item p { margin: 7px 0 5px; color: #39445a; white-space: pre-wrap; font-size: 15px; line-height: 1.75; }.announcement-item small { color: #a28a5a; font-size: 12px; }.announcement-content-label { display: grid; margin-top: 16px; }.announcement-content-label textarea, .announcement-admin-card textarea { width: 100%; resize: vertical; border: 1px solid #d9e0ea; border-radius: 10px; padding: 11px 12px; font: inherit; color: #172033; background: #fff; outline: none; }.announcement-admin-list { display: grid; gap: 14px; }.announcement-admin-card { padding: 16px; border: 1px solid #e1e7f0; border-radius: 14px; background: #fff; }.announcement-admin-card.inactive { opacity: .65; background: #fafbfc; }.announcement-admin-head { display: flex; justify-content: space-between; gap: 14px; margin-bottom: 10px; }.announcement-admin-head h3 { margin: 0 0 5px; color: #26324a; }.announcement-admin-head small, .announcement-admin-head > span { color: #8994a7; font-size: 12px; }.announcement-admin-actions { display: grid; grid-template-columns: 1.2fr .5fr 1fr 1fr auto auto auto; gap: 8px; align-items: center; margin-top: 10px; }.announcement-admin-actions input { padding: 8px 9px; }.announcement-admin-actions .table-action { white-space: nowrap; }.announcement-admin-actions .danger { color: #a34a55; border-color: #efc8cd; }
@media (max-width: 900px) { .announcement-admin-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }.announcement-admin-actions .table-action { width: 100%; } }
@media (max-width: 650px) { .announcement-float-btn { top: 68px; right: 12px; height: 44px; }.announcement-panel { top: 122px; right: 12px; width: calc(100vw - 24px); max-height: calc(100vh - 138px); } }
.notice strong { color: #bd7110; white-space: nowrap; }
.mode-tabs { display: inline-flex; gap: 5px; padding: 5px; margin: 2px 0 4px; border: 1px solid #e0e6f0; border-radius: 13px; background: #fff; }
.mode-tab { border: 0; padding: 9px 20px; background: transparent; }.mode-tab.active { color: #fff; background: #172033; }
.admin-subnav { display: flex; gap: 8px; margin: 16px 0 4px; padding: 6px; border: 1px solid #e0e6f0; border-radius: 14px; background: rgba(255,255,255,.88); }.admin-subtab { flex: 1; border: 0; padding: 11px 18px; border-radius: 10px; background: transparent; color: #65728a; text-align: center; text-decoration: none; font-weight: 750; }.admin-subtab.active { color: #fff; background: #5968e8; box-shadow: 0 5px 14px rgba(89,104,232,.2); }.back-link { display: inline-flex; align-items: center; padding: 10px 15px; border: 1px solid #d8dfeb; border-radius: 10px; color: #34405a; background: #fff; text-decoration: none; font-weight: 750; }
.admin-launch { margin-top: 20px; }.admin-launch-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }.admin-launch-card { display: grid; gap: 10px; min-height: 170px; padding: 25px; border: 1px solid #dfe5ef; border-radius: 16px; color: inherit; background: linear-gradient(145deg, #fff, #f6f8ff); text-decoration: none; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }.admin-launch-card:hover { transform: translateY(-3px); border-color: #8995f1; box-shadow: 0 15px 28px rgba(59,73,135,.12); }.admin-launch-card strong { color: #26324a; font-size: 22px; }.admin-launch-card span { color: #6f7b91; line-height: 1.7; }.admin-launch-card b { align-self: end; color: #4b5cdd; }
.card { padding: 24px; margin: 16px 0; }.card.compact { padding: 20px; }
.profile-card { border-color: #cfd6ff; background: linear-gradient(145deg, #fff, #f5f6ff); }.profile-form { display: grid; gap: 14px; }.profile-form .actions { margin-top: 2px; }
.payment-summary { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 11px; background: #f7f8fc; color: #65728a; font-size: 14px; }.payment-summary strong { color: #3f50d0; }
.payment-enabled-toggle { display: inline-flex; margin: 4px 0 18px; }.payment-settings-grid { align-items: start; }.payment-settings-grid label { display: grid; gap: 7px; }.payment-callback-note { display: grid; gap: 5px; margin-top: 16px; padding: 12px 14px; border-radius: 10px; color: #59657a; background: #f7f8fc; font-size: 13px; }.payment-callback-note code { color: #3f50d0; }
.payment-order-summary { margin-bottom: 14px; padding: 12px 14px; border-radius: 10px; color: #59657a; background: #f7f8fc; font-size: 13px; }.payment-order-filters { display: grid; grid-template-columns: minmax(220px, 1fr) 160px auto; gap: 9px; margin-bottom: 14px; }.payment-order-filters input, .payment-order-filters select { min-width: 0; padding: 10px 11px; border: 1px solid #d9e0ea; border-radius: 9px; background: #fff; }.payment-order-filters input:focus, .payment-order-filters select:focus { border-color: #6978ec; outline: none; box-shadow: 0 0 0 3px rgba(89,104,232,.12); }.payment-order-filters button { white-space: nowrap; }.table-wrap td small { display: block; margin-top: 4px; color: #8994a7; }.table-actions { display: flex; flex-wrap: wrap; gap: 6px; }.table-action.danger { color: #a34a55; border-color: #efc8cd; }
@media (max-width: 700px) { .payment-order-filters { grid-template-columns: 1fr; } }
.payment-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin-bottom: 14px; }.payment-plan { display: grid; gap: 5px; padding: 14px; text-align: left; border: 1px solid #dce2ed; border-radius: 12px; background: #fff; }.payment-plan-name { color: #26324a; font-weight: 800; }.payment-plan strong { color: #3f50d0; font-size: 20px; }.payment-plan small { color: #7a869c; font-weight: 550; }.payment-plan.active { border-color: #5968e8; background: #f0f2ff; box-shadow: 0 0 0 2px rgba(89,104,232,.12); }.payment-plan.active .payment-plan-name { color: #3f50d0; }
.plan-create-secondary { margin-top: 16px; }.plan-admin-list { display: grid; gap: 14px; }.plan-admin-card { padding: 18px; border: 1px solid #e1e7f0; border-radius: 14px; background: #fff; box-shadow: 0 8px 22px rgba(52,70,110,.05); }.plan-admin-card.inactive { opacity: .7; background: #fafbfc; }.plan-admin-card-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 15px; }.plan-admin-card-head h3 { margin: 0 0 5px; color: #1d2941; font-size: 17px; }.plan-admin-card-head span { color: #7a869c; font-size: 12px; }.plan-admin-card-head strong { color: #3f50d0; font-size: 22px; }.plan-edit-grid { gap: 10px; }.plan-edit-grid label, .plan-admin-actions label { font-size: 12px; }.plan-edit-grid input, .plan-admin-actions input { padding: 8px 9px; }.plan-admin-actions { display: flex; align-items: end; flex-wrap: wrap; gap: 8px; margin-top: 12px; }.plan-admin-actions label { width: 130px; }.plan-admin-actions .status-pill { align-self: center; margin-left: auto; }
.section-title { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 20px; }.step { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; color: #fff; background: #5968e8; font-weight: 800; }
.grid { display: grid; gap: 16px; }.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }.grid.three { grid-template-columns: 1.2fr 1.2fr .6fr; }
label { display: grid; gap: 7px; color: #536078; font-size: 13px; font-weight: 700; }.check { display: flex; align-items: center; gap: 9px; align-self: end; padding-bottom: 12px; }.check input { width: 17px; height: 17px; accent-color: #5968e8; }
.credential-access-note { margin: 8px 0 0; color: #7a869c; font-size: 12px; }
.credentials-panel { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; margin-top: 12px; padding: 12px 14px; border: 1px solid #f0d69a; border-radius: 11px; background: #fffaf0; }.credentials-panel span, .credentials-panel strong { display: block; }.credentials-panel span { color: #99732e; font-size: 11px; }.credentials-panel strong { margin-top: 4px; color: #5f410a; font: 700 14px ui-monospace, Consolas, monospace; word-break: break-all; }.credentials-panel button { padding: 8px 10px; white-space: nowrap; }
.credential-permission-btn { margin-top: 10px; color: #5968e8; border-color: #cbd2ff; background: #f4f5ff; }
@media (max-width: 650px) { .credentials-panel { grid-template-columns: 1fr; } }
.assignment-panel { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; padding: 15px 16px; border-radius: 11px; background: #f7f8fc; color: #64718a; font-size: 14px; }.assignment-panel strong { color: #3f50d0; }
.account-usage-notice { margin-top: 12px; padding: 13px 15px; border: 1px solid #f0d69a; border-radius: 12px; color: #6d531d; background: linear-gradient(135deg, #fffaf0, #fff5d8); }.account-usage-notice-title { display: flex; align-items: center; gap: 8px; color: #8d5900; font-size: 14px; }.account-usage-notice-title span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #fff; background: #c98712; font-weight: 800; }.account-usage-notice p { margin: 8px 0 10px; font-size: 13px; line-height: 1.7; }.account-usage-check { display: inline-flex; align-items: center; gap: 8px; color: #5f410a; font-size: 12px; font-weight: 750; }.account-usage-check input { width: 16px; height: 16px; accent-color: #c98712; }
.assignment-picker { margin-top: 12px; padding: 14px; border: 1px solid #e4e9f1; border-radius: 11px; background: #fbfcff; }.assignment-picker-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; color: #536078; font-size: 13px; }.account-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 9px; }.account-choice-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; overflow: hidden; border: 1px solid #dce2ed; border-radius: 10px; background: #fff; transition: border-color .14s ease, box-shadow .14s ease, background-color .14s ease; }.account-choice-card.active { border-color: #5968e8; background: #f0f2ff; box-shadow: 0 0 0 2px rgba(89,104,232,.12); }.account-choice { display: grid; gap: 4px; min-width: 0; padding: 11px 13px; text-align: left; border: 0; border-radius: 0; background: transparent; box-shadow: none !important; }.account-choice span { overflow: hidden; color: #253047; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }.account-choice small { color: #7a869c; font-weight: 500; }.account-choice-card.active .account-choice span { color: #3f50d0; }.copy-account-btn { align-self: center; margin-right: 9px; padding: 7px 10px; border-color: #cdd4e4; border-radius: 8px; color: #536078; background: #fff; font-size: 12px; white-space: nowrap; }.copy-account-btn.copied { color: #16734a; border-color: #9edbbd; background: #e9f9f1; }.assignment-actions select { border: 1px solid #d9e0ea; border-radius: 8px; padding: 7px 9px; background: #fff; color: #172033; }.muted-inline { color: #758096; font-size: 12px; }
input { width: 100%; border: 1px solid #d9e0ea; border-radius: 10px; padding: 12px 13px; font: inherit; color: #172033; background: #fff; outline: none; }.check input { width: auto; }.check span { color: #172033; font-weight: 600; }
input:focus { border-color: #6978ec; box-shadow: 0 0 0 3px rgba(89,104,232,.12); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
button { border: 1px solid #d8dfeb; border-radius: 10px; padding: 11px 15px; background: #fff; color: #34405a; font: inherit; font-weight: 750; cursor: pointer; transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease, background-color .14s ease; }button:hover:not(:disabled) { border-color: #aeb9cf; box-shadow: 0 5px 14px rgba(45,61,96,.1); }button:active:not(:disabled) { transform: translateY(1px) scale(.98); box-shadow: none; }.primary { background: #5968e8; color: #fff; border-color: #5968e8; }.primary:hover:not(:disabled) { background: #4858dc; border-color: #4858dc; }button:disabled { opacity: .55; cursor: not-allowed; }.loading-button { display: inline-flex; align-items: center; gap: 8px; opacity: .78 !important; }.loading-button::before { content: ''; width: 14px; height: 14px; border: 2px solid #c8cfdd; border-top-color: #5968e8; border-radius: 50%; animation: button-spin .75s linear infinite; }
.result { min-height: 20px; margin: 14px 0 0; font-size: 13px; color: #526078; }.result.success { color: #16734a; }.result.error { color: #b43245; }.pending-result { color: #5968e8; animation: soft-pulse 1.1s ease-in-out infinite; }
@keyframes button-spin { to { transform: rotate(360deg); } }
@keyframes soft-pulse { 50% { opacity: .55; } }
.otp-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 18px; border-radius: 14px; background: #f5f7ff; border: 1px dashed #cbd3fc; }.state { color: #62708a; font-size: 14px; }.otp-code { min-width: 140px; text-align: center; letter-spacing: .18em; font: 800 27px ui-monospace, SFMono-Regular, Consolas, monospace; color: #3f50d0; }
pre { min-height: 60px; max-height: 180px; overflow: auto; padding: 13px; border-radius: 10px; background: #111827; color: #d5defe; font: 12px/1.6 ui-monospace, Consolas, monospace; white-space: pre-wrap; }
.table-wrap { overflow-x: auto; } table { width: 100%; border-collapse: collapse; font-size: 13px; } th, td { padding: 13px 11px; text-align: left; border-bottom: 1px solid #e7ebf2; white-space: nowrap; } th { color: #758096; font-size: 12px; } td { color: #334057; } .status-pill { display: inline-block; padding: 4px 8px; border-radius: 999px; font-weight: 700; }.status-pill.yes { color: #16734a; background: #dcf8ea; }.status-pill.paused { color: #946a00; background: #fff0cf; }.status-pill.no { color: #a34a55; background: #ffe6e9; }.expiry-text { margin-top: 5px; color: #758096; font-size: 11px; }.table-action { padding: 6px 9px; font-size: 12px; }
.limit-control, .assigned-row, .assignment-actions, .expiry-control { display: flex; align-items: center; gap: 6px; margin: 4px 0; }.limit-control input { width: 58px; padding: 6px 7px; }.expiry-control input { width: 178px; padding: 6px 7px; font-size: 12px; }.danger { color: #b43245; }
.user-card-list { display: grid; gap: 16px; }.user-card { overflow: hidden; border: 1px solid #e1e7f0; border-radius: 16px; background: #fff; box-shadow: 0 8px 22px rgba(52,70,110,.05); }.user-card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; background: linear-gradient(135deg, #f8f9ff, #f2f5ff); border-bottom: 1px solid #e6ebf3; }.user-card-head h3 { margin: 0 0 6px; color: #1d2941; font-size: 17px; }.role-label { color: #7a869c; font-size: 12px; }.user-card-grid { display: grid; grid-template-columns: 1.1fr .8fr 1.6fr; gap: 0; }.user-card-section { min-height: 132px; padding: 18px 20px; border-right: 1px solid #edf0f5; }.user-card-section:last-child { border-right: 0; }.user-card-section h4 { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 13px; color: #64718a; font-size: 12px; letter-spacing: .03em; }.user-card-section h4 span { color: #4b5cdd; font-weight: 700; }.user-meta { margin-top: 14px; color: #8a95a8; font-size: 12px; }.assigned-row { justify-content: space-between; margin: 0 0 8px; padding: 8px 10px; border: 1px solid #e8ecf3; border-radius: 9px; background: #fafbfe; }.assigned-row strong, .assigned-row small { display: block; }.assigned-row strong { color: #2e3a55; font-size: 13px; }.assigned-row small { margin-top: 3px; color: #8792a5; font-size: 11px; }.empty-inline { color: #9aa4b5; font-size: 13px; }.user-card-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; padding: 13px 20px; border-top: 1px solid #edf0f5; background: #fcfdff; }.primary-action { min-width: 92px; color: #fff; background: #5968e8; border-color: #5968e8; }.user-card-actions .danger { color: #a34a55; border-color: #efc8cd; }.empty-state { padding: 30px; text-align: center; color: #8b96a9; }
.user-search-panel { display: grid; grid-template-columns: minmax(280px, 1fr) auto auto auto; align-items: end; gap: 10px; margin: -2px 0 18px; padding: 14px; border: 1px solid #e2e7f0; border-radius: 12px; background: #f8f9fc; }.user-search-panel input { padding: 10px 12px; }.user-search-panel button { padding: 10px 15px; }.search-count { align-self: center; min-width: 110px; color: #778399; font-size: 12px; text-align: right; }
.account-expiry-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: 16px; padding: 13px 15px; border: 1px solid #dce9e3; border-radius: 11px; color: #43705c; background: #f3fbf7; font-size: 13px; }.account-expiry-summary strong { color: #24533f; }.account-expiry-summary.has-warning { color: #87610b; border-color: #f0d89b; background: #fff9e9; }.account-expiry-summary.has-expired { color: #a23142; border-color: #efbdc5; background: #fff1f3; }.account-expiry-control { display: grid; grid-template-columns: minmax(174px, 1fr) auto; align-items: center; gap: 6px; min-width: 310px; }.account-expiry-control input { min-width: 174px; padding: 6px 7px; font-size: 12px; }.expiry-badge { grid-column: 1 / -1; width: fit-content; padding: 4px 8px; border-radius: 999px; font-size: 11px; font-weight: 750; }.expiry-badge.safe { color: #16734a; background: #dcf8ea; }.expiry-badge.warning { color: #916600; background: #fff0c2; }.expiry-badge.expired { color: #b4233b; background: #ffdce2; }.account-row-actions { display: flex; flex-wrap: wrap; gap: 6px; }.renew-action { color: #3f50d0; border-color: #cbd2ff; background: #f4f5ff; }tr.account-expiring td { background: #fffaf0; }tr.account-expired td { background: #fff0f2; border-bottom-color: #efc1c8; }tr.account-expired td:first-child { box-shadow: inset 4px 0 #d53a50; color: #a51f34; font-weight: 750; }
.account-create-grid { grid-template-columns: 1.15fr 1.15fr 1.15fr .65fr; }.account-create-grid .account-note-field { grid-column: 1 / -1; }.account-test-state { margin: 10px 0 0; color: #7a869c; font-size: 12px; }.account-test-state.testing { color: #745a00; }.account-test-state.success { color: #16734a; font-weight: 700; }.account-identity { display: grid; gap: 5px; min-width: 210px; }.account-identity strong { color: #22304b; }.account-identity small { max-width: 260px; overflow: hidden; color: #7d899d; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }.danger-action { color: #b4233b; border-color: #efc1c8; background: #fff4f5; }.account-edit-row td { padding: 0; background: #f8faff !important; }.account-edit-panel { display: grid; grid-template-columns: repeat(4, minmax(180px, 1fr)) auto; align-items: end; gap: 12px; padding: 16px; border-bottom: 1px solid #dfe5f0; }.account-edit-panel label { font-size: 12px; }.account-edit-panel input { width: 100%; margin-top: 6px; padding: 8px 9px; }.account-edit-actions { display: flex; gap: 6px; padding-bottom: 1px; }
.account-edit-panel.secondary-edit-panel { grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr) auto; }
.account-batch-toolbar { display: grid; gap: 12px; margin: 0 0 16px; padding: 14px 15px; border: 1px solid #dfe5f0; border-radius: 12px; background: #f8f9fd; }.account-batch-head { display: flex; align-items: center; gap: 12px; color: #334057; font-size: 13px; }.account-batch-head span { color: #7a869c; font-size: 12px; }.account-batch-fields { display: grid; grid-template-columns: minmax(120px, .7fr) minmax(190px, 1fr) minmax(130px, .8fr) minmax(180px, 1.2fr) auto; align-items: end; gap: 9px; }.account-batch-fields label { font-size: 12px; }.account-batch-fields input, .account-batch-fields select { width: 100%; margin-top: 5px; padding: 8px 9px; border: 1px solid #d9e0ea; border-radius: 9px; font: inherit; color: #172033; background: #fff; }.account-batch-fields button { white-space: nowrap; }.select-all-label { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }.select-all-label input, .account-select { width: 16px; height: 16px; accent-color: #5968e8; }.account-status-cell { display: grid; gap: 6px; justify-items: start; }.account-connection-state { color: #8994a7; font-size: 11px; }.account-connection-state.testing { color: #916600; animation: soft-pulse 1s ease-in-out infinite; }.account-connection-state.success { color: #16734a; font-weight: 700; }.account-connection-state.failed { color: #b4233b; font-weight: 700; }
.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(23,32,51,.46); backdrop-filter: blur(3px); }.modal-backdrop[hidden] { display: none; }.confirm-modal { position: relative; width: min(100%, 430px); padding: 26px; border: 1px solid #e1e6f0; border-radius: 18px; background: #fff; box-shadow: 0 24px 70px rgba(24,35,72,.22); text-align: center; animation: modal-in .16s ease-out; }.modal-close-button { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; color: #748097; background: #f3f5f9; font-size: 22px; line-height: 1; box-shadow: none; }.modal-close-button:hover { color: #28344b; background: #e8ebf2; transform: none; }.confirm-modal-icon { display: grid; place-items: center; width: 42px; height: 42px; margin: 0 auto 12px; border-radius: 13px; color: #fff; background: #5968e8; font-weight: 800; font-size: 22px; }.confirm-modal h2 { margin: 0; color: #1d2941; font-size: 20px; }.confirm-modal-text { margin: 12px 0 22px; color: #68758c; line-height: 1.7; font-size: 14px; }.confirm-modal-actions { display: flex; justify-content: center; gap: 10px; }.confirm-modal-actions button { min-width: 116px; }.confirm-modal-actions button:disabled { opacity: .6; }
.otp-code-area { display: grid; justify-items: center; gap: 8px; min-width: 150px; }.otp-visibility-btn { padding: 5px 9px; border-radius: 8px; color: #5968e8; background: #fff; font-size: 11px; }.otp-code.is-hidden { letter-spacing: .12em; }.otp-code.is-hidden::after { content: '••••'; }.otp-code.is-hidden { font-size: 0; }.otp-code.is-hidden::after { font-size: 27px; }
@keyframes modal-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.admin-list { display: grid; gap: 10px; }
.admin-list-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 16px; border: 1px solid #e1e7f0; border-radius: 12px; background: #fbfcff; }
.admin-list-row strong { color: #26324a; }
.admin-role-pill { display: inline-block; margin-left: 9px; padding: 4px 8px; border-radius: 999px; font-size: 11px; font-weight: 750; }
.admin-role-pill.primary { color: #3f50d0; background: #eef0ff; }
.admin-role-pill.secondary { color: #16734a; background: #dcf8ea; }
.admin-role-pill.disabled { color: #a34a55; background: #ffe6e9; }
.admin-row-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
@media (max-width: 650px) { .admin-list-row { align-items: flex-start; flex-direction: column; } }
.credential-action { color: #3f50d0; border-color: #cbd2ff; background: #f4f5ff; }
.credential-modal { width: min(100%, 590px); text-align: left; }
.credential-modal .confirm-modal-icon, .credential-modal h2, .credential-modal .confirm-modal-text { text-align: center; }
.credential-fields { display: grid; gap: 14px; margin: 20px 0; }
.credential-fields > label { color: #5f6d84; font-size: 12px; font-weight: 700; }
.credential-fields input { width: 100%; margin-top: 7px; padding: 10px 11px; border: 1px solid #d9e0ea; border-radius: 9px; color: #26324a; background: #f8f9fc; font: 13px ui-monospace, SFMono-Regular, Consolas, monospace; }
.credential-input-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 7px; align-items: end; }
.credential-input-row button { padding: 10px 12px; }
@media (max-width: 560px) { .credential-input-row { grid-template-columns: 1fr 1fr; }.credential-input-row input { grid-column: 1 / -1; } }
.password-reset-modal { width: min(100%, 540px); text-align: left; }
.password-reset-modal .confirm-modal-icon, .password-reset-modal h2, .password-reset-modal .confirm-modal-text { text-align: center; }
.password-reset-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin: 18px 0 8px; }
.password-reset-fields label { color: #5f6d84; font-size: 12px; font-weight: 700; }
.password-reset-fields input { width: 100%; margin-top: 7px; padding: 10px 11px; border: 1px solid #d9e0ea; border-radius: 9px; color: #26324a; background: #fff; font: inherit; outline: none; }
.password-reset-fields input:focus { border-color: #6978ec; box-shadow: 0 0 0 3px rgba(89,104,232,.12); }
.password-reset-modal > .result { min-height: 20px; margin: 8px 0 14px; }
@media (max-width: 560px) { .password-reset-fields { grid-template-columns: 1fr; } }
@media (max-width: 980px) { .account-edit-panel { grid-template-columns: 1fr 1fr; }.account-edit-actions { align-self: end; } }
@media (max-width: 980px) { .account-create-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .account-edit-panel { grid-template-columns: 1fr; }.account-edit-actions { justify-content: flex-start; } }
@media (max-width: 980px) { .account-batch-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }.account-batch-fields button { justify-self: start; } }
@media (max-width: 650px) { .account-batch-fields { grid-template-columns: 1fr; } }
.support-card textarea, .support-admin-detail textarea { width: 100%; resize: vertical; border: 1px solid #d9e0ea; border-radius: 10px; padding: 11px 12px; font: inherit; color: #172033; background: #fff; outline: none; }.support-card textarea:focus, .support-admin-detail textarea:focus { border-color: #6978ec; box-shadow: 0 0 0 3px rgba(89,104,232,.12); }.support-ticket-list { display: grid; gap: 12px; margin-top: 16px; }.support-ticket { padding: 14px; border: 1px solid #e1e7f0; border-radius: 12px; background: #fbfcff; }.support-ticket.closed { opacity: .78; }.support-ticket-head, .support-detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }.support-ticket-head strong { display: block; color: #26324a; }.support-ticket-head small, .support-detail-head small { display: block; margin-top: 5px; color: #8994a7; font-size: 11px; }.support-status { padding: 4px 8px; border-radius: 999px; color: #916600; background: #fff0c2; font-size: 11px; font-weight: 750; white-space: nowrap; }.support-status.pending { color: #3f50d0; background: #eef0ff; }.support-status.closed { color: #68758c; background: #eef1f5; }.support-messages { display: grid; gap: 9px; margin-top: 13px; }.support-message { max-width: 92%; padding: 10px 12px; border-radius: 11px; background: #f0f3f9; }.support-message.user { justify-self: start; }.support-message.admin, .support-message.ai { justify-self: end; background: #edf0ff; }.support-message.ai { background: #e9f9f1; }.support-message.ai.pending { color: #7b6f39; background: #fff7d6; }.support-message small { color: #8994a7; font-size: 11px; }.support-message p { margin: 5px 0 0; color: #334057; white-space: pre-wrap; line-height: 1.6; }.support-reply { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 12px; }.support-admin-layout { display: grid; grid-template-columns: minmax(250px, .75fr) minmax(0, 1.6fr); gap: 16px; min-height: 430px; }.support-admin-tickets { display: grid; align-content: start; gap: 8px; padding: 8px; border: 1px solid #e2e7f0; border-radius: 12px; background: #f8f9fc; }.support-admin-ticket { display: grid; gap: 5px; padding: 12px; border: 1px solid transparent; border-radius: 10px; background: #fff; text-align: left; }.support-admin-ticket:hover { border-color: #b9c2f6; }.support-admin-ticket.active { border-color: #5968e8; background: #f0f2ff; }.support-admin-ticket strong { overflow: hidden; color: #26324a; text-overflow: ellipsis; white-space: nowrap; }.support-admin-ticket small, .support-admin-ticket time { color: #8994a7; font-size: 11px; }.support-admin-detail { padding: 16px; border: 1px solid #e2e7f0; border-radius: 12px; background: #fff; }.support-detail-head h3 { margin: 0; color: #26324a; }.support-detail-head select { min-width: 110px; padding: 8px; border: 1px solid #d9e0ea; border-radius: 9px; background: #fff; }.admin-messages { min-height: 220px; max-height: 360px; overflow-y: auto; padding: 12px 0; }.support-admin-actions { border-top: 1px solid #edf0f5; padding-top: 14px; }.support-admin-actions .actions { margin-top: 10px; }.support-ai-active { margin-top: 14px; }.support-ai-grid { grid-template-columns: 1.5fr 1fr 1.2fr; }.support-ai-grid select { width: 100%; margin-top: 7px; padding: 10px 11px; border: 1px solid #d9e0ea; border-radius: 9px; background: #fff; }
@media (max-width: 800px) { .support-admin-layout { grid-template-columns: 1fr; }.support-admin-tickets { max-height: 260px; overflow-y: auto; }.support-reply { grid-template-columns: 1fr; }.support-ai-grid { grid-template-columns: 1fr; } }
.support-float-btn { position: fixed; top: 22px; right: 24px; z-index: 120; display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 17px 0 8px; border: 0; border-radius: 999px; color: #fff; background: linear-gradient(135deg, #5968e8, #7b67e9); box-shadow: 0 12px 28px rgba(73,83,190,.3); font-size: 15px; font-weight: 800; transition: transform .18s ease, box-shadow .18s ease; }.support-float-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(73,83,190,.38); }.support-float-btn.is-open { background: linear-gradient(135deg, #4858d8, #6754d4); }.support-float-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #5968e8; background: #fff; font-size: 18px; }.support-float-label { letter-spacing: .04em; }.support-chat-panel { position: fixed; top: 82px; right: 24px; z-index: 119; display: grid; grid-template-rows: auto minmax(220px, 1fr) auto auto auto; width: min(420px, calc(100vw - 32px)); max-height: min(680px, calc(100vh - 104px)); overflow: hidden; border: 1px solid #dfe5ef; border-radius: 18px; background: rgba(255,255,255,.98); box-shadow: 0 24px 70px rgba(30,43,87,.22); }.support-chat-panel[hidden] { display: none; }.support-chat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 17px; color: #fff; background: linear-gradient(135deg, #5968e8, #6e5ee2); }.support-chat-head strong, .support-chat-head small { display: block; }.support-chat-head small { margin-top: 4px; color: rgba(255,255,255,.78); font-size: 11px; }.support-chat-head button { width: 30px; height: 30px; padding: 0; border: 0; color: #fff; background: transparent; font-size: 24px; line-height: 1; }.support-chat-body { overflow-y: auto; padding: 14px; background: #f8f9fd; }.support-chat-ticket { padding: 12px; border: 1px solid #e1e7f0; border-radius: 12px; background: #fff; }.support-chat-empty { padding: 22px 8px; color: #7a869c; text-align: center; font-size: 13px; }.support-new-ticket-fields { display: grid; gap: 8px; padding: 11px 14px 0; }.support-new-ticket-fields[hidden] { display: none; }.support-new-ticket-fields input, .support-new-ticket-fields textarea, .support-chat-compose textarea { width: 100%; border: 1px solid #d9e0ea; border-radius: 9px; padding: 9px 10px; font: inherit; color: #172033; background: #fff; resize: vertical; outline: none; }.support-chat-compose { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; padding: 11px 14px; background: #fff; }.support-chat-compose textarea { min-height: 42px; max-height: 110px; }.support-chat-panel > .result { margin: 0; padding: 0 14px 12px; }
@media (max-width: 650px) { .support-float-btn { top: 14px; right: 14px; height: 44px; padding-right: 14px; }.support-chat-panel { top: 68px; right: 12px; width: calc(100vw - 24px); max-height: calc(100vh - 82px); } }
.user-page-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 4px; margin-bottom: 20px; padding: 5px; width: 100%; border: 1px solid #dfe5ef; border-radius: 12px; background: rgba(255,255,255,.88); box-shadow: 0 5px 16px rgba(45,65,110,.04); }.user-page-nav-link { display: block; padding: 11px 15px; border-radius: 9px; color: #59657a; text-align: center; text-decoration: none; font-weight: 750; transition: background .18s ease, color .18s ease, transform .18s ease; }.user-page-nav-link:hover { color: #26324a; background: #f1f3fb; }.user-page-nav-link.active { color: #fff; background: #172033; box-shadow: 0 4px 10px rgba(23,32,51,.14); }
.payment-help-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; }.payment-help-card .section-title { margin-bottom: 0; }
@media (max-width: 650px) { .payment-help-card { align-items: stretch; flex-direction: column; }.user-page-nav-link { padding: 10px 8px; font-size: 13px; } }
.support-compose-actions { display: flex; align-items: center; gap: 7px; }.support-image-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid #d9e0ea; border-radius: 9px; color: #5968e8; background: #fff; cursor: pointer; font-size: 18px; }.support-image-btn:hover { border-color: #6978ec; background: #f4f5ff; }.support-image-preview { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 14px 10px; padding: 7px 10px; border-radius: 8px; color: #5968e8; background: #f0f2ff; font-size: 12px; }.support-image-preview button { border: 0; color: #68758c; background: transparent; font-size: 18px; cursor: pointer; }.support-attachment { display: block; margin-top: 7px; width: min(220px, 100%); }.support-attachment img { display: block; width: 100%; max-height: 180px; object-fit: cover; border-radius: 8px; background: #e9edf5; }.support-image-failed { display: block; margin-top: 7px; color: #8994a7; font-size: 12px; }.support-admin-compose { display: flex; align-items: center; gap: 8px; margin-top: 8px; }.support-admin-compose .support-image-btn { width: 34px; height: 34px; }.support-admin-compose .muted { font-size: 12px; }
.support-chat-compose.is-dragging, .support-new-ticket-fields.is-dragging, .support-admin-detail.is-dragging, .support-chat-panel.is-dragging, .support-chat-compose textarea.is-dragging, .support-admin-actions.is-dragging { border-color: #5968e8; background: #f0f2ff; box-shadow: 0 0 0 3px rgba(89,104,232,.14); }
@media (max-width: 850px) { .user-card-grid { grid-template-columns: 1fr; }.user-card-section { min-height: 0; border-right: 0; border-bottom: 1px solid #edf0f5; }.user-card-section:last-child { border-bottom: 0; } }
@media (max-width: 650px) { .shell { width: min(100% - 20px, 1600px); padding-top: 24px; } header { display: block; }.badge { display: inline-block; margin-top: 15px; }.grid.two, .grid.three, .admin-launch-grid, .user-search-panel { grid-template-columns: 1fr; }.search-count { text-align: left; }.otp-panel { grid-template-columns: 1fr; }.otp-code { text-align: left; }.user-card-head { align-items: flex-start; flex-direction: column; } }
