/* MazeVPN client area theme: dark, matches mazevpn.com. Overrides WHMCS Twenty-One + standard_cart. */
@font-face { font-family: "Geist"; src: url("../fonts/geist-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: dark;
  --ink-950: #05060a; --ink-900: #0a0c14; --ink-850: #0e111b; --ink-800: #141826; --ink-700: #1e2335; --ink-600: #2b3149;
  --mist-400: #8b93ad; --mist-300: #a9b0c7; --mist-200: #cfd4e4; --mist-100: #eef0f7;
  --maze-300: #9be7ff; --maze-400: #5cd3ff; --maze-500: #22b8f0; --violet: #8b5cf6; --lime: #a3e635;
  --line: rgb(255 255 255 / .08); --line-2: rgb(255 255 255 / .14);
  --card: linear-gradient(180deg, rgb(255 255 255 / .045), rgb(255 255 255 / .018));
  --radius: 16px;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ---------- base ---------- */
html, body, body.primary-bg-color { background: var(--ink-950) !important; }
body {
  color: var(--mist-200); font-family: var(--sans); font-size: 15px; -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(60rem 30rem at 15% -10%, rgb(34 184 240 / .14), transparent 60%),
    radial-gradient(50rem 26rem at 90% -12%, rgb(139 92 246 / .13), transparent 60%) !important;
  background-repeat: no-repeat !important;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { color: var(--mist-100); font-family: var(--sans); letter-spacing: -.01em; }
a { color: var(--maze-400); }
a:hover, a:focus { color: var(--maze-300); text-decoration: none; }
.text-muted, small.text-muted, .help-block, .form-text { color: var(--mist-400) !important; }
hr { border-color: var(--line); }
code, kbd, pre, samp { font-family: var(--mono); }
code { color: var(--maze-300); background: rgb(255 255 255 / .05); padding: .1em .35em; border-radius: 6px; }
::selection { background: rgb(92 211 255 / .35); color: #fff; }
.bg-white, .bg-light { background: transparent !important; }
.text-dark, .text-body { color: var(--mist-200) !important; }
.border, .border-top, .border-bottom { border-color: var(--line) !important; }

/* ---------- header ---------- */
.mz-header { background: rgb(5 6 10 / .72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 1030; }
.mz-header .navbar { padding: 10px 0; background: transparent !important; }
.mz-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff !important; font-weight: 600; font-size: 1.08rem; letter-spacing: -.01em; }
.mz-brand .mz-mark, .mz-brand img { width: 28px; height: 28px; }
.mz-header .navbar-nav .nav-link, .mz-header .navbar-nav > li > a {
  color: var(--mist-300) !important; font-size: .92rem; border-radius: 999px; padding: .45rem .85rem !important; transition: background .2s, color .2s;
}
.mz-header .navbar-nav .nav-link:hover, .mz-header .navbar-nav .active > .nav-link, .mz-header .navbar-nav .show > .nav-link { color: #fff !important; background: rgb(255 255 255 / .06); }
.mz-toolbar { flex-direction: row; align-items: center; gap: 6px; }
.mz-icon-btn { position: relative; width: 38px; height: 38px; display: inline-flex !important; align-items: center; justify-content: center; padding: 0 !important; border: 1px solid var(--line) !important; border-radius: 999px !important; color: var(--mist-200) !important; background: rgb(255 255 255 / .03) !important; }
.mz-icon-btn:hover { border-color: var(--line-2) !important; color: #fff !important; }
.mz-dot { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--maze-400); color: #04121a; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.mz-link { color: var(--mist-300) !important; }
.mz-collapse .dropdown-menu { margin-top: 6px; }
.mz-admin-bar { background: rgb(163 230 53 / .1); border-top: 1px solid rgb(163 230 53 / .2); font-size: 13px; padding: 4px 0; }
.mz-admin-bar a { color: var(--lime); }
@media (max-width: 1199.98px) {
  .mz-collapse { margin-top: 10px; padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: var(--ink-900); }
  .mz-collapse .navbar-nav .nav-link { padding: .7rem 1rem !important; }
  .mz-collapse .dropdown-menu { background: transparent; border: 0; box-shadow: none; padding-left: 12px; }
}

/* dropdowns / popovers */
.dropdown-menu { background: var(--ink-850); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 20px 50px -20px rgb(0 0 0 / .8); padding: 6px; }
.dropdown-item { color: var(--mist-200); border-radius: 9px; padding: .5rem .8rem; font-size: .92rem; }
.dropdown-item:hover, .dropdown-item:focus, .dropdown-item.active { background: rgb(255 255 255 / .06); color: #fff; }
.dropdown-divider { border-color: var(--line); }
.popover { background: var(--ink-850); border: 1px solid var(--line-2); border-radius: 14px; }
.popover-body, .popover .client-alerts a { color: var(--mist-200); }
.popover .arrow::after { border-bottom-color: var(--ink-850) !important; border-top-color: var(--ink-850) !important; }
.client-alerts li a:hover { background: rgb(255 255 255 / .05); }

/* breadcrumb */
.master-breadcrumb { background: transparent !important; border: 0 !important; padding-top: 18px; }
.master-breadcrumb .breadcrumb { background: transparent; padding: 0; margin: 0; font-size: 13px; }
.master-breadcrumb .breadcrumb-item, .master-breadcrumb .breadcrumb-item a { color: var(--mist-400); }
.master-breadcrumb .breadcrumb-item.active { color: var(--mist-300); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--ink-600); }

#main-body { background: transparent !important; padding: 22px 0 60px; min-height: 60vh; }

/* ---------- cards, panels, lists ---------- */
.card, .panel, .tab-content.bg-white, .product-details-tab-container {
  background: var(--card) !important; border: 1px solid var(--line) !important; border-radius: var(--radius) !important; color: var(--mist-200); box-shadow: none !important;
}
.card-header, .panel-heading { background: transparent !important; border-bottom: 1px solid var(--line) !important; color: var(--mist-100); }
.card-header .card-title, .card-title { color: var(--mist-100); font-size: 1rem; font-weight: 600; }
.card-footer, .panel-footer { background: transparent !important; border-top: 1px solid var(--line) !important; }
.card-footer:empty { display: none; }
.card[class*="card-accent-"] { border-top: 1px solid var(--line) !important; }
.list-group-item { background: transparent; border-color: var(--line); color: var(--mist-200); }
.list-group-item-action:hover, .list-group-item-action:focus { background: rgb(255 255 255 / .04); color: #fff; }
.list-group-item.active { background: rgb(92 211 255 / .12); border-color: rgb(92 211 255 / .25); color: #fff; }
.sidebar .card { margin-bottom: 16px; }
.sidebar .card-header { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--mist-400) !important; }
.sidebar .card-title { font-size: .85rem; color: var(--mist-300); }
.sidebar .list-group-item { font-size: .92rem; padding: .6rem 1.1rem; }
.sidebar .list-group-item i { color: var(--mist-400); }
.sidebar .list-group-item.active i { color: var(--maze-400); }
.badge { border-radius: 99px; font-weight: 600; }
.badge-info, .badge-primary { background: rgb(92 211 255 / .16); color: var(--maze-300); }
.badge-success { background: rgb(163 230 53 / .15); color: var(--lime); }
.badge-danger { background: rgb(248 113 113 / .15); color: #fca5a5; }
.badge-warning { background: rgb(250 204 21 / .15); color: #fde047; }
.badge-secondary, .badge-default, .badge-light { background: rgb(255 255 255 / .08); color: var(--mist-300); }

/* ---------- tables ---------- */
.table, table.table, .dataTables_wrapper table { color: var(--mist-200); background: transparent !important; }
.table th, .table td { border-color: var(--line) !important; }
.table thead th { color: var(--mist-400); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; border-bottom: 1px solid var(--line-2) !important; background: transparent !important; }
.table-striped tbody tr:nth-of-type(odd) { background: rgb(255 255 255 / .02); }
.table-hover tbody tr:hover, .table-list tbody tr:hover, .table-list > tbody > tr:hover > td { background: rgb(255 255 255 / .04) !important; color: #fff; }
.table-list, .table-list > tbody > tr > td, .table-list > thead > tr > th { background: transparent !important; }
.table-container, .table-responsive { border-radius: var(--radius); }
.dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter, .dataTables_wrapper label { color: var(--mist-400); }
.page-link { background: var(--ink-850); border-color: var(--line); color: var(--mist-300); }
.page-item.active .page-link { background: var(--maze-500); border-color: var(--maze-500); color: #04121a; }
.page-item.disabled .page-link { background: transparent; border-color: var(--line); color: var(--ink-600); }
.label, .status { border-radius: 99px; font-weight: 600; font-size: 11.5px; padding: .3em .75em; }
.status-active, .status-paid, .status-open, .status-completed, .label-success { background: rgb(163 230 53 / .15) !important; color: var(--lime) !important; }
.status-pending, .status-unpaid, .status-answered, .status-customer-reply, .label-warning { background: rgb(250 204 21 / .14) !important; color: #fde047 !important; }
.status-suspended, .status-terminated, .status-cancelled, .status-overdue, .status-closed, .label-danger, .status-fraud { background: rgb(248 113 113 / .14) !important; color: #fca5a5 !important; }

/* ---------- forms ---------- */
.form-control, .custom-select, select.form-control, textarea.form-control, .input-group-text, .iti input, .select-inline {
  background: rgb(255 255 255 / .04) !important; border: 1px solid var(--line-2) !important; color: var(--mist-100) !important; border-radius: 12px !important; min-height: 44px; box-shadow: none !important;
}
.form-control::placeholder { color: var(--mist-400) !important; opacity: .8; }
.form-control:focus, .custom-select:focus { border-color: var(--maze-400) !important; box-shadow: 0 0 0 3px rgb(92 211 255 / .18) !important; background: rgb(255 255 255 / .06) !important; }
.form-control:disabled, .form-control[readonly] { background: rgb(255 255 255 / .02) !important; color: var(--mist-400) !important; }
select.form-control option, .custom-select option { background: var(--ink-850); color: var(--mist-100); }
.input-group-text { color: var(--mist-400) !important; }
.input-group > .form-control:not(:last-child), .input-group > .input-group-prepend > .input-group-text { border-radius: 12px !important; }
label, .col-form-label, .control-label { color: var(--mist-300); font-weight: 500; font-size: .9rem; }
.custom-control-label::before { background: var(--ink-800); border-color: var(--line-2); }
.custom-control-input:checked ~ .custom-control-label::before { background: var(--maze-500); border-color: var(--maze-500); }
.is-invalid, .has-error .form-control { border-color: #f87171 !important; }
.invalid-feedback, .field-error-msg { color: #fca5a5; }
.iti__country-list { background: var(--ink-850); border-color: var(--line-2); color: var(--mist-200); }
.iti__country.iti__highlight { background: rgb(255 255 255 / .06); }
.iti__dial-code { color: var(--mist-400); }
.bootstrap-switch { border-color: var(--line-2) !important; background: var(--ink-800) !important; border-radius: 99px !important; }
.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary, .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success { background: var(--maze-500) !important; color: #04121a !important; }
.bootstrap-switch .bootstrap-switch-label { background: var(--ink-700) !important; }
.bootstrap-switch .bootstrap-switch-handle-off { background: var(--ink-800) !important; color: var(--mist-300) !important; }
.icheckbox_square-blue, .iradio_square-blue { filter: invert(.88) hue-rotate(180deg); }

/* ---------- buttons ---------- */
.btn { border-radius: 999px; font-weight: 500; transition: transform .15s, box-shadow .2s, background .2s, border-color .2s; }
.btn:active { transform: translateY(1px); }
.btn-primary, .btn-success, .btn-checkout, .mz-btn-primary, .btn-info {
  color: #04121a !important; background: linear-gradient(180deg, #b6f0ff, var(--maze-400)) !important; border: 0 !important;
  box-shadow: 0 0 0 1px rgb(255 255 255 / .25) inset, 0 8px 26px -10px rgb(34 184 240 / .75) !important; font-weight: 600;
}
.btn-primary:hover, .btn-success:hover, .btn-checkout:hover, .mz-btn-primary:hover, .btn-info:hover { box-shadow: 0 0 0 1px rgb(255 255 255 / .4) inset, 0 12px 34px -8px rgb(34 184 240 / .95) !important; }
.btn-default, .btn-secondary, .btn-light, .btn-outline-primary, .btn-outline-secondary, .mz-btn-ghost, .btn-link.btn-default {
  color: var(--mist-100) !important; background: rgb(255 255 255 / .04) !important; border: 1px solid var(--line-2) !important; box-shadow: none !important;
}
.btn-default:hover, .btn-secondary:hover, .btn-light:hover, .btn-outline-primary:hover, .mz-btn-ghost:hover { border-color: rgb(255 255 255 / .28) !important; background: rgb(255 255 255 / .07) !important; color: #fff !important; }
.btn-danger { background: rgb(248 113 113 / .14) !important; color: #fecaca !important; border: 1px solid rgb(248 113 113 / .3) !important; }
.btn-warning { background: rgb(250 204 21 / .14) !important; color: #fef08a !important; border: 1px solid rgb(250 204 21 / .3) !important; }
.btn-link { color: var(--maze-400); }
.mz-btn-sm { padding: .45rem 1rem !important; font-size: .88rem !important; }
.btn-sm, .btn-xs { border-radius: 999px; }

/* ---------- alerts ---------- */
.alert { border-radius: 14px; border: 1px solid var(--line-2); background: rgb(255 255 255 / .04); color: var(--mist-200); }
.alert-info { background: rgb(92 211 255 / .08); border-color: rgb(92 211 255 / .25); color: var(--maze-300); }
.alert-success { background: rgb(163 230 53 / .08); border-color: rgb(163 230 53 / .25); color: #d9f99d; }
.alert-warning { background: rgb(250 204 21 / .08); border-color: rgb(250 204 21 / .25); color: #fef08a; }
.alert-danger, .alert-error { background: rgb(248 113 113 / .08); border-color: rgb(248 113 113 / .25); color: #fecaca; }
.alert a, .alert .alert-link { color: inherit; text-decoration: underline; }

/* ---------- tabs, modals ---------- */
.nav-tabs { border-bottom-color: var(--line); }
.nav-tabs .nav-link { color: var(--mist-400); border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; }
.nav-tabs .nav-link:hover { color: var(--mist-100); border-bottom-color: var(--line-2); }
.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link { color: #fff; background: transparent; border-bottom-color: var(--maze-400); }
.responsive-tabs-sm-connector { display: none; }
.modal-content { background: var(--ink-850); border: 1px solid var(--line-2); border-radius: 18px; color: var(--mist-200); }
.modal-header, .modal-footer { border-color: var(--line); }
.close { color: var(--mist-200); text-shadow: none; opacity: .7; }
.close:hover { color: #fff; }
.modal-backdrop.show { opacity: .7; }
.modal-localisation .modal-content { background: var(--ink-850); }
#fullpage-overlay { background: rgb(5 6 10 / .82) !important; }

/* ---------- client area home (twenty-one panels) ---------- */
.client-home-cards .card .card-header .btn { font-size: 12px; padding: .2rem .7rem; }
.client-home-cards .card-title i { color: var(--maze-400); }
.tiles .tile { background: var(--card); border: 1px solid var(--line); color: var(--mist-200); }

/* ---------- MazeVPN components ---------- */
.mz-eyebrow { font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--maze-300); margin-bottom: 8px; }
.mz-h1 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); font-weight: 650; margin: 0 0 20px; background: linear-gradient(100deg, #fff 15%, var(--maze-300) 55%, #c4b5fd 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mz-h2 { font-size: 1.3rem; font-weight: 600; margin: 0; }
.mz-welcome { margin-bottom: 28px; }
.mz-callout { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--line-2); background: rgb(255 255 255 / .04); margin-bottom: 18px; }
.mz-callout strong { display: block; color: var(--mist-100); }
.mz-callout span { color: var(--mist-300); font-size: .92rem; }
.mz-callout-warn { border-color: rgb(250 204 21 / .3); background: linear-gradient(90deg, rgb(250 204 21 / .09), rgb(250 204 21 / .02)); }
.mz-svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.mz-svc { position: relative; display: block; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); color: var(--mist-200) !important; transition: border-color .2s, transform .2s; overflow: hidden; }
.mz-svc::after { content: ""; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; background: radial-gradient(circle, rgb(92 211 255 / .14), transparent 65%); pointer-events: none; }
.mz-svc:hover { border-color: rgb(92 211 255 / .35); transform: translateY(-2px); }
.mz-svc-ip { font: 600 1.6rem/1.2 var(--mono); color: #fff; letter-spacing: -.02em; margin: 12px 0 4px; }
.mz-svc-meta { color: var(--mist-400); font-size: .9rem; }
.mz-svc-go { display: inline-flex; gap: 8px; align-items: center; margin-top: 16px; color: var(--maze-400); font-size: .9rem; font-weight: 500; }
.mz-svc-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border-style: dashed; color: var(--mist-400) !important; min-height: 150px; }
.mz-svc-add i { font-size: 1.3rem; color: var(--maze-400); }
.mz-status { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 99px; }
.mz-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.mz-status-ok { background: rgb(163 230 53 / .12); color: var(--lime); }
.mz-status-ok::before { box-shadow: 0 0 0 0 rgb(163 230 53 / .6); animation: mz-pulse 2s infinite; }
.mz-status-wait { background: rgb(250 204 21 / .12); color: #fde047; }
.mz-status-off { background: rgb(248 113 113 / .12); color: #fca5a5; }
@keyframes mz-pulse { 0% { box-shadow: 0 0 0 0 rgb(163 230 53 / .55); } 70% { box-shadow: 0 0 0 7px rgb(163 230 53 / 0); } 100% { box-shadow: 0 0 0 0 rgb(163 230 53 / 0); } }
.mz-steps { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.mz-steps li { display: flex; gap: 14px; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.mz-steps li > span { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 600 .9rem var(--mono); color: #04121a; background: linear-gradient(180deg, #b6f0ff, var(--maze-400)); }
.mz-steps strong { color: var(--mist-100); display: block; margin-bottom: 4px; }
.mz-steps p { margin: 0; color: var(--mist-400); font-size: .9rem; }
.mz-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.mz-actions .btn { padding: .7rem 1.3rem; }

.mz-apps { margin: 0 0 28px; padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); }
.mz-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.mz-section-head p { max-width: 460px; margin: 0; color: var(--mist-400); font-size: .9rem; }
.mz-app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.mz-app { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: rgb(255 255 255 / .02); color: var(--mist-200) !important; transition: border-color .2s, background .2s, transform .2s; }
.mz-app:hover { border-color: rgb(92 211 255 / .35); background: rgb(92 211 255 / .05); transform: translateY(-2px); }
.mz-app i { font-size: 1.5rem; color: var(--mist-100); margin-bottom: 6px; }
.mz-app b { color: var(--mist-100); font-weight: 600; }
.mz-app span { color: var(--mist-400); font-size: .82rem; }
.mz-app em { display: none; position: absolute; top: 10px; right: 10px; font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #04121a; background: var(--lime); padding: 2px 7px; border-radius: 99px; }
.mz-app.is-device { border-color: rgb(92 211 255 / .45); background: linear-gradient(180deg, rgb(92 211 255 / .1), rgb(92 211 255 / .03)); }
.mz-app.is-device em { display: inline-block; }

.mz-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 26px; }
.mz-stats a { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgb(255 255 255 / .02); color: var(--mist-300) !important; }
.mz-stats a:hover { border-color: var(--line-2); }
.mz-stats i { color: var(--maze-400); margin-bottom: 4px; }
.mz-stats b { font: 600 1.3rem var(--mono); color: #fff; }
.mz-stats span { font-size: .82rem; color: var(--mist-400); }
@media (max-width: 767.98px) { .mz-stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- login / register ---------- */
.mz-page-login #main-body .card, .mz-page-clientregister #main-body .card, .mz-page-password-reset-container #main-body .card { max-width: 100%; }
.login-form, .logincontainer { max-width: 460px; margin: 10px auto 0; }
.mz-page-login .card, .mz-page-password-reset-container .card { padding: 6px; }
.mz-page-login h6, .mz-page-login .card-body h6 { color: var(--mist-400); }
.mz-page-clientregister .sub-heading span, .sub-heading span { background: var(--ink-950) !important; color: var(--mist-300) !important; }
.sub-heading { border-color: var(--line) !important; }
.sub-heading::before, .sub-heading::after { border-color: var(--line) !important; background: var(--line) !important; }
.field-icon, .prepend-icon .field-icon { color: var(--mist-400) !important; }
.mz-folded { display: none !important; }
.mz-unfold { display: inline-flex; align-items: center; gap: 8px; margin: 2px 0 16px; padding: 8px 14px; border-radius: 99px; border: 1px dashed var(--line-2); background: transparent; color: var(--maze-400); font-size: .88rem; cursor: pointer; }
.mz-unfold:hover { border-color: var(--maze-400); }

/* ---------- order form (standard_cart) ---------- */
#order-standard_cart { color: var(--mist-200); }
#order-standard_cart .header-lined h1, #order-standard_cart h1 { color: var(--mist-100); font-weight: 650; letter-spacing: -.02em; }
#order-standard_cart .header-lined { border-color: var(--line) !important; }
#order-standard_cart .header-lined p, #order-standard_cart .header-lined .breadcrumb { color: var(--mist-400); }
#order-standard_cart .product-info, #order-standard_cart .field-container, #order-standard_cart .view-cart-items, #order-standard_cart .cart-body .card,
#order-standard_cart .products .product, #order-standard_cart .panel, #order-standard_cart .well, #order-standard_cart .order-summary,
#order-standard_cart .account-select-container .account, #order-standard_cart .view-cart-tabs .tab-content {
  background: var(--card) !important; border: 1px solid var(--line) !important; border-radius: var(--radius) !important; color: var(--mist-200) !important;
}
#order-standard_cart .product-info { padding: 18px 20px !important; }
#order-standard_cart .product-info .product-title { color: var(--mist-100); font-size: 1.2rem; }
#order-standard_cart .product-info p { color: var(--mist-300); }
#order-standard_cart .sub-heading span, #order-standard_cart .sub-heading-borderless span { background: var(--ink-950) !important; color: var(--mist-300) !important; font-weight: 600; letter-spacing: .02em; }
#order-standard_cart .sub-heading { border-top-color: var(--line) !important; }
#order-standard_cart .order-summary { background: linear-gradient(180deg, rgb(92 211 255 / .06), rgb(255 255 255 / .015)) !important; }
#order-standard_cart .order-summary h2, #order-standard_cart .order-summary .h2 { background: transparent !important; color: var(--mist-100) !important; border-bottom: 1px solid var(--line); font-size: 1rem; text-transform: none; padding: 14px 16px; }
#order-standard_cart .order-summary .summary-container { background: transparent !important; color: var(--mist-200); }
#order-standard_cart .order-summary .product-name { color: var(--mist-100); }
#order-standard_cart .order-summary .product-group, #order-standard_cart .order-summary .item-group { color: var(--mist-400); }
#order-standard_cart .order-summary .total-due-today, #order-standard_cart .order-summary .total-due-today .amt { color: #fff !important; }
#order-standard_cart .order-summary .total-due-today .amt { font: 650 1.7rem var(--mono); }
#order-standard_cart .summary-totals, #order-standard_cart .order-summary .bordered-totals { border-color: var(--line) !important; }
#order-standard_cart .view-cart-items-header { background: rgb(255 255 255 / .04) !important; color: var(--mist-400) !important; border-radius: 12px 12px 0 0; border: 0 !important; }
#order-standard_cart .view-cart-items .item { border-color: var(--line) !important; background: transparent !important; }
#order-standard_cart .view-cart-items .item-title, #order-standard_cart .view-cart-items .item-price span:first-child { color: var(--mist-100) !important; }
#order-standard_cart .view-cart-items .item-group, #order-standard_cart .view-cart-items .item-domain { color: var(--mist-400) !important; }
#order-standard_cart .empty-cart .btn, #order-standard_cart .btn-remove-from-cart { color: var(--mist-400) !important; }
#order-standard_cart .view-cart-tabs .nav-tabs .nav-link { color: var(--mist-400); }
#order-standard_cart .promo-code-input, #order-standard_cart .view-cart-promotion-code { color: var(--mist-200); }
#order-standard_cart .account-select-container .account.active { border-color: rgb(92 211 255 / .45) !important; }
#order-standard_cart .payment-methods label, #order-standard_cart label.radio-inline { color: var(--mist-200); }
#order-standard_cart .payment-methods label { margin-right: 10px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: rgb(255 255 255 / .03); cursor: pointer; }
#order-standard_cart .payment-methods label:hover { border-color: rgb(92 211 255 / .4); }
#order-standard_cart .prepend-icon .form-control { padding-left: 42px; }
#order-standard_cart .prepend-icon .field-icon { top: 12px; }
#order-standard_cart .marketing-email-optin, #order-standard_cart .text-center.marketing-email-optin { background: rgb(255 255 255 / .03) !important; border: 1px solid var(--line) !important; border-radius: 14px !important; color: var(--mist-300); }
#order-standard_cart .btn-checkout, #order-standard_cart #btnCompleteOrder, #order-standard_cart #btnCompleteProductConfig { padding: .85rem 1.6rem; font-size: 1rem; }
#order-standard_cart .alert-info { color: var(--maze-300); }
#order-standard_cart .loader, #order-standard_cart .order-summary .loader { color: var(--maze-400); }
#order-standard_cart .secure-warning, #order-standard_cart .text-muted { color: var(--mist-400) !important; }
#order-standard_cart .domain-checker-container, #order-standard_cart .domain-promo-box { background: var(--card) !important; border-radius: var(--radius); }
#order-standard_cart .products .product header { background: transparent !important; border-color: var(--line) !important; color: var(--mist-100); }
#order-standard_cart .products .product .product-desc, #order-standard_cart .products .product footer { color: var(--mist-300); }
#order-standard_cart .products .product footer { border-color: var(--line) !important; }
#order-standard_cart .products .product .price { color: #fff; }
#order-standard_cart .sidebar-collapsed, #order-standard_cart .cart-sidebar .card { background: var(--card) !important; }
.mz-has-picker > select, .mz-has-picker > label, .mz-has-cycles > select { display: none !important; }

/* city picker */
.mz-city-picker { margin: 4px 0 10px; }
.mz-city-head strong { display: block; color: var(--mist-100); font-size: 1.05rem; margin-bottom: 2px; }
.mz-city-head span { display: block; color: var(--mist-400); font-size: .88rem; margin-bottom: 14px; }
.mz-city-region { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mist-400); margin: 10px 0 8px; }
.mz-city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.mz-city { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; text-align: left; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgb(255 255 255 / .02); color: var(--mist-200); cursor: pointer; transition: border-color .15s, background .15s; }
.mz-city:hover { border-color: rgb(92 211 255 / .35); }
.mz-city:focus { outline: 0; box-shadow: 0 0 0 3px rgb(92 211 255 / .2); }
.mz-flag { grid-row: span 2; font-size: 1.35rem; line-height: 1; }
.mz-city-name { color: var(--mist-100); font-weight: 600; font-size: .92rem; }
.mz-city-country { color: var(--mist-400); font-size: .78rem; }
.mz-city.is-active { border-color: var(--maze-400); background: linear-gradient(180deg, rgb(92 211 255 / .14), rgb(92 211 255 / .04)); box-shadow: 0 0 0 1px var(--maze-400) inset; }

/* billing cycle cards */
.mz-cycles { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin: 4px 0 8px; }
.mz-cycle { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgb(255 255 255 / .02); color: var(--mist-300); cursor: pointer; text-align: left; }
.mz-cycle b { color: var(--mist-100); font-size: 1rem; }
.mz-cycle span { font-size: .85rem; }
.mz-cycle i { position: absolute; top: 12px; right: 12px; font-style: normal; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; background: var(--lime); color: #0b1a02; padding: 2px 8px; border-radius: 99px; }
.mz-cycle.is-active { border-color: var(--maze-400); background: linear-gradient(180deg, rgb(92 211 255 / .14), rgb(92 211 255 / .04)); box-shadow: 0 0 0 1px var(--maze-400) inset; }

/* ---------- footer ---------- */
.mz-footer { background: transparent !important; border-top: 1px solid var(--line); padding: 44px 0 28px; color: var(--mist-400); margin-top: 20px; }
.mz-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
.mz-footer-grid h6 { color: var(--mist-100); font-size: .85rem; margin-bottom: 12px; }
.mz-footer-grid a { display: block; color: var(--mist-400); font-size: .9rem; padding: 3px 0; }
.mz-footer-grid a:hover { color: #fff; }
.mz-footer-grid .mz-brand { display: inline-flex; color: #fff !important; padding: 0; margin-bottom: 10px; font-size: 1rem; }
.mz-footer-brand p { max-width: 320px; font-size: .88rem; color: var(--mist-400); }
.mz-footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .82rem; }
.mz-pay { font-family: var(--mono); letter-spacing: .06em; }
@media (max-width: 767.98px) { .mz-footer-grid { grid-template-columns: 1fr 1fr; } .mz-footer-brand { grid-column: 1 / -1; } }

/* ---------- misc twenty-one bits ---------- */
.primary-content > .card:first-child { margin-top: 0; }
.ticket-reply, .ticket-reply .posted-by, .ticket-reply .message { background: transparent !important; color: var(--mist-200); border-color: var(--line) !important; }
.ticket-reply.staff { border-left: 3px solid var(--maze-400) !important; }
.view-ticket .card-header { background: transparent !important; }
.kb-search .form-control, .search .form-control { border-radius: 999px !important; }
.product-status { border-radius: 14px; }
.product-details .product-icon { background: rgb(255 255 255 / .04) !important; }
.w-hidden { display: none; }
.text-white-50 { color: var(--mist-400) !important; }
#main-body .primary-content h3.card-title, #main-body .primary-content h2 { color: var(--mist-100); }
.invoice-container { color: #333; }
@media (max-width: 575.98px) {
  body { font-size: 14.5px; }
  .container { padding-left: 16px; padding-right: 16px; }
  .mz-apps { padding: 16px; }
  .mz-app-grid { grid-template-columns: repeat(2, 1fr); }
  .mz-city-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- specificity fixes vs twenty-one ---------- */
#header.header.mz-header, #header.mz-header .navbar, #header.mz-header .container { background: transparent !important; }
#header.header.mz-header { background: rgb(5 6 10 / .78) !important; box-shadow: none !important; }
#header .mz-brand, #header .mz-brand span { color: #fff !important; }
.verification-banner, .email-verification, .user-validation { background: rgb(92 211 255 / .07) !important; border-top: 1px solid rgb(92 211 255 / .18) !important; border-bottom: 1px solid rgb(92 211 255 / .18) !important; color: var(--mist-200) !important; }
.verification-banner .text, .email-verification .text { color: var(--mist-200) !important; }
.verification-banner i.fas, .email-verification i.fas { color: var(--maze-400) !important; }
.verification-banner .btn, .email-verification .btn { color: var(--maze-300) !important; background: rgb(255 255 255 / .05) !important; border: 1px solid var(--line-2) !important; }
.verification-banner .btn-close, .email-verification .btn.close, .verification-banner button.close { color: var(--mist-300) !important; background: transparent !important; border: 0 !important; }
.sidebar .list-group-item.active, .sidebar .list-group-item.active:hover, .sidebar .list-group-item.active:focus, .list-group-item-action.active { background: rgb(92 211 255 / .1) !important; border-color: var(--line) !important; color: #fff !important; }
.sidebar .card .card-header { background: transparent !important; }
.sidebar .card-header .card-title, .sidebar .card-header .card-title i { color: var(--mist-400) !important; }
.sidebar .card-minimise { color: var(--mist-400); }
.card .list-group-item, .list-group-flush .list-group-item, .client-home-cards .list-group-item, .div-service-item { border-color: var(--line) !important; background: transparent !important; }
.card .list-group { border-color: var(--line) !important; }
.client-home-cards .card-body + .list-group, .client-home-cards .list-group { border-top: 0 !important; }
.mzs-peers { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important; }

.mz-col-full { flex: 0 0 100% !important; max-width: 100% !important; }
.mz-flag { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 20px; border-radius: 4px; overflow: hidden; }
.mz-flag .iti-flag { transform: scale(1.25); box-shadow: 0 0 0 1px rgb(255 255 255 / .12); }
.mz-city-picker { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: rgb(255 255 255 / .02); margin-bottom: 16px; }
.mz-city-grid { grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); }
#order-standard_cart .field-container .form-group label[for="inputBillingcycle"], #order-standard_cart .mz-has-cycles > label { color: var(--mist-300); }
/* checkout + cart details */
#order-standard_cart .cc-input-container, .cc-input-container { background: rgb(255 255 255 / .03) !important; border: 1px solid var(--line) !important; border-radius: var(--radius) !important; color: var(--mist-200) !important; }
.cc-input-container ul, .cc-input-container ul.selected, .cc-input-container .paymethod-info, .cc-input-container li { background: transparent !important; color: var(--mist-200) !important; border-color: var(--line-2) !important; }
.cc-input-container ul.selected { border: 1px solid var(--line-2) !important; border-radius: 12px; }
.cc-input-container label, .cc-input-container .text-muted, .cc-input-container p { color: var(--mist-300) !important; }
#order-standard_cart .view-cart-tabs .nav-tabs .nav-link, #order-standard_cart .view-cart-tabs .nav-tabs .nav-link.active { background: transparent !important; color: var(--mist-300) !important; border: 0 !important; border-bottom: 2px solid var(--maze-400) !important; }
#order-standard_cart .btn-empty-cart, #order-standard_cart #btnEmptyCart, #order-standard_cart .empty-cart .btn { background: transparent !important; color: var(--mist-400) !important; border: 1px solid var(--line-2) !important; box-shadow: none !important; }
#order-standard_cart .order-summary .btn-continue-shopping, #order-standard_cart #continueShopping { color: var(--mist-400) !important; }
#order-standard_cart .alert-success.total-due-today, #order-standard_cart .total-due-today-padded, #order-standard_cart .alert.text-center { border-radius: 14px; }
#order-standard_cart .alert-warning.checkout-security-msg { background: rgb(255 255 255 / .03) !important; border-color: var(--line) !important; color: var(--mist-400) !important; font-size: 12px; }
#order-standard_cart .alert-warning.checkout-security-msg i { color: var(--mist-400) !important; }
#order-standard_cart .default-captcha, #order-standard_cart .captcha-container { color: var(--mist-300); }
#header .mz-toolbar .mz-btn-primary, #header .navbar-nav > li > a.mz-btn-primary { color: #04121a !important; background: linear-gradient(180deg, #b6f0ff, var(--maze-400)) !important; padding: .45rem 1rem !important; }
#header .mz-toolbar .mz-link { border: 0 !important; background: transparent !important; box-shadow: none !important; }
.iti input, .iti input[type=tel], #order-standard_cart .prepend-icon .iti input, input#inputPhone { padding-left: 56px !important; }
.iti__selected-flag { background: transparent !important; }
.progress { background: rgb(255 255 255 / .06) !important; border-radius: 99px; height: 6px; }
.progress-bar { border-radius: 99px; }
.password-strength-meter .progress { height: 6px !important; }
.input-group > .input-group-prepend > .input-group-text { border-radius: 12px 0 0 12px !important; border-right: 0 !important; }
.input-group > .input-group-prepend + .form-control { border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; }
.input-group > .form-control:not(:last-child) { border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; }
.input-group > .input-group-append > .btn, .input-group > .input-group-append > .input-group-text { border-radius: 0 12px 12px 0 !important; min-height: 44px; }
/* stop wide code/tables from stretching the page on phones */
.primary-content, #main-body .row > [class*="col-"] { min-width: 0; }
.tab-content, .tab-pane { min-width: 0; max-width: 100%; }
.master-breadcrumb .breadcrumb { flex-wrap: wrap; }
@media (max-width: 991.98px) {
  #main-body > .container > .row > .col-lg-4.col-xl-3 { order: 2; margin-top: 10px; }
  #main-body > .container > .row > .primary-content { order: 1; }
}

/* forms that use .field instead of .form-control (register, password reset) */
input.field, select.field, textarea.field { background: rgb(255 255 255 / .04) !important; border: 1px solid var(--line-2) !important; color: var(--mist-100) !important; border-radius: 12px !important; min-height: 44px; }
input.field:focus { border-color: var(--maze-400) !important; box-shadow: 0 0 0 3px rgb(92 211 255 / .18) !important; }
#order-standard_cart .sidebar-collapsed { display: none !important; }
#order-standard_cart .alert-warning.info-text-sm, #order-standard_cart .alert.info-text-sm { background: rgb(255 255 255 / .03) !important; border-color: var(--line) !important; color: var(--mist-400) !important; }
.mz-sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgb(10 12 20 / .94); backdrop-filter: blur(14px); border-top: 1px solid var(--line-2); }
.mz-sticky-buy span { display: block; font-size: 11px; color: var(--mist-400); text-transform: uppercase; letter-spacing: .08em; }
.mz-sticky-buy b { font: 650 1.15rem var(--mono); color: #fff; }
.mz-sticky-buy .btn { padding: .7rem 1.3rem; }
body.mz-has-sticky { padding-bottom: 84px; }
@media (min-width: 992px) { .mz-sticky-buy { display: none; } body.mz-has-sticky { padding-bottom: 0; } }
@media (max-width: 575.98px) {
  .mz-city-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 6px; }
  .mz-city { padding: 9px 10px; column-gap: 8px; }
  .mz-city-name { font-size: .86rem; }
  .mz-city-picker { padding: 14px; }
  .mz-cycles { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 991.98px) { .mz-sticky-buy { padding-right: 96px; } }
@media (max-width: 575.98px) { .mz-cycle i { position: static; margin-top: 6px; } }

/* markdown editor (tickets) + data tables */
.md-editor, .md-editor > textarea, .md-editor .md-preview, textarea.markdown-editor { background: rgb(255 255 255 / .03) !important; color: var(--mist-100) !important; border-color: var(--line-2) !important; }
.md-editor { border-radius: 14px !important; overflow: hidden; }
.md-editor > .md-header, .md-editor .btn-toolbar { background: rgb(255 255 255 / .05) !important; border-color: var(--line) !important; }
.md-editor .btn-default, .md-editor .btn { background: transparent !important; border: 0 !important; color: var(--mist-300) !important; box-shadow: none !important; }
.md-editor .md-footer, .markdown-editor-status { background: transparent !important; color: var(--mist-400) !important; border-color: var(--line) !important; }
.table-container, .dataTables_wrapper, table.dataTable, table.dataTable thead th, table.dataTable tbody td, table.table-list { border-color: var(--line) !important; }
.table-container { border: 1px solid var(--line) !important; border-radius: var(--radius); background: var(--card) !important; }
.dataTables_wrapper .dataTables_filter input { border-radius: 999px !important; }
.dataTables_wrapper .dataTables_length select { min-height: 34px; }
.table-list .sorting::after, .table-list .sorting_asc::after { opacity: .5; }

/* SVG flags in the city picker */
.mz-flag { width: 30px; height: 22px; border-radius: 5px; overflow: hidden; box-shadow: 0 0 0 1px rgb(255 255 255 / .14); background: rgb(255 255 255 / .04); }
.mz-flag img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mz-city-extra { grid-column: 1 / -1; margin-top: 6px; font-size: 11px; font-weight: 600; color: #fde047; }

/* cart count: always visible above the icon */
#header .navbar-nav .mz-icon-btn { padding: 0 !important; overflow: visible !important; }
#header .mz-toolbar .nav-item, #header .mz-toolbar .cart-btn { overflow: visible !important; }
#header #cartItemCount.mz-dot {
  position: absolute !important; top: -7px !important; right: -7px !important; z-index: 3;
  display: inline-block !important; min-width: 20px; height: 20px; padding: 0 5px !important;
  border-radius: 99px; border: 2px solid var(--ink-950);
  background: var(--lime) !important; color: #0b1a02 !important; font: 700 11px/16px var(--sans) !important; text-align: center;
}

/* reCAPTCHA badge: bottom-left, collapsed until hovered (still visible, as Google requires) */
.grecaptcha-badge { left: 10px !important; right: auto !important; width: 70px !important; overflow: hidden !important; transition: width .3s ease !important; box-shadow: 0 0 0 1px rgb(255 255 255 / .1) !important; border-radius: 4px !important; opacity: .85; z-index: 1035 !important; }
.grecaptcha-badge:hover { width: 256px !important; opacity: 1; }
body.mz-has-sticky .grecaptcha-badge { bottom: 92px !important; }

/* third-party frames (PayPal, reCAPTCHA, chat) keep their own transparent canvas inside our dark page */
iframe { color-scheme: normal; }

/* invoice "Make Payment" page (invoice/{id}/pay) */
.paymethod-info, .paymethod-info.selected, ul.paymethod-list li, .paymethod-info.card-type { background: rgb(255 255 255 / .04) !important; border: 1px solid var(--line-2) !important; color: var(--mist-200) !important; border-radius: 12px !important; }
.paymethod-info.selected { border-color: rgb(92 211 255 / .45) !important; }
.paymethod-info .paymethod-description, .paymethod-info label, .paymethod-info span { color: var(--mist-200) !important; }
td.total-row, .table td.total-row, tr.total-row td { background: rgb(255 255 255 / .03) !important; color: var(--mist-100) !important; border-color: var(--line) !important; }
.invoice-summary, .invoice-summary .table, .invoice-summary td, .invoice-summary th { background: transparent !important; color: var(--mist-200) !important; border-color: var(--line) !important; }
.invoice-summary h2, .invoice-summary .invoice-summary-heading { color: var(--mist-100) !important; }
.alert-warning.text-center, .alert-warning.checkout-security-msg { background: rgb(255 255 255 / .03) !important; border-color: var(--line) !important; color: var(--mist-400) !important; }

@media (max-width: 991.98px) { .mz-sticky-buy { padding-right: 136px; } .mz-sticky-buy .btn { padding: .65rem 1rem; } .mz-sticky-buy b { font-size: 1.05rem; } }

/* PayPal buttons + PayPal's inline card form use dark text: give them a light, intentional panel */
#paypal_ppcpv_input_container_button, [id^="paypal_ppcpv_input_container_button"], .paypal-buttons-container, #paypal-button-container {
  background: #ffffff !important; border-radius: 16px !important; padding: 18px 18px 8px !important;
  max-width: 520px; margin: 12px auto 4px !important; box-shadow: 0 10px 40px -18px rgb(0 0 0 / .8);
}
#paypal_ppcpv_input_container_button iframe, [id^="paypal_ppcpv_input_container_button"] iframe { color-scheme: light; }

.mz-paypal-hint { max-width: 560px; margin: 0 auto 10px !important; color: var(--mist-300) !important; font-size: .9rem; line-height: 1.55; }
.mz-paypal-hint strong { color: var(--mist-100); }
