You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
virt/web/public/cloud/account.css

2226 lines
76 KiB
CSS

/* Account and authentication components layered on the original VM-panel
design system. Logged-in pages share its dashboard and sidebar directly;
this file only supplies components that those pages uniquely need. */
body.vu-body,
body.venix-auth {
--vu-bg: #f4f7fb;
--vu-panel: #fff;
--vu-panel-soft: #fbfcfe;
--vu-panel-tint: #eef9fa;
--vu-border: #e7ecf2;
--vu-border-strong: #d7e0e8;
--vu-text: #15243a;
--vu-text-soft: #53647a;
--vu-muted: #8390a2;
--vu-faint: #a2afbd;
--vu-brand: #159da9;
--vu-brand-strong: #0f8f9a;
--vu-brand-soft: #e7f7f8;
--vu-success: #208764;
--vu-success-soft: #e9f8f1;
--vu-warning: #a66a19;
--vu-warning-soft: #fff7e8;
--vu-danger: #c43e4b;
--vu-danger-soft: #fff0f2;
--vu-shadow: 0 10px 30px rgba(19, 42, 65, .027);
--vu-shadow-lg: 0 24px 70px rgba(17, 39, 61, .13);
color: var(--vu-text);
background: var(--vu-bg);
font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
}
body.vu-body :where(a, button, input, select, textarea),
body.venix-auth :where(a, button, input, select, textarea) {
transition: color .18s ease, background-color .18s ease, border-color .18s ease,
box-shadow .18s ease, transform .18s ease, opacity .18s ease;
}
body.vu-body :where(a, button, input, select, textarea):focus-visible,
body.venix-auth :where(a, button, input, select, textarea):focus-visible {
outline: 3px solid rgba(19, 166, 176, .24);
outline-offset: 3px;
}
body.vu-body :where(button, .vu-btn, .vu-icon-btn):disabled,
body.venix-auth :where(button, .auth-button):disabled {
cursor: not-allowed;
opacity: .52;
transform: none;
box-shadow: none;
}
/* Main content inside the shared VM-panel dashboard shell. */
body.vu-body .vu-main {
width: 100%;
max-width: 1600px;
min-width: 0;
margin: 0 auto;
padding: 37px clamp(24px, 3.3vw, 55px) 24px;
}
body.vu-body .vu-topbar {
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: 24px;
padding: 0 0 32px;
}
body.vu-body .vu-topbar > div:first-child { min-width: 0; }
body.vu-body .vu-topbar h1 {
margin: 9px 0 0;
color: var(--vu-text);
font-size: 28px;
font-weight: 750;
line-height: 1.2;
letter-spacing: -.6px;
overflow-wrap: anywhere;
}
body.vu-body .vu-kicker {
margin: 0 0 6px;
color: var(--vu-brand);
font-size: 10px;
font-weight: 850;
letter-spacing: .17em;
line-height: 1.4;
text-transform: uppercase;
}
body.vu-body :where(.vu-top-actions, .vu-support-actions) {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 10px;
}
body.vu-body .vu-btn,
body.vu-body .vu-icon-btn,
body.venix-auth .auth-button {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
min-height: 41px;
padding: 10px 17px;
color: #fff;
background: #0f9eaa;
border: 1px solid transparent;
border-radius: 9px;
box-shadow: 0 8px 17px rgba(15, 158, 170, .16);
font-size: 13px;
font-weight: 700;
line-height: 1.2;
text-align: center;
text-decoration: none;
cursor: pointer;
}
body.vu-body .vu-btn:not(:disabled):hover,
body.venix-auth .auth-button:not(:disabled):hover {
color: #fff;
background: #0b8c98;
box-shadow: 0 10px 19px rgba(15, 158, 170, .22);
transform: translateY(-1px);
}
body.vu-body .vu-btn-ghost,
body.venix-auth .auth-button-secondary {
color: #6a798d;
background: transparent;
border-color: transparent;
box-shadow: none;
}
body.vu-body .vu-btn-ghost:not(:disabled):hover,
body.venix-auth .auth-button-secondary:not(:disabled):hover {
color: #6a798d;
background: #f3f6f9;
border-color: transparent;
box-shadow: none;
}
body.vu-body .vu-btn-soft {
color: var(--vu-brand-strong);
background: var(--vu-brand-soft);
border-color: rgba(16, 155, 167, .08);
box-shadow: none;
}
body.vu-body .vu-btn-soft:not(:disabled):hover {
color: var(--vu-brand-strong);
background: #d7f1f3;
box-shadow: none;
}
body.vu-body .vu-btn-small { min-height: 34px; padding: 7px 12px; font-size: 12px; }
body.vu-body .vu-icon-btn {
width: 38px;
min-width: 38px;
min-height: 38px;
padding: 0;
color: var(--vu-brand-strong);
background: var(--vu-brand-soft);
box-shadow: none;
}
body.vu-body .vu-icon-btn:hover { background: #d5eff1; transform: translateY(-1px); }
body.vu-body .vu-theme-toggle {
min-height: 42px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 9px 13px;
color: var(--vu-text-soft);
background: var(--vu-panel);
border: 1px solid var(--vu-border-strong);
border-radius: 10px;
}
body.vu-body .vu-theme-toggle:hover {
color: var(--vu-brand-strong);
background: var(--vu-panel-tint);
border-color: rgba(18, 164, 174, .42);
}
/* Cards, summaries and responsive grids */
body.vu-body :where(.vu-card, .vu-hero-main,
.vu-edit-hero-main, .vu-invite-hero-main, .vu-pay-hero-main,
.vu-profile-hero-main, .vu-support-hero-main,
.vu-edit-summary, .vu-support-summary, .vu-pay-balance,
.vu-profile-account, .vu-invite-balance) {
min-width: 0;
padding: 26px;
color: var(--vu-text);
background: var(--vu-panel);
border: 1px solid var(--vu-border);
border-radius: 13px;
box-shadow: var(--vu-shadow);
}
body.vu-body :where(.vu-hero, .vu-edit-hero,
.vu-invite-hero, .vu-pay-hero, .vu-profile-hero, .vu-support-hero) {
display: grid;
grid-template-columns: minmax(0, 1.75fr) minmax(270px, .8fr);
gap: 20px;
margin-bottom: 22px;
}
/* Keep the support overview card readable even when the shared user-home
stylesheet is not loaded. Each metric gets a stable label/value column and
a small accent rail instead of collapsing into an unstyled text stack. */
body.vu-body .vu-support-summary {
display: grid;
grid-template-rows: repeat(3, minmax(0, 1fr));
align-content: stretch;
gap: 0;
padding: 16px 22px;
}
body.vu-body .vu-support-summary > div {
position: relative;
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
align-items: center;
gap: 14px;
min-height: 72px;
padding: 14px 0 14px 14px;
border-bottom: 1px solid var(--vu-border);
}
body.vu-body .vu-support-summary > div::before {
position: absolute;
top: 50%;
left: 0;
width: 4px;
height: 28px;
border-radius: 999px;
background: var(--vu-brand);
content: "";
transform: translateY(-50%);
}
body.vu-body .vu-support-summary > div:nth-child(2)::before { background: #36b998; }
body.vu-body .vu-support-summary > div:nth-child(3)::before { background: #aab7c2; }
body.vu-body .vu-support-summary > div:last-child { border-bottom: 0; }
body.vu-body .vu-support-summary > .is-open strong { color: var(--vu-brand-strong); }
body.vu-body .vu-support-summary > .is-closed strong { color: var(--vu-muted); }
body.vu-body .vu-support-summary > div > span {
color: var(--vu-muted);
font-size: 12px;
font-weight: 750;
}
body.vu-body .vu-support-summary > div > strong {
min-width: 2ch;
color: var(--vu-text);
font-size: 28px;
font-weight: 800;
font-variant-numeric: tabular-nums;
line-height: 1;
text-align: right;
}
body.vu-body :where(.vu-hero-main, .vu-edit-hero-main,
.vu-invite-hero-main, .vu-pay-hero-main, .vu-profile-hero-main,
.vu-support-hero-main) {
position: relative;
overflow: hidden;
padding: clamp(28px, 3vw, 40px);
background: var(--vu-panel);
}
body.vu-body :where(.vu-hero-main, .vu-edit-hero-main,
.vu-invite-hero-main, .vu-pay-hero-main, .vu-profile-hero-main,
.vu-support-hero-main)::after {
position: absolute;
right: -50px;
bottom: -85px;
width: 190px;
height: 190px;
content: "";
border: 1px solid rgba(21, 157, 169, .14);
border-radius: 50%;
box-shadow: 0 0 0 34px rgba(21, 157, 169, .045);
pointer-events: none;
}
body.vu-body :where(.vu-hero-main, .vu-edit-hero-main,
.vu-invite-hero-main, .vu-pay-hero-main, .vu-profile-hero-main,
.vu-support-hero-main) > * { position: relative; z-index: 1; }
body.vu-body :where(.vu-hero-main, .vu-edit-hero-main,
.vu-invite-hero-main, .vu-pay-hero-main, .vu-profile-hero-main,
.vu-support-hero-main) h2 {
margin: 17px 0 10px;
font-size: clamp(24px, 3vw, 32px);
line-height: 1.24;
letter-spacing: -.7px;
}
body.vu-body :where(.vu-hero-main, .vu-edit-hero-main,
.vu-invite-hero-main, .vu-pay-hero-main, .vu-profile-hero-main,
.vu-support-hero-main) p {
max-width: 720px;
margin: 0;
color: var(--vu-text-soft);
font-size: 14px;
line-height: 1.8;
}
body.vu-body .vu-text-link {
color: var(--vu-brand-strong);
font-size: 12px;
font-weight: 750;
text-decoration: none;
}
body.vu-body .vu-text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
body.vu-body :where(.vu-content-grid) {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
gap: 20px;
}
body.vu-body :where(.vu-edit-layout, .vu-invite-layout,
.vu-pay-layout, .vu-profile-layout, .vu-support-detail-layout,
.vu-support-editor-layout) {
display: grid;
grid-template-columns: minmax(0, 1.7fr) minmax(270px, .72fr);
align-items: start;
gap: 20px;
margin-bottom: 22px;
}
body.vu-body :where(.vu-content-stack,
.vu-edit-main, .vu-edit-side, .vu-invite-main, .vu-invite-side, .vu-pay-main,
.vu-pay-side, .vu-profile-main, .vu-support-thread) { min-width: 0; }
body.vu-body :where(.vu-edit-main, .vu-invite-main, .vu-pay-main, .vu-profile-main) > .vu-card + .vu-card { margin-top: 20px; }
body.vu-body .vu-card-head {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 16px;
margin-bottom: 22px;
}
body.vu-body :where(.vu-card h2, .vu-card-head h2) {
margin: 0;
color: var(--vu-text);
font-size: 19px;
line-height: 1.35;
letter-spacing: -.25px;
}
body.vu-body .vu-card > h2:first-child { margin-bottom: 10px; }
body.vu-body .vu-card-icon {
width: 42px;
height: 42px;
flex: 0 0 42px;
display: inline-flex;
align-items: center;
justify-content: center;
color: var(--vu-brand);
background: var(--vu-brand-soft);
border-radius: 11px;
font-size: 22px;
}
body.vu-body p { line-height: 1.72; }
body.vu-body :where(.vu-muted, .vu-form-message, .vu-inline-message, .vu-profile-note,
.vu-date, [class$="-hint"], [class$="-meta"], [class$="-desc"]) {
color: var(--vu-muted);
font-size: 13px;
}
body.vu-body .vu-date { font-weight: 700; }
/* Forms: checkbox/radio are deliberately excluded from text-input sizing. */
body.vu-body .vu-support-form { display: grid; gap: 18px; }
body.vu-body .vu-form-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 16px;
}
body.vu-body .vu-password-factor-grid { display: grid; gap: 16px; }
body.vu-body .vu-password-code-row { display: flex; align-items: stretch; gap: 8px; }
body.vu-body .vu-password-code-row .vu-input { min-width: 0; flex: 1 1 auto; }
body.vu-body .vu-password-code-row .vu-btn { flex: 0 0 auto; min-width: 110px; }
body.vu-body .vu-support-field {
display: flex;
flex-direction: column;
gap: 9px;
color: var(--vu-text-soft);
font-size: 13px;
font-weight: 750;
}
body.vu-body :where(.vu-input, .vu-support-input),
body.vu-body input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]):not([type="range"]):not([type="color"]),
body.vu-body select,
body.vu-body textarea {
width: 100%;
min-height: 47px;
padding: 11px 14px;
color: var(--vu-text);
background: var(--vu-panel);
border: 1px solid var(--vu-border-strong);
border-radius: 10px;
box-shadow: inset 0 1px 1px rgba(21, 42, 63, .015);
font: inherit;
}
body.vu-body :where(.vu-input, .vu-support-input)::placeholder,
body.vu-body input::placeholder,
body.vu-body textarea::placeholder { color: var(--vu-faint); }
body.vu-body :where(.vu-input, .vu-support-input):focus,
body.vu-body input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus,
body.vu-body select:focus,
body.vu-body textarea:focus {
outline: none;
border-color: #32b6bd;
box-shadow: 0 0 0 4px rgba(25, 179, 187, .11);
}
body.vu-body textarea,
body.vu-body .vu-support-textarea { min-height: 150px; resize: vertical; line-height: 1.7; }
body.vu-body input[type="file"] {
width: 100%;
padding: 9px;
color: var(--vu-muted);
background: var(--vu-panel-soft);
border: 1px dashed var(--vu-border-strong);
border-radius: 10px;
}
body.vu-body input[type="file"]::file-selector-button {
margin-right: 10px;
padding: 7px 11px;
color: var(--vu-brand-strong);
background: var(--vu-brand-soft);
border: 0;
border-radius: 7px;
font-weight: 750;
cursor: pointer;
}
body.vu-body :where(input[type="checkbox"], input[type="radio"]) {
width: 17px;
height: 17px;
flex: none;
accent-color: var(--vu-brand);
}
body.vu-body :where(.vu-form-message, .vu-inline-message) { margin: 0; line-height: 1.7; }
body.vu-body .vu-current-line {
display: flex;
align-items: center;
justify-content: space-between;
gap: 14px;
margin-bottom: 18px;
padding: 14px 16px;
background: var(--vu-panel-soft);
border: 1px solid var(--vu-border);
border-radius: 10px;
}
body.vu-body .vu-current-line :where(strong, span) { display: block; }
body.vu-body .vu-code-row {
min-width: 0;
display: flex;
align-items: center;
gap: 10px;
padding: 10px 12px;
background: var(--vu-panel-soft);
border: 1px solid var(--vu-border);
border-radius: 10px;
}
body.vu-body .vu-code-row code {
min-width: 0;
flex: 1;
color: var(--vu-text-soft);
font-size: 12px;
overflow-wrap: anywhere;
}
body.vu-body .vu-ga-setup {
display: grid;
grid-template-columns: auto minmax(0, 1fr);
align-items: start;
gap: 20px;
margin-top: 20px;
padding: 20px;
background: var(--vu-panel-soft);
border: 1px solid var(--vu-border);
border-radius: 12px;
}
body.vu-body .vu-ga-qr :where(img, canvas) {
display: block;
max-width: 150px;
padding: 8px;
background: #fff;
border-radius: 10px;
}
/* Tables, statuses and empty states */
body.vu-body :where(.vu-table-wrap, .vu-table-scroll, .vu-invoice-table-wrap) {
max-width: 100%;
overflow-x: auto;
border: 1px solid var(--vu-border);
border-radius: 11px;
-webkit-overflow-scrolling: touch;
}
body.vu-body :where(.vu-data-table, .vu-invoice-table) {
width: 100%;
min-width: 580px;
color: var(--vu-text-soft);
border-collapse: separate;
border-spacing: 0;
text-align: left;
font-size: 13px;
}
body.vu-body :where(.vu-data-table, .vu-invoice-table) :where(th, td) {
padding: 14px 15px;
border-bottom: 1px solid var(--vu-border);
vertical-align: middle;
}
body.vu-body :where(.vu-data-table, .vu-invoice-table) th {
color: var(--vu-muted);
background: var(--vu-panel-soft);
font-size: 11px;
font-weight: 800;
letter-spacing: .035em;
white-space: nowrap;
}
body.vu-body :where(.vu-data-table, .vu-invoice-table) tbody tr:last-child td { border-bottom: 0; }
body.vu-body .vu-data-table tbody tr:hover td { background: rgba(21, 157, 169, .035); }
body.vu-body .vu-table-footer {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
margin-top: 16px;
color: var(--vu-muted);
font-size: 12px;
}
body.vu-body .vu-pagination-wrap { max-width: 100%; overflow-x: auto; }
body.vu-body .vu-pagination-wrap :where(ul, nav) { margin: 0; }
body.vu-body .vu-empty-state {
min-height: 176px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 9px;
padding: 34px 18px;
color: var(--vu-muted);
text-align: center;
}
body.vu-body .vu-empty-state > i {
width: 48px;
height: 48px;
display: inline-flex;
align-items: center;
justify-content: center;
color: var(--vu-brand);
background: var(--vu-brand-soft);
border-radius: 14px;
font-size: 25px;
}
body.vu-body .vu-empty-state strong { color: var(--vu-text); font-size: 15px; }
body.vu-body .vu-empty-state span { max-width: 430px; line-height: 1.65; }
body.vu-body .vu-empty-state .vu-btn { margin-top: 8px; }
body.vu-body :where(.vu-status, .vu-pill, .vu-badge, .vu-table-pill,
.vu-support-status) {
width: fit-content;
display: inline-flex;
align-items: center;
gap: 6px;
padding: 5px 10px;
color: var(--vu-success);
background: var(--vu-success-soft);
border-radius: 999px;
font-size: 11px;
font-weight: 800;
line-height: 1.25;
}
body.vu-body .vu-support-status.is-closed { color: var(--vu-muted); background: var(--vu-panel-soft); }
body.vu-body :where(.vu-message, .vu-support-message) {
display: none;
padding: 12px 14px;
color: var(--vu-success);
background: var(--vu-success-soft);
border: 1px solid rgba(32, 135, 100, .12);
border-radius: 10px;
font-size: 13px;
line-height: 1.65;
}
body.vu-body :where(.vu-message, .vu-support-message).is-visible { display: block; }
body.vu-body :where(.vu-message, .vu-support-message).error {
color: var(--vu-danger);
background: var(--vu-danger-soft);
border-color: rgba(196, 62, 75, .12);
}
/* Tickets, account details, plans and wallet */
body.vu-body .vu-support-list { display: grid; gap: 11px; }
body.vu-body .vu-support-ticket {
display: flex;
align-items: center;
justify-content: space-between;
gap: 18px;
padding: 18px;
background: var(--vu-panel-soft);
border: 1px solid var(--vu-border);
border-radius: 11px;
}
body.vu-body .vu-support-ticket-main { min-width: 0; }
body.vu-body .vu-support-ticket-main h3 {
margin: 5px 0 6px;
color: var(--vu-text);
font-size: 15px;
overflow-wrap: anywhere;
}
body.vu-body .vu-support-ticket-main p,
body.vu-body .vu-support-id { margin: 0; color: var(--vu-muted); font-size: 11px; }
body.vu-body .vu-support-ticket-side {
flex: none;
display: flex;
align-items: center;
gap: 10px;
}
body.vu-body .vu-support-message-item {
display: flex;
gap: 15px;
margin-top: 14px;
padding: 20px;
background: var(--vu-panel);
border: 1px solid var(--vu-border);
border-radius: 12px;
}
body.vu-body .vu-support-message-item.is-admin {
background: var(--vu-panel-tint);
border-color: rgba(15, 158, 170, .2);
}
body.vu-body .vu-support-message-icon {
width: 38px;
height: 38px;
flex: 0 0 38px;
display: flex;
align-items: center;
justify-content: center;
color: var(--vu-brand);
background: var(--vu-brand-soft);
border-radius: 10px;
font-size: 21px;
}
body.vu-body .vu-support-message-body { min-width: 0; flex: 1; }
body.vu-body .vu-support-message-head {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: 12px;
color: var(--vu-muted);
font-size: 12px;
}
body.vu-body .vu-support-message-body p {
margin: 12px 0 0;
line-height: 1.8;
overflow-wrap: anywhere;
}
body.vu-body .vu-support-info {
display: grid;
gap: 0;
margin-bottom: 20px;
}
body.vu-body .vu-support-info > div {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
padding: 13px 0;
border-bottom: 1px solid var(--vu-border);
}
body.vu-body .vu-support-info span {
color: var(--vu-muted);
font-size: 12px;
}
/* Ticket composer and attachment surfaces. */
body.vu-body .vu-support-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.vu-body .vu-support-ticket-kicker {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 6px;
}
body.vu-body .vu-support-ticket-kicker .vu-support-id { flex: 0 0 auto; }
body.vu-body .vu-ticket-tag {
display: inline-flex;
align-items: center;
min-height: 20px;
padding: 2px 7px;
color: var(--vu-brand-strong);
background: var(--vu-brand-soft);
border-radius: 999px;
font-size: 10px;
font-weight: 800;
line-height: 1.25;
}
body.vu-body .vu-ticket-tag.is-high { color: #9b681d; background: #fff5df; }
body.vu-body .vu-support-ticket-main > p { display: flex; align-items: center; gap: 5px; }
body.vu-body .vu-support-ticket-main > p i { font-size: 14px; }
body.vu-body .vu-support-upload-field { display: grid; gap: 10px; }
body.vu-body .vu-support-upload-head {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 12px;
color: var(--vu-text-soft);
font-size: 13px;
font-weight: 750;
}
body.vu-body .vu-support-upload-head small { color: var(--vu-muted); font-size: 11px; font-weight: 600; }
body.vu-body .vu-support-upload-limit { color: var(--vu-muted); font-size: 11px; font-weight: 600; }
body.vu-body .vu-support-dropzone {
min-height: 112px;
display: grid;
place-items: center;
align-content: center;
gap: 4px;
padding: 16px;
color: var(--vu-text-soft);
background: var(--vu-panel-soft);
border: 1px dashed var(--vu-border-strong);
border-radius: 11px;
text-align: center;
cursor: pointer;
}
body.vu-body .vu-support-dropzone:hover,
body.vu-body .vu-support-dropzone.is-dragover {
color: var(--vu-brand-strong);
background: var(--vu-brand-soft);
border-color: var(--vu-brand);
}
body.vu-body .vu-support-dropzone i { color: var(--vu-brand); font-size: 24px; }
body.vu-body .vu-support-dropzone span { font-size: 13px; }
body.vu-body .vu-support-dropzone strong { color: var(--vu-brand-strong); }
body.vu-body .vu-support-dropzone small { color: var(--vu-muted); font-size: 11px; }
body.vu-body .vu-support-upload-field > input[type="file"] {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip: rect(0 0 0 0);
clip-path: inset(50%);
white-space: nowrap;
}
body.vu-body .vu-support-file-list {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
gap: 8px;
}
body.vu-body .vu-support-file-list[hidden] { display: none; }
body.vu-body .vu-support-file {
min-width: 0;
display: flex;
align-items: center;
gap: 8px;
padding: 8px;
background: var(--vu-panel-soft);
border: 1px solid var(--vu-border);
border-radius: 9px;
}
body.vu-body .vu-support-file-preview {
width: 38px;
height: 38px;
flex: 0 0 38px;
display: grid;
place-items: center;
overflow: hidden;
color: var(--vu-brand);
background: var(--vu-brand-soft);
border-radius: 7px;
font-size: 18px;
}
body.vu-body .vu-support-file-preview img { width: 100%; height: 100%; object-fit: cover; }
body.vu-body .vu-support-file-copy { min-width: 0; flex: 1; }
body.vu-body .vu-support-file-copy strong,
body.vu-body .vu-support-file-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.vu-body .vu-support-file-copy strong { color: var(--vu-text-soft); font-size: 11px; }
body.vu-body .vu-support-file-copy small { margin-top: 2px; color: var(--vu-muted); font-size: 10px; }
body.vu-body .vu-support-file-remove {
width: 28px;
height: 28px;
flex: 0 0 28px;
display: inline-grid;
place-items: center;
padding: 0;
color: var(--vu-muted);
background: transparent;
border: 0;
border-radius: 7px;
cursor: pointer;
}
body.vu-body .vu-support-file-remove:hover { color: var(--vu-danger); background: var(--vu-danger-soft); }
body.vu-body .vu-support-attachments { display: grid; gap: 7px; margin-top: 14px; }
body.vu-body .vu-support-attachment {
min-width: 0;
display: inline-flex;
align-items: center;
gap: 7px;
width: fit-content;
max-width: 100%;
padding: 7px 9px;
color: var(--vu-brand-strong);
background: var(--vu-brand-soft);
border-radius: 8px;
font-size: 12px;
font-weight: 700;
text-decoration: none;
}
body.vu-body .vu-support-attachment:hover { background: #d5eff1; }
body.vu-body .vu-support-attachment-thumb { width: 34px; height: 28px; flex: 0 0 34px; object-fit: cover; border-radius: 5px; background: var(--vu-panel); }
body.vu-body .vu-support-attachment span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.vu-body .vu-support-attachment small { flex: 0 0 auto; color: var(--vu-muted); font-size: 10px; font-weight: 600; }
body.vu-body :where(.vu-profile-tips, .vu-support-tips) { display: grid; gap: 11px; }
body.vu-body :where(.vu-profile-tips, .vu-support-tips) > div {
display: flex;
align-items: flex-start;
gap: 11px;
padding: 13px;
color: var(--vu-text-soft);
background: var(--vu-panel-soft);
border-radius: 10px;
font-size: 12px;
line-height: 1.65;
}
body.vu-body :where(.vu-profile-tips, .vu-support-tips) i {
flex: none;
color: var(--vu-brand);
font-size: 18px;
}
body.vu-body .vu-profile-account { display: grid; gap: 12px; }
body.vu-body .vu-profile-account > div {
min-width: 0;
display: grid;
gap: 5px;
padding-bottom: 11px;
border-bottom: 1px solid var(--vu-border);
}
body.vu-body .vu-profile-account > div:last-child { padding-bottom: 0; border-bottom: 0; }
body.vu-body .vu-profile-account span { color: var(--vu-muted); font-size: 11px; }
body.vu-body .vu-profile-account strong { overflow-wrap: anywhere; font-size: 13px; }
body.vu-body .vu-profile-note {
padding: 11px 13px;
background: var(--vu-panel-soft);
border-radius: 9px;
}
body.vu-body .vu-profile-note.is-warning { color: var(--vu-warning); background: var(--vu-warning-soft); }
body.vu-body .vu-pay-balance,
body.vu-body .vu-invite-balance {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: center;
gap: 12px;
}
body.vu-body .vu-pay-balance > span,
body.vu-body .vu-invite-balance-head { color: var(--vu-muted); font-size: 12px; font-weight: 700; }
body.vu-body .vu-pay-balance > strong { font-size: 28px; letter-spacing: -.5px; }
body.vu-body .vu-pay-methods {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
gap: 10px;
}
body.vu-body .vu-pay-code { display: flex; align-items: center; gap: 8px; }
body.vu-body .vu-pay-code code { overflow-wrap: anywhere; }
body.vu-body .vu-invite-balance-meter {
width: 100%;
height: 8px;
overflow: hidden;
background: var(--vu-border);
border-radius: 99px;
}
body.vu-body .vu-invite-balance-meter::before {
display: block;
width: 68%;
height: 100%;
content: "";
background: linear-gradient(90deg, #1bc1bd, #4bd6a1);
border-radius: inherit;
}
body.vu-body .vu-invite-balance-stats {
width: 100%;
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
}
body.vu-body .vu-invite-balance-stats > div { display: grid; gap: 4px; }
/* Invoices and dialogs */
body.vu-body .vu-invoice-shell { max-width: 1050px; margin: 18px auto 0; }
body.vu-body .vu-invoice-card {
padding: clamp(24px, 4vw, 46px);
background: var(--vu-panel);
border: 1px solid var(--vu-border);
border-radius: 14px;
box-shadow: var(--vu-shadow-lg);
}
body.vu-body :where(.vu-invoice-head, .vu-invoice-parties, .vu-invoice-bottom) {
display: flex;
justify-content: space-between;
gap: 24px;
flex-wrap: wrap;
margin-bottom: 26px;
}
body.vu-body .vu-invoice-brand img { width: 40px; }
body.vu-body .vu-invoice-total { font-size: 20px; font-weight: 800; }
body.vu-body .vu-survey-options { display: grid; gap: 10px; margin: 14px 0; }
body.vu-body .vu-survey-option {
width: 100%;
min-height: 52px;
display: flex;
align-items: center;
gap: 12px;
padding: 13px 15px;
color: var(--vu-text-soft);
background: var(--vu-panel);
border: 1px solid var(--vu-border-strong);
border-radius: 10px;
text-align: left;
}
body.vu-body .vu-survey-option:hover,
body.vu-body .vu-survey-option.is-selected,
body.vu-body .vu-survey-option[aria-pressed="true"] {
color: var(--vu-brand-strong);
background: var(--vu-brand-soft);
border-color: #35b9c0;
}
body.vu-body .vu-survey-option strong { min-width: 0; flex: 1; }
body.vu-body .vu-survey-question h3 { font-size: 16px; }
body.vu-body .vu-pay-dialog {
position: fixed;
inset: 0;
z-index: 1000;
display: none;
align-items: center;
justify-content: center;
padding: 20px;
background: rgba(5, 17, 30, .66);
backdrop-filter: blur(5px);
}
body.vu-body .vu-pay-dialog.is-open { display: flex; }
body.vu-body .vu-pay-dialog-backdrop { position: absolute; inset: 0; }
body.vu-body .vu-pay-dialog-panel {
position: relative;
z-index: 1;
width: min(100%, 500px);
max-height: min(86vh, 760px);
overflow-y: auto;
padding: 30px;
color: var(--vu-text);
background: var(--vu-panel);
border: 1px solid var(--vu-border);
border-radius: 16px;
box-shadow: 0 28px 80px rgba(4, 17, 31, .24);
}
body.vu-body .vu-pay-dialog-panel { text-align: center; }
body.vu-body .vu-modal-close {
position: absolute;
top: 14px;
right: 14px;
width: 36px;
height: 36px;
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0;
color: var(--vu-muted);
background: var(--vu-panel-soft);
border: 0;
border-radius: 9px;
font-size: 21px;
}
body.vu-body .vu-modal-close:hover { color: var(--vu-danger); background: var(--vu-danger-soft); }
body.vu-body .vu-modal-mark {
width: 52px;
height: 52px;
display: inline-flex;
align-items: center;
justify-content: center;
margin-bottom: 15px;
color: var(--vu-brand);
background: var(--vu-brand-soft);
border-radius: 15px;
font-size: 29px;
}
body.vu-body.vu-modal-lock { overflow: hidden; }
body.vu-body .vu-pay-qrcode { display: flex; justify-content: center; margin: 20px 0; }
body.vu-body .vu-pay-qrcode :where(img, canvas) {
max-width: 100%;
padding: 10px;
background: #fff;
border-radius: 12px;
}
body.vu-body .vu-pay-chain-summary {
display: flex;
justify-content: space-around;
gap: 14px;
padding: 14px;
background: var(--vu-panel-soft);
border-radius: 10px;
}
body.vu-body .vu-pay-chain-summary span,
body.vu-body .vu-pay-address small { display: grid; gap: 6px; }
body.vu-body .vu-pay-address { margin: 16px 0; }
body.vu-body .vu-pay-address code { overflow-wrap: anywhere; }
/* Disabled account */
body.vu-body .vu-disabled-page {
min-height: 100vh;
display: grid;
place-items: center;
padding: 24px;
background: radial-gradient(circle at 50% 0%, rgba(23, 172, 181, .11), transparent 36%), var(--vu-bg);
}
body.vu-body .vu-disabled-card {
width: min(100%, 560px);
padding: clamp(28px, 5vw, 48px);
text-align: center;
background: var(--vu-panel);
border: 1px solid var(--vu-border);
border-radius: 20px;
box-shadow: var(--vu-shadow-lg);
}
body.vu-body .vu-disabled-brand,
body.vu-body .vu-disabled-actions {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
}
body.vu-body .vu-disabled-mark {
width: 68px;
height: 68px;
display: inline-flex;
align-items: center;
justify-content: center;
margin: 26px 0 20px;
color: var(--vu-danger);
background: var(--vu-danger-soft);
border-radius: 20px;
font-size: 34px;
}
body.vu-body .vu-disabled-info {
display: grid;
gap: 10px;
margin: 24px 0;
padding: 16px;
text-align: left;
background: var(--vu-panel-soft);
border-radius: 11px;
}
/* Login and registration */
body.venix-auth {
min-height: 100vh;
display: flex;
flex-direction: column;
background: radial-gradient(circle at 12% 8%, rgba(41, 194, 197, .12), transparent 26%),
radial-gradient(circle at 88% 92%, rgba(42, 102, 150, .09), transparent 30%), var(--vu-bg);
}
body.venix-auth .auth-link {
padding: 9px 11px;
color: var(--vu-brand-strong);
border-radius: 9px;
font-size: 13px;
font-weight: 750;
text-decoration: none;
}
body.venix-auth .auth-link:hover { background: var(--vu-brand-soft); }
body.venix-auth .auth-shell {
width: 100%;
flex: 1;
display: grid;
place-items: center;
padding: clamp(34px, 6vw, 78px) 20px;
}
body.venix-auth .auth-story { display: none; }
body.venix-auth .auth-panel-wrap { width: min(100%, 470px); }
body.venix-auth .auth-panel {
padding: clamp(28px, 5vw, 42px);
background: rgba(255, 255, 255, .96);
border: 1px solid var(--vu-border);
border-radius: 20px;
box-shadow: var(--vu-shadow-lg);
}
body.venix-auth .auth-panel-wide {
width: min(650px, calc(100vw - 40px));
margin-left: 50%;
transform: translateX(-50%);
}
body.venix-auth .auth-title {
margin: 0 0 26px;
color: var(--vu-text);
font-size: clamp(28px, 4vw, 34px);
line-height: 1.2;
letter-spacing: -.85px;
}
body.venix-auth .auth-subtitle {
margin: -14px 0 24px;
color: var(--vu-muted);
font-size: 13px;
line-height: 1.7;
}
body.venix-auth .auth-form { display: flex; flex-direction: column; gap: 18px; }
body.venix-auth .auth-field {
min-width: 0;
display: flex;
flex-direction: column;
gap: 8px;
}
body.venix-auth .auth-field label { color: var(--vu-text-soft); font-size: 13px; font-weight: 750; }
body.venix-auth .auth-field :where(input, select, textarea) {
width: 100%;
min-height: 48px;
padding: 11px 14px;
color: var(--vu-text);
background: var(--vu-panel);
border: 1px solid var(--vu-border-strong);
border-radius: 10px;
font: inherit;
}
body.venix-auth .auth-field :where(input, select, textarea):focus {
outline: none;
border-color: #32b6bd;
box-shadow: 0 0 0 4px rgba(25, 179, 187, .11);
}
body.venix-auth .auth-field :where(input, textarea)::placeholder { color: var(--vu-faint); }
body.venix-auth .auth-row { display: flex; align-items: flex-start; gap: 12px; }
body.venix-auth .auth-row > * { min-width: 0; flex: 1; }
body.venix-auth .auth-row-inline :where(button, .auth-captcha) { flex: none; }
body.venix-auth .auth-actions {
display: flex;
align-items: center;
justify-content: space-between;
gap: 14px;
}
body.venix-auth .auth-button-block { width: 100%; }
body.venix-auth .auth-message {
display: none;
padding: 12px 14px;
border: 1px solid transparent;
border-radius: 10px;
font-size: 13px;
line-height: 1.65;
}
body.venix-auth .auth-message.is-visible { display: block; }
body.venix-auth .auth-message.error {
color: var(--vu-danger);
background: var(--vu-danger-soft);
border-color: rgba(196, 62, 75, .12);
}
body.venix-auth .auth-message.success {
color: var(--vu-success);
background: var(--vu-success-soft);
border-color: rgba(32, 135, 100, .12);
}
body.venix-auth .auth-captcha {
height: 48px;
border: 1px solid var(--vu-border);
border-radius: 10px;
cursor: pointer;
}
body.venix-auth .auth-legal-consent {
display: grid;
grid-template-columns: 18px minmax(0, 1fr);
align-items: start;
gap: 10px;
margin: 0;
color: var(--vu-muted);
font-size: 12px;
line-height: 1.65;
cursor: pointer;
}
body.venix-auth .auth-legal-consent input {
width: 16px;
height: 16px;
margin: 2px 0 0;
accent-color: var(--vu-brand);
}
body.venix-auth .auth-legal-consent a {
color: var(--vu-brand-strong);
font-weight: 800;
text-decoration: none;
}
body.venix-auth .auth-legal-consent a:hover { text-decoration: underline; }
/* Authentication pages retain their optional theme. The logged-in control
panel stays on the original VM-panel palette on every route. */
:root[data-bs-theme="dark"] body.venix-auth {
--vu-bg: #0c1724;
--vu-panel: #142438;
--vu-panel-soft: #102034;
--vu-panel-tint: #132c3c;
--vu-border: #263c52;
--vu-border-strong: #345067;
--vu-text: #e0eaf4;
--vu-text-soft: #bdcddd;
--vu-muted: #8fa3b6;
--vu-faint: #71879b;
--vu-brand: #43cbd0;
--vu-brand-strong: #74e1e4;
--vu-brand-soft: #163a49;
--vu-success: #6bd5aa;
--vu-success-soft: #15382f;
--vu-warning: #efb962;
--vu-warning-soft: #3a2d1c;
--vu-danger: #ff8d98;
--vu-danger-soft: #3b222b;
--vu-shadow: 0 10px 28px rgba(0, 0, 0, .12);
--vu-shadow-lg: 0 22px 60px rgba(0, 0, 0, .24);
color-scheme: dark;
}
:root[data-bs-theme="dark"] body.venix-auth {
background: radial-gradient(circle at 12% 8%, rgba(41, 194, 197, .1), transparent 26%),
radial-gradient(circle at 88% 92%, rgba(42, 102, 150, .11), transparent 30%), var(--vu-bg);
}
:root[data-bs-theme="dark"] body.venix-auth .auth-panel { background: rgba(20, 36, 56, .96); }
@media (max-width: 1150px) {
body.vu-body .vu-main { padding-right: 28px; padding-left: 28px; }
}
@media (max-width: 960px) {
body.vu-body .vu-main { padding: 30px 24px 24px; }
}
@media (max-width: 900px) {
body.vu-body :where(.vu-hero, .vu-edit-hero,
.vu-invite-hero, .vu-pay-hero, .vu-profile-hero, .vu-support-hero),
body.vu-body :where(.vu-edit-layout, .vu-invite-layout,
.vu-pay-layout, .vu-profile-layout, .vu-support-detail-layout,
.vu-support-editor-layout) { grid-template-columns: 1fr; }
body.vu-body .vu-support-summary {
grid-template-columns: repeat(3, minmax(0, 1fr));
grid-template-rows: none;
}
body.vu-body .vu-support-summary > div {
grid-template-columns: 1fr;
justify-items: center;
min-height: 76px;
padding: 12px 10px;
border-right: 1px solid var(--vu-border);
border-bottom: 0;
text-align: center;
}
body.vu-body .vu-support-summary > div::before {
top: 12px;
right: 0;
bottom: 12px;
left: auto;
width: 3px;
height: auto;
transform: none;
}
body.vu-body .vu-support-summary > div:last-child { border-right: 0; }
}
@media (max-width: 640px) {
body.vu-body .vu-topbar {
align-items: flex-start;
flex-direction: column;
gap: 17px;
padding-bottom: 22px;
}
body.vu-body .vu-top-actions { width: 100%; }
body.vu-body .vu-top-actions > :where(.vu-btn, .vu-theme-toggle) { flex: 1 1 auto; }
body.vu-body :where(.vu-card, .vu-hero-main,
.vu-edit-hero-main, .vu-invite-hero-main, .vu-pay-hero-main,
.vu-profile-hero-main, .vu-support-hero-main,
.vu-edit-summary, .vu-support-summary, .vu-pay-balance,
.vu-profile-account, .vu-invite-balance) { padding: 21px; border-radius: 12px; }
body.vu-body :where(.vu-form-grid) { grid-template-columns: 1fr; }
body.vu-body .vu-ga-setup { grid-template-columns: 1fr; }
body.vu-body .vu-support-ticket { align-items: flex-start; flex-direction: column; }
body.vu-body .vu-support-ticket-side { width: 100%; justify-content: space-between; }
body.vu-body .vu-support-summary {
grid-template-columns: 1fr;
grid-template-rows: repeat(3, minmax(0, auto));
padding: 14px 18px;
}
body.vu-body .vu-support-summary > div {
grid-template-columns: minmax(0, 1fr) auto;
justify-items: stretch;
min-height: 62px;
padding: 11px 0 11px 12px;
border-right: 0;
border-bottom: 1px solid var(--vu-border);
text-align: left;
}
body.vu-body .vu-support-summary > div::before {
top: 50%;
right: auto;
bottom: auto;
left: 0;
width: 3px;
height: 24px;
transform: translateY(-50%);
}
body.vu-body .vu-support-summary > div:last-child { border-bottom: 0; }
body.vu-body .vu-support-message-item { padding: 17px; }
body.vu-body .vu-table-footer { align-items: flex-start; flex-direction: column; }
body.vu-body .vu-pay-dialog { align-items: flex-end; padding: 12px; }
body.vu-body .vu-pay-dialog-panel {
max-height: 91vh;
padding: 25px 20px;
border-radius: 16px;
}
body.venix-auth .auth-shell { align-items: start; padding: 28px 14px; }
body.venix-auth .auth-panel { padding: 26px 20px; border-radius: 15px; }
body.venix-auth .auth-panel-wide {
width: 100%;
margin-left: 0;
transform: none;
}
body.venix-auth .auth-row:not(.auth-row-inline) { flex-direction: column; }
body.venix-auth .auth-row:not(.auth-row-inline) > * { width: 100%; }
body.venix-auth .auth-actions { align-items: stretch; flex-direction: column; }
body.venix-auth .auth-actions .auth-button { width: 100%; }
}
@media (max-width: 510px) {
body.vu-body .vu-main { padding: 25px 14px 24px; }
}
@media (max-width: 390px) {
body.vu-body .vu-top-actions > :where(.vu-btn, .vu-theme-toggle) {
width: 100%;
flex-basis: 100%;
}
body.vu-body .vu-support-message-icon {
width: 32px;
height: 32px;
flex-basis: 32px;
font-size: 18px;
}
body.vu-body .vu-pay-chain-summary,
body.vu-body .vu-invoice-head,
body.vu-body .vu-invoice-parties,
body.vu-body .vu-invoice-bottom { flex-direction: column; }
body.venix-auth .auth-row-inline { flex-wrap: wrap; }
body.venix-auth .auth-row-inline .auth-field { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
body.vu-body *, body.vu-body *::before, body.vu-body *::after,
body.venix-auth *, body.venix-auth *::before, body.venix-auth *::after {
scroll-behavior: auto !important;
transition-duration: .01ms !important;
animation-duration: .01ms !important;
animation-iteration-count: 1 !important;
}
}
@media print {
body.vu-body { color: #17283f !important; background: #fff !important; }
body.vu-body :where(.panel-sidebar, .panel-topbar, .vu-topbar, .vu-print-btn) { display: none !important; }
body.vu-body .user-dashboard { display: block; }
body.vu-body .vu-main { max-width: none; padding: 0; }
body.vu-body .vu-invoice-card { padding: 0; border: 0; box-shadow: none; }
}
/* Compact account and recharge surfaces used by the top-right account drawer. */
body.vu-body :where(.vu-account-workspace, .vu-recharge-workspace) {
width: 100%;
max-width: 1080px;
margin: 0 auto;
}
body.vu-body .vu-account-banner,
body.vu-body .vu-recharge-banner {
display: flex;
align-items: center;
justify-content: space-between;
gap: 28px;
margin-bottom: 20px;
padding: clamp(24px, 4vw, 37px);
color: #e8f2f6;
background: linear-gradient(130deg, #0f1f30 0%, #14394b 68%, #155367 100%);
border: 1px solid rgba(90, 216, 215, .16);
border-radius: 16px;
box-shadow: 0 18px 38px rgba(11, 34, 50, .15);
}
body.vu-body .vu-account-banner-copy,
body.vu-body .vu-recharge-banner-copy { min-width: 0; }
body.vu-body .vu-account-eyebrow {
display: block;
margin: 0 0 8px;
color: #54d8d5;
font-size: 10px;
font-weight: 850;
letter-spacing: .16em;
line-height: 1.4;
}
body.vu-body :where(.vu-account-banner h1, .vu-recharge-banner h1) {
margin: 0;
color: #f4fbfc;
font-size: clamp(25px, 4vw, 34px);
line-height: 1.2;
letter-spacing: -.7px;
}
body.vu-body :where(.vu-account-banner p, .vu-recharge-banner p) {
max-width: 670px;
margin: 12px 0 0;
color: #a7c0ca;
font-size: 13px;
line-height: 1.75;
}
body.vu-body .vu-account-banner-meta {
display: flex;
align-items: center;
flex: 0 0 auto;
gap: 11px;
min-width: 180px;
padding: 12px 14px;
background: rgba(4, 21, 34, .25);
border: 1px solid rgba(131, 231, 227, .17);
border-radius: 11px;
}
body.vu-body .vu-account-banner-meta > div { display: grid; gap: 4px; min-width: 0; }
body.vu-body .vu-account-banner-meta span:not(.vu-account-avatar) { color: #91b0bc; font-size: 11px; }
body.vu-body .vu-account-banner-meta strong { overflow-wrap: anywhere; color: #f2fbfc; font-size: 13px; }
body.vu-body .vu-account-avatar {
width: 38px;
height: 38px;
display: inline-flex;
align-items: center;
justify-content: center;
flex: 0 0 38px;
color: #57d5d3;
background: rgba(76, 213, 211, .14);
border-radius: 10px;
font-size: 20px;
}
body.vu-body .vu-security-stack { display: grid; gap: 18px; }
body.vu-body .vu-security-section,
body.vu-body .vu-recharge-card {
min-width: 0;
padding: clamp(20px, 3.2vw, 29px);
background: var(--vu-panel);
border: 1px solid var(--vu-border);
border-radius: 14px;
box-shadow: var(--vu-shadow);
}
body.vu-body .vu-security-section-head {
display: grid;
grid-template-columns: auto minmax(0, 1fr) auto;
align-items: start;
gap: 15px;
}
body.vu-body .vu-security-index {
width: 31px;
height: 31px;
display: inline-flex;
align-items: center;
justify-content: center;
color: var(--vu-brand-strong);
background: var(--vu-brand-soft);
border-radius: 9px;
font-size: 11px;
font-weight: 850;
}
body.vu-body .vu-security-section-head h2,
body.vu-body .vu-recharge-card-head h2 {
margin: 0;
color: var(--vu-text);
font-size: 20px;
line-height: 1.3;
letter-spacing: -.3px;
}
body.vu-body .vu-security-section-head p { margin: 7px 0 0; color: var(--vu-muted); font-size: 12px; line-height: 1.65; }
body.vu-body .vu-security-state {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 7px 10px;
color: var(--vu-muted);
background: var(--vu-panel-soft);
border: 1px solid var(--vu-border);
border-radius: 99px;
font-size: 11px;
font-weight: 750;
white-space: nowrap;
}
body.vu-body .vu-security-state.is-active { color: var(--vu-success); background: var(--vu-success-soft); border-color: rgba(32, 135, 100, .12); }
body.vu-body .vu-security-state i { font-size: 16px; }
body.vu-body .vu-security-content { display: grid; gap: 17px; margin: 24px 0 0 46px; padding-top: 22px; border-top: 1px solid var(--vu-border); }
body.vu-body .vu-security-status-card,
body.vu-body .vu-factor-card {
display: flex;
align-items: flex-start;
gap: 11px;
min-width: 0;
padding: 14px;
background: var(--vu-panel-soft);
border: 1px solid var(--vu-border);
border-radius: 10px;
}
body.vu-body .vu-security-status-card > i,
body.vu-body .vu-factor-card-head > i { flex: 0 0 auto; color: var(--vu-brand); font-size: 20px; }
body.vu-body .vu-security-status-card > div,
body.vu-body .vu-factor-card-head > div { display: grid; gap: 4px; min-width: 0; }
body.vu-body .vu-security-status-card strong,
body.vu-body .vu-factor-card strong { color: var(--vu-text); font-size: 13px; }
body.vu-body .vu-security-status-card span,
body.vu-body .vu-factor-card span { color: var(--vu-muted); font-size: 12px; line-height: 1.55; }
body.vu-body .vu-security-status-card.is-muted { color: var(--vu-muted); }
body.vu-body .vu-security-form { max-width: 660px; }
body.vu-body .vu-security-form-danger { padding-top: 17px; border-top: 1px dashed var(--vu-border); }
body.vu-body .vu-ga-setup-compact { margin-top: 0; }
body.vu-body .vu-password-form { max-width: 820px; }
body.vu-body .vu-password-factor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.vu-body .vu-password-factor-grid > :only-child { grid-column: 1 / -1; }
body.vu-body .vu-factor-card { display: grid; gap: 13px; }
body.vu-body .vu-factor-card-head { display: flex; align-items: flex-start; gap: 10px; }
body.vu-body .vu-factor-card .vu-input { min-width: 0; }
body.vu-body .vu-recharge-stack { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(270px, .7fr); align-items: start; gap: 18px; }
body.vu-body .vu-recharge-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 21px; }
body.vu-body .vu-recharge-card-icon { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 42px; color: #fff; background: var(--vu-brand); border-radius: 11px; font-size: 21px; }
body.vu-body .vu-recharge-card-icon.is-soft { color: var(--vu-brand); background: var(--vu-brand-soft); }
body.vu-body .vu-recharge-balance { display: flex; flex: 0 0 auto; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 160px; padding: 15px 17px; background: rgba(4, 21, 34, .25); border: 1px solid rgba(131, 231, 227, .17); border-radius: 11px; }
body.vu-body .vu-recharge-balance > span { color: #91b0bc; font-size: 11px; }
body.vu-body .vu-recharge-balance strong { color: #f3fbfc; font-size: 24px; letter-spacing: -.4px; }
body.vu-body .vu-recharge-balance .vu-btn { min-height: 34px; padding: 8px 11px; color: #9be8e7; background: rgba(75, 211, 210, .12); border-color: rgba(92, 218, 215, .15); box-shadow: none; font-size: 11px; }
body.vu-body .vu-recharge-form { max-width: 620px; }
body.vu-body .vu-amount-field { position: relative; }
body.vu-body .vu-amount-field > span { position: absolute; top: 50%; left: 14px; z-index: 1; color: var(--vu-brand-strong); font-size: 16px; font-weight: 850; transform: translateY(-50%); }
body.vu-body .vu-amount-field .vu-input { padding-left: 34px; font-size: 17px; font-weight: 700; }
body.vu-body .vu-recharge-methods { min-height: 42px; margin-top: 2px; }
body.vu-body .vu-recharge-method { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 45px; padding: 10px 14px; color: var(--vu-text-soft); background: var(--vu-panel); border: 1px solid var(--vu-border-strong); border-radius: 10px; font-size: 12px; font-weight: 750; cursor: pointer; }
body.vu-body .vu-recharge-method:hover { color: var(--vu-brand-strong); background: var(--vu-brand-soft); border-color: #35b9c0; transform: translateY(-1px); }
body.vu-body .vu-recharge-method i { color: var(--vu-brand); font-size: 18px; }
body.vu-body .vu-method-loading { display: inline-flex; align-items: center; gap: 8px; color: var(--vu-muted); font-size: 12px; }
body.vu-body .vu-recharge-notes { min-height: 100%; }
body.vu-body .vu-recharge-tip-list { display: grid; gap: 10px; }
body.vu-body .vu-recharge-tip-list > div { display: flex; align-items: flex-start; gap: 10px; padding: 12px; color: var(--vu-text-soft); background: var(--vu-panel-soft); border-radius: 9px; font-size: 12px; line-height: 1.65; }
body.vu-body .vu-recharge-tip-list i { flex: 0 0 auto; color: var(--vu-brand); font-size: 18px; }
body.vu-body .vu-recharge-history { margin-top: 18px; }
@media (max-width: 760px) {
body.vu-body .vu-account-banner,
body.vu-body .vu-recharge-banner { align-items: flex-start; flex-direction: column; }
body.vu-body .vu-account-banner-meta,
body.vu-body .vu-recharge-balance { width: 100%; }
body.vu-body .vu-recharge-stack { grid-template-columns: 1fr; }
body.vu-body .vu-security-content { margin-left: 0; }
}
@media (max-width: 560px) {
body.vu-body .vu-security-section-head { grid-template-columns: auto minmax(0, 1fr); }
body.vu-body .vu-security-state { grid-column: 2; justify-self: start; }
body.vu-body .vu-password-factor-grid { grid-template-columns: 1fr; }
body.vu-body .vu-ga-setup-compact { grid-template-columns: 1fr; }
body.vu-body .vu-account-banner,
body.vu-body .vu-recharge-banner { padding: 22px 19px; }
}
/* Compact drawer pages: one visual language for account, recharge and referral. */
body.vu-embedded :where(.vu-account-banner, .vu-recharge-banner, .vu-invite-hero, .vu-invite-stats, .vu-invite-layout) { display: none !important; }
body.vu-body .vu-drawer-page {
width: 100%;
max-width: 720px;
margin: 0 auto;
padding: 4px 0 24px;
}
body.vu-body .vu-drawer-page-title {
display: flex;
align-items: center;
justify-content: space-between;
gap: 14px;
min-height: 58px;
margin-bottom: 14px;
padding: 4px 2px 15px;
border-bottom: 1px solid var(--vu-border);
}
body.vu-body .vu-drawer-title-main {
display: flex;
align-items: center;
gap: 11px;
min-width: 0;
}
body.vu-body .vu-drawer-title-icon,
body.vu-body .vu-summary-icon {
display: inline-flex;
align-items: center;
justify-content: center;
flex: 0 0 auto;
color: var(--vu-brand-strong);
background: var(--vu-brand-soft);
border-radius: 10px;
}
body.vu-body .vu-drawer-title-icon { width: 42px; height: 42px; font-size: 21px; }
body.vu-body .vu-drawer-title-main > div { min-width: 0; }
body.vu-body .vu-drawer-page-title h1 {
margin: 0;
color: var(--vu-text);
font-size: 18px;
font-weight: 800;
line-height: 1.35;
}
body.vu-body .vu-drawer-page-title p {
margin: 3px 0 0;
color: var(--vu-muted);
font-size: 11px;
line-height: 1.45;
}
body.vu-body .vu-drawer-page-title p strong { color: var(--vu-brand-strong); font-size: 13px; }
body.vu-body .vu-drawer-state,
body.vu-body .vu-summary-status,
body.vu-body .vu-panel-badge,
body.vu-body .vu-summary-count {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 5px;
flex: 0 0 auto;
padding: 5px 8px;
color: var(--vu-muted);
background: #f4f7f9;
border-radius: 99px;
font-size: 10px;
font-weight: 800;
white-space: nowrap;
}
body.vu-body :where(.vu-drawer-state, .vu-summary-status).is-active { color: var(--vu-success); background: var(--vu-success-soft); }
body.vu-body .vu-text-action { color: var(--vu-brand-strong); font-size: 11px; font-weight: 750; text-decoration: none; white-space: nowrap; }
body.vu-body .vu-text-action:hover { color: #087985; }
body.vu-body .vu-compact-stack { display: grid; gap: 10px; }
body.vu-body .vu-compact-panel {
min-width: 0;
margin: 0;
padding: 0;
background: #fff;
border: 1px solid var(--vu-border);
border-radius: 12px;
box-shadow: 0 5px 18px rgba(24, 54, 75, .035);
overflow: hidden;
}
body.vu-body details.vu-compact-panel > summary {
display: grid;
grid-template-columns: auto minmax(0, 1fr) auto auto;
align-items: center;
gap: 10px;
min-height: 68px;
padding: 12px 14px;
cursor: pointer;
list-style: none;
-webkit-tap-highlight-color: transparent;
}
body.vu-body details.vu-compact-panel > summary::-webkit-details-marker { display: none; }
body.vu-body details.vu-compact-panel > summary:hover { background: #fbfdfd; }
body.vu-body .vu-summary-icon { width: 36px; height: 36px; font-size: 18px; }
body.vu-body .vu-summary-copy { display: grid; gap: 3px; min-width: 0; }
body.vu-body .vu-summary-copy strong { color: var(--vu-text); font-size: 13px; line-height: 1.35; }
body.vu-body .vu-summary-copy small { color: var(--vu-muted); font-size: 11px; line-height: 1.45; }
body.vu-body .vu-summary-chevron { color: #9aacb8; font-size: 19px; transition: transform .18s ease; }
body.vu-body details[open] > summary .vu-summary-chevron { color: var(--vu-brand); transform: rotate(180deg); }
body.vu-body .vu-compact-panel-body { padding: 14px; border-top: 1px solid var(--vu-border); }
body.vu-body .vu-compact-panel-heading {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
padding: 14px 14px 12px;
border-bottom: 1px solid var(--vu-border);
}
body.vu-body .vu-panel-kicker { display: block; margin-bottom: 3px; color: var(--vu-brand); font-size: 8px; font-weight: 850; letter-spacing: .15em; }
body.vu-body .vu-compact-panel-heading h2 { margin: 0; color: var(--vu-text); font-size: 15px; line-height: 1.4; }
body.vu-body .vu-compact-hint { margin: 0; color: var(--vu-muted); font-size: 10px; line-height: 1.55; }
body.vu-body .vu-compact-panel-heading + :where(.vu-compact-form, .vu-compact-link-row, .vu-inline-empty) { margin-right: 14px; margin-left: 14px; }
body.vu-body .vu-compact-panel-heading + .vu-compact-form { margin-top: 14px; margin-bottom: 14px; }
body.vu-body .vu-referral-hint { display: flex; align-items: center; gap: 7px; width: calc(100% - 28px); max-width: none; margin: 12px 14px 0; padding: 9px 10px; box-sizing: border-box; background: #f7fbfb; border-radius: 8px; line-height: 1.5; }
body.vu-body .vu-referral-hint i { flex: 0 0 auto; margin-top: 0; color: var(--vu-brand); font-size: 14px; line-height: 1; }
body.vu-body .vu-referral-hint span { min-width: 0; line-height: 1.5; }
body.vu-body .vu-compact-form { display: grid; align-items: end; gap: 11px; }
body.vu-body .vu-compact-form > .vu-btn { justify-self: start; }
body.vu-body .vu-compact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
body.vu-body .vu-compact-field { display: grid; gap: 6px; min-width: 0; color: var(--vu-text-soft); font-size: 11px; font-weight: 750; }
body.vu-body .vu-compact-field .vu-input,
body.vu-body .vu-factor-line .vu-input { min-height: 40px; padding: 8px 11px; border-radius: 8px; font-size: 12px; }
body.vu-body .vu-inline-status,
body.vu-body .vu-inline-empty {
display: flex;
align-items: center;
gap: 8px;
min-width: 0;
padding: 9px 11px;
color: var(--vu-text-soft);
background: #f7fbfb;
border-radius: 8px;
font-size: 11px;
}
body.vu-body .vu-inline-status i,
body.vu-body .vu-inline-empty i { flex: 0 0 auto; color: var(--vu-brand); font-size: 17px; }
body.vu-body .vu-inline-status span { color: var(--vu-text); font-weight: 750; }
body.vu-body .vu-inline-status small { margin-left: auto; color: var(--vu-muted); font-size: 10px; text-align: right; }
body.vu-body .vu-compact-panel-body > * + * { margin-top: 12px; }
body.vu-body .vu-compact-danger,
body.vu-body .vu-compact-divider { padding-top: 12px; border-top: 1px dashed var(--vu-border); }
body.vu-body .vu-totp-setup-compact { display: grid; grid-template-columns: 136px minmax(0, 1fr); align-items: start; gap: 14px; }
body.vu-body .vu-totp-setup-compact .vu-ga-qr { min-height: 136px; display: grid; place-items: center; padding: 7px; background: #fff; border: 1px solid var(--vu-border); border-radius: 10px; }
body.vu-body .vu-totp-setup-compact .vu-ga-qr :where(img, canvas) { width: 120px !important; height: 120px !important; max-width: 120px; padding: 0; border-radius: 6px; }
body.vu-body .vu-totp-setup-copy { display: grid; gap: 10px; min-width: 0; }
body.vu-body .vu-totp-setup-copy > p { margin: 0; color: var(--vu-muted); font-size: 10px; line-height: 1.55; }
body.vu-body .vu-totp-setup-copy .vu-code-row { padding: 7px 8px; border-radius: 8px; }
body.vu-body .vu-totp-setup-copy .vu-code-row code { font-size: 10px; }
body.vu-body .vu-totp-setup-copy .vu-icon-btn { width: 32px; min-width: 32px; min-height: 32px; }
body.vu-body .vu-factor-line { display: grid; gap: 7px; padding: 10px; background: #f8fafc; border-radius: 9px; }
body.vu-body .vu-factor-line-title { display: flex; align-items: center; gap: 6px; color: var(--vu-text-soft); font-size: 11px; font-weight: 750; }
body.vu-body .vu-factor-line-title i { color: var(--vu-brand); font-size: 16px; }
body.vu-body .vu-password-code-row .vu-btn { min-width: 74px; }
body.vu-body .vu-amount-field { position: relative; }
body.vu-body .vu-amount-field > b { position: absolute; top: 50%; left: 12px; z-index: 1; display: inline-grid; width: 12px; place-items: center; color: var(--vu-brand-strong); font-size: 15px; line-height: 1; pointer-events: none; transform: translateY(-50%); }
body.vu-body .vu-amount-field .vu-input { box-sizing: border-box; width: 100%; min-width: 0; min-height: 48px; padding-left: 30px !important; padding-inline-start: 30px !important; font-size: 18px; font-weight: 800; }
body.vu-body .vu-recharge-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; min-height: 0; margin: 0; }
body.vu-body .vu-recharge-methods[hidden] { display: none; }
body.vu-body .vu-recharge-method { width: 100%; min-height: 42px; padding: 8px 10px; border-radius: 8px; }
body.vu-body .vu-method-loading { grid-column: 1 / -1; min-height: 42px; justify-content: center; }
body.vu-body .vu-promotion-balance { display: grid; gap: 1px; flex: 0 0 auto; text-align: right; }
body.vu-body .vu-promotion-balance span { color: var(--vu-muted); font-size: 9px; }
body.vu-body .vu-promotion-balance strong { color: var(--vu-brand-strong); font-size: 16px; }
body.vu-body .vu-link-panel { padding-bottom: 14px; }
body.vu-body .vu-link-panel > .vu-btn { margin: 10px 14px 0; }
body.vu-body .vu-compact-link-row { display: flex; align-items: center; gap: 7px; margin: 10px 14px 0; padding: 8px 9px; background: #f7fafb; border: 1px solid var(--vu-border); border-radius: 8px; }
body.vu-body .vu-compact-link-row code { min-width: 0; flex: 1; color: var(--vu-text-soft); font-size: 10px; line-height: 1.45; overflow-wrap: anywhere; }
body.vu-body .vu-compact-link-row .vu-icon-btn { width: 34px; min-width: 34px; min-height: 34px; }
body.vu-body .vu-total-rebate { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 14px; background: linear-gradient(135deg, #f4fbfb, #fbfefe); border: 1px solid #d9f0f1; border-radius: 10px; }
body.vu-body .vu-total-rebate-main,
body.vu-body .vu-total-rebate-available { display: grid; gap: 3px; min-width: 0; }
body.vu-body .vu-total-rebate-main span,
body.vu-body .vu-total-rebate-available span { color: var(--vu-text-soft); font-size: 10px; font-weight: 750; }
body.vu-body .vu-total-rebate-main strong { color: var(--vu-brand-strong); font-size: 21px; line-height: 1.15; letter-spacing: -.02em; }
body.vu-body .vu-total-rebate-main strong b { margin-right: 5px; font-size: 15px; font-weight: 800; }
body.vu-body .vu-total-rebate-available { justify-items: end; text-align: right; }
body.vu-body .vu-total-rebate-available strong { color: var(--vu-text-soft); font-size: 12px; line-height: 1.25; }
body.vu-body .vu-history-body { padding: 10px; }
body.vu-body .vu-compact-table { min-width: 440px; }
body.vu-body .vu-compact-table th { padding: 8px 9px; font-size: 9px; }
body.vu-body .vu-compact-table td { padding: 9px; font-size: 10px; }
body.vu-body .vu-history-body .vu-table-footer { padding: 10px 2px 0; font-size: 10px; }
body.vu-body { min-width: 0; overflow-x: hidden; }
body.vu-embedded { width: 100%; max-width: 100%; min-width: 0; overflow-x: hidden; }
body.vu-embedded .vu-main,
body.vu-embedded .vu-drawer-page,
body.vu-embedded .vu-compact-stack,
body.vu-embedded .vu-compact-panel { box-sizing: border-box; min-width: 0; max-width: 100%; }
body.vu-embedded .vu-main { padding: 14px 16px 24px !important; overflow-x: hidden; }
body.vu-embedded .vu-drawer-page-title { display: none; }
body.vu-embedded .vu-drawer-page { max-width: none; padding-top: 0; }
@media (max-width: 560px) {
body.vu-body .vu-drawer-page { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
body.vu-body .vu-drawer-page-title { align-items: flex-start; flex-wrap: wrap; }
body.vu-body .vu-drawer-title-main { flex: 1 1 160px; min-width: 0; }
body.vu-body .vu-drawer-state,
body.vu-body .vu-text-action { margin-top: 4px; }
body.vu-body .vu-promotion-balance { flex: 1 0 100%; display: flex; align-items: baseline; gap: 6px; margin: 6px 0 0 53px; text-align: left; }
body.vu-body .vu-recharge-methods { grid-template-columns: 1fr; }
body.vu-body .vu-compact-panel-heading { flex-wrap: wrap; }
body.vu-body .vu-panel-badge { max-width: 100%; white-space: normal; }
body.vu-body .vu-total-rebate { align-items: flex-start; }
body.vu-body .vu-total-rebate-available { margin-left: auto; }
body.vu-body .vu-totp-setup-compact { grid-template-columns: 1fr; }
body.vu-body .vu-totp-setup-compact .vu-ga-qr { width: 136px; }
body.vu-body .vu-inline-status { align-items: flex-start; flex-wrap: wrap; }
body.vu-body .vu-inline-status small { width: 100%; margin-left: 25px; text-align: left; }
body.vu-body .vu-summary-status { display: none; }
body.vu-body details.vu-compact-panel > summary { grid-template-columns: auto minmax(0, 1fr) auto; }
}
@media (max-width: 420px) {
body.vu-body .vu-compact-grid { grid-template-columns: 1fr; }
body.vu-body #vuProfileForm .vu-compact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (pointer: coarse) {
/* iOS/Android apply a transient tap highlight while <summary> toggles.
It looks like a shadow flash over the compact drawer cards. */
body.vu-body details.vu-compact-panel > summary,
body.vu-body details.vu-compact-panel > summary * {
-webkit-tap-highlight-color: transparent;
}
body.vu-body details.vu-compact-panel > summary:focus,
body.vu-body details.vu-compact-panel > summary:focus-visible {
outline: none;
}
}
@media (max-width: 360px) {
body.vu-body:not(.vu-embedded) .vu-drawer-page-title { display: block; }
body.vu-body:not(.vu-embedded) .vu-drawer-title-main { width: 100%; }
body.vu-body:not(.vu-embedded) .vu-promotion-balance { margin-left: 0; }
body.vu-body .vu-drawer-title-icon { width: 34px; height: 34px; }
body.vu-body .vu-compact-panel-heading { display: block; }
body.vu-body .vu-panel-badge { display: inline-flex; margin-top: 5px; }
body.vu-embedded .vu-main { padding-right: 8px !important; padding-left: 8px !important; }
}
/* Lightweight account feedback: keep confirmations and results in a compact
bottom-corner card instead of blocking the whole drawer. */
body.vu-body .vu-toast-region {
position: fixed;
right: 16px;
right: max(16px, env(safe-area-inset-right));
bottom: 16px;
bottom: max(16px, env(safe-area-inset-bottom));
z-index: 1400;
display: grid;
gap: 9px;
width: min(380px, calc(100vw - 32px));
pointer-events: none;
}
body.vu-body .vu-toast {
position: relative;
display: grid;
grid-template-columns: 34px minmax(0, 1fr) auto;
align-items: start;
gap: 10px;
min-width: 0;
padding: 13px 13px 14px;
overflow: hidden;
color: var(--vu-text);
background: rgba(255, 255, 255, .98);
border: 1px solid var(--vu-border);
border-radius: 13px;
box-shadow: 0 16px 38px rgba(15, 40, 58, .18);
opacity: 0;
transform: translate3d(24px, 10px, 0) scale(.97);
pointer-events: auto;
transition: opacity .18s ease, transform .18s ease;
}
body.vu-body .vu-toast.is-visible { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
body.vu-body .vu-toast::after {
position: absolute;
right: 0;
bottom: 0;
left: 0;
height: 2px;
content: "";
background: var(--vu-brand);
transform-origin: left center;
animation: vu-toast-progress var(--vu-toast-duration, 2800ms) linear forwards;
}
body.vu-body .vu-toast.is-error::after { background: var(--vu-danger); }
body.vu-body .vu-toast.is-warning::after { background: #c88a25; }
body.vu-body .vu-toast-icon {
width: 34px;
height: 34px;
display: grid;
place-items: center;
color: var(--vu-brand-strong);
background: var(--vu-brand-soft);
border-radius: 10px;
font-size: 18px;
}
body.vu-body .vu-toast.is-error .vu-toast-icon { color: var(--vu-danger); background: var(--vu-danger-soft); }
body.vu-body .vu-toast.is-warning .vu-toast-icon { color: #a56b17; background: #fff5df; }
body.vu-body .vu-toast-copy { min-width: 0; padding-top: 1px; }
body.vu-body .vu-toast-title { display: block; color: var(--vu-text); font-size: 12px; line-height: 1.35; }
body.vu-body .vu-toast-message { margin: 4px 0 0; color: var(--vu-muted); font-size: 11px; line-height: 1.55; overflow-wrap: anywhere; }
body.vu-body .vu-toast-close {
width: 26px;
height: 26px;
display: grid;
place-items: center;
padding: 0;
color: #8aa0ad;
background: transparent;
border: 0;
border-radius: 7px;
font-size: 16px;
}
body.vu-body .vu-toast-close:hover { color: var(--vu-text); background: var(--vu-panel-soft); }
body.vu-body .vu-toast-actions { grid-column: 2 / -1; display: flex; justify-content: flex-end; gap: 7px; margin-top: 2px; }
body.vu-body .vu-toast-actions .vu-btn { min-width: 64px; min-height: 32px; padding: 6px 10px; font-size: 11px; }
@keyframes vu-toast-progress { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) {
body.vu-body .vu-toast { transition: none; }
body.vu-body .vu-toast::after { animation: none; }
}
@media (max-width: 560px) {
body.vu-body .vu-toast-region { right: 10px; right: max(10px, env(safe-area-inset-right)); bottom: 10px; bottom: max(10px, env(safe-area-inset-bottom)); width: min(380px, calc(100vw - 20px)); }
}
@media (max-width: 640px) {
body.vu-body .vu-support-form-grid { grid-template-columns: 1fr; }
body.vu-body .vu-support-upload-head { align-items: flex-start; flex-direction: column; gap: 3px; }
body.vu-body .vu-support-upload-limit { font-size: 10px; }
}
/* The login and registration pages intentionally reuse the original
virsh-cloud split-screen visual language. Authentication behavior remains
in the current PHP templates and VenixAuth runtime. */
body.venix-auth.virsh-auth {
min-width: 320px;
min-height: 100vh;
min-height: 100svh;
display: block;
overflow-x: hidden;
color: #15243a;
background: #fff;
}
body.venix-auth.virsh-auth .auth-shell-virsh {
width: 100%;
min-height: 100vh;
min-height: 100svh;
display: grid;
grid-template-columns: minmax(390px, 48%) minmax(0, 1fr);
place-items: stretch;
padding: 0;
}
body.venix-auth.virsh-auth .auth-story-virsh {
position: relative;
min-height: 650px;
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 150px clamp(38px, 5vw, 90px) 43px;
overflow: hidden;
color: #fff;
background: radial-gradient(circle at 78% 44%, #174c64 0, #122d44 36%, #0d1d31 75%);
}
body.venix-auth.virsh-auth .virsh-auth-art-grid {
position: absolute;
inset: 0;
background-image:
linear-gradient(rgba(143, 221, 226, .065) 1px, transparent 1px),
linear-gradient(90deg, rgba(143, 221, 226, .065) 1px, transparent 1px);
background-size: 50px 50px;
mask-image: linear-gradient(90deg, transparent, #000);
pointer-events: none;
}
body.venix-auth.virsh-auth .auth-story-main {
position: relative;
z-index: 2;
max-width: 500px;
margin: auto 0;
}
body.venix-auth.virsh-auth .auth-kicker,
body.venix-auth.virsh-auth .auth-eyebrow {
display: inline-block;
color: #159da9;
font-size: 11px;
font-weight: 800;
letter-spacing: .14em;
line-height: 1.4;
text-transform: uppercase;
}
body.venix-auth.virsh-auth .auth-story-main .auth-kicker {
color: #53dce0;
}
body.venix-auth.virsh-auth .auth-story-main h1 {
max-width: 530px;
margin: 20px 0 19px;
color: #fff;
font-size: clamp(38px, 4vw, 62px);
font-weight: 750;
line-height: 1.25;
letter-spacing: -1.8px;
}
body.venix-auth.virsh-auth .auth-story-copy {
max-width: 390px;
margin: 0;
color: #bbd1dc;
font-size: 16px;
line-height: 1.85;
}
body.venix-auth.virsh-auth .virsh-auth-status {
position: relative;
z-index: 2;
display: flex;
align-items: center;
gap: 10px;
color: #bed5dc;
font-size: 12px;
letter-spacing: .04em;
}
body.venix-auth.virsh-auth .virsh-auth-online-dot {
width: 8px;
height: 8px;
display: inline-block;
flex: 0 0 auto;
border-radius: 50%;
background: #35d49b;
box-shadow: 0 0 0 4px rgba(53, 212, 155, .12);
}
body.venix-auth.virsh-auth .virsh-auth-orbit {
position: absolute;
width: 560px;
height: 560px;
top: 20%;
right: -220px;
border: 1px solid rgba(90, 220, 220, .19);
border-radius: 50%;
transform: rotate(-28deg);
pointer-events: none;
}
body.venix-auth.virsh-auth .virsh-auth-orbit-two {
width: 390px;
height: 390px;
top: 29%;
right: -135px;
border-color: rgba(90, 220, 220, .27);
}
body.venix-auth.virsh-auth .virsh-auth-core {
position: absolute;
top: 40%;
right: 5%;
width: 240px;
height: 240px;
opacity: .72;
transform: rotate(-22deg);
pointer-events: none;
}
body.venix-auth.virsh-auth .virsh-auth-core span {
position: absolute;
width: 140px;
height: 140px;
display: block;
border: 1px solid rgba(82, 220, 224, .3);
border-radius: 23px;
background: linear-gradient(135deg, rgba(75, 205, 213, .2), rgba(13, 35, 57, .1));
box-shadow: 0 25px 55px rgba(0, 0, 0, .18);
}
body.venix-auth.virsh-auth .virsh-auth-core span:nth-child(2) { top: 43px; left: 38px; }
body.venix-auth.virsh-auth .virsh-auth-core span:nth-child(3) {
top: 86px;
left: 76px;
background: linear-gradient(135deg, rgba(62, 210, 210, .42), rgba(9, 46, 67, .45));
}
body.venix-auth.virsh-auth .auth-panel-wrap {
width: auto;
display: flex;
align-items: center;
justify-content: center;
padding: 118px clamp(30px, 6vw, 96px) 54px;
background: #fff;
}
body.venix-auth.virsh-auth .auth-panel,
body.venix-auth.virsh-auth .auth-panel-wide {
width: min(100%, 430px);
max-width: 430px;
margin: 0;
padding: 0;
color: #15243a;
background: transparent;
border: 0;
border-radius: 0;
box-shadow: none;
transform: none;
}
body.venix-auth.virsh-auth .auth-title {
margin: 14px 0 8px;
color: #15243a;
font-size: 34px;
font-weight: 750;
line-height: 1.2;
letter-spacing: -1px;
}
body.venix-auth.virsh-auth .auth-subtitle {
margin: 0 0 32px;
color: #7a8798;
font-size: 14px;
line-height: 1.7;
}
body.venix-auth.virsh-auth .auth-form {
display: flex;
flex-direction: column;
gap: 17px;
}
body.venix-auth.virsh-auth .auth-panel-wide .auth-row:not(.auth-row-inline) {
align-items: stretch;
flex-direction: column;
gap: 17px;
}
body.venix-auth.virsh-auth .auth-field {
gap: 9px;
}
body.venix-auth.virsh-auth .auth-field label {
color: #34445a;
font-size: 13px;
font-weight: 700;
}
body.venix-auth.virsh-auth .auth-field :where(input, select, textarea) {
min-height: 46px;
padding: 10px 13px;
color: #15243a;
background: #fff;
border-color: #dce4eb;
border-radius: 9px;
}
body.venix-auth.virsh-auth .auth-field :where(input, select, textarea):focus {
border-color: #35b9c0;
box-shadow: 0 0 0 4px rgba(25, 179, 187, .1);
}
body.venix-auth.virsh-auth .auth-field :where(input, textarea)::placeholder {
color: #a6b1be;
}
body.venix-auth.virsh-auth .auth-actions {
display: grid;
grid-template-columns: 1fr;
align-items: stretch;
gap: 12px;
margin-top: 1px;
}
body.venix-auth.virsh-auth .auth-link {
justify-self: end;
padding: 0;
color: #0f8f9a;
font-size: 12px;
font-weight: 800;
}
body.venix-auth.virsh-auth .auth-link:hover {
color: #0b7d87;
background: transparent;
text-decoration: underline;
}
body.venix-auth.virsh-auth .auth-actions .auth-button,
body.venix-auth.virsh-auth .auth-button-block {
width: 100%;
min-height: 48px;
margin-top: 2px;
font-size: 14px;
}
body.venix-auth.virsh-auth .auth-row-inline .auth-button {
min-height: 46px;
margin: 0;
}
body.venix-auth.virsh-auth .auth-row-inline .auth-button-secondary {
color: #445368;
background: #fff;
border-color: #d7e0e8;
box-shadow: none;
}
body.venix-auth.virsh-auth .auth-row-inline .auth-button-secondary:not(:disabled):hover {
color: #304158;
background: #f8fbfc;
border-color: #aebfc8;
box-shadow: none;
}
body.venix-auth.virsh-auth .auth-switch {
margin: 20px 0 0;
color: #708093;
font-size: 12px;
line-height: 1.6;
}
body.venix-auth.virsh-auth .auth-switch a {
color: #0f8f9a;
font-weight: 800;
text-decoration: none;
}
body.venix-auth.virsh-auth .auth-switch a:hover { text-decoration: underline; }
@media (max-width: 740px) {
body.venix-auth.virsh-auth .auth-shell-virsh {
min-height: 100vh;
min-height: 100svh;
display: block;
padding-top: 88px;
}
body.venix-auth.virsh-auth .auth-story-virsh { display: none; }
body.venix-auth.virsh-auth .auth-panel-wrap {
min-height: calc(100vh - 88px);
min-height: calc(100svh - 88px);
align-items: flex-start;
padding: 46px 25px 64px;
}
body.venix-auth.virsh-auth .auth-title { font-size: 29px; }
}
@media (max-width: 560px) {
body.venix-auth.virsh-auth .auth-shell-virsh { padding-top: 76px; }
body.venix-auth.virsh-auth .auth-panel-wrap {
min-height: calc(100vh - 76px);
min-height: calc(100svh - 76px);
}
}
@media (max-width: 420px) {
body.venix-auth.virsh-auth .auth-panel-wrap { padding: 38px 20px 54px; }
body.venix-auth.virsh-auth .auth-row-inline { flex-wrap: wrap; }
body.venix-auth.virsh-auth .auth-row-inline > input { flex-basis: 100%; }
body.venix-auth.virsh-auth .auth-row-inline .auth-button,
body.venix-auth.virsh-auth .auth-row-inline .auth-captcha { width: 100%; }
}