:root {
    --bg-sand: #f8f3ea;
    --bg-mint: #edf7f2;
    --surface: rgba(255, 255, 255, 0.82);
    --surface-strong: #ffffff;
    --primary: #0f766e;
    --primary-strong: #115e59;
    --accent: #d97706;
    --accent-soft: #fff3dd;
    --ink: #132238;
    --muted: #627084;
    --line: rgba(19, 34, 56, 0.12);
    --success: #16a34a;
    --danger: #dc2626;
    --shadow: 0 22px 60px rgba(19, 34, 56, 0.12);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --container: min(1120px, calc(100% - 32px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    font-family: "Trebuchet MS", "Segoe UI Variable", "Tahoma", sans-serif;
    background:
        radial-gradient(circle at top right, rgba(217, 119, 6, 0.18), transparent 28%),
        radial-gradient(circle at left center, rgba(15, 118, 110, 0.2), transparent 34%),
        linear-gradient(135deg, var(--bg-sand) 0%, var(--bg-mint) 48%, #f6efe4 100%);
    position: relative;
}

html,
body,
.dash-sidebar,
.dash-main-panel {
    scrollbar-width: thin;
    scrollbar-color: rgba(79, 130, 255, 0.5) transparent;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
.dash-sidebar::-webkit-scrollbar,
.dash-main-panel::-webkit-scrollbar {
    width: 8px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
.dash-sidebar::-webkit-scrollbar-track,
.dash-main-panel::-webkit-scrollbar-track {
    background: transparent;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
.dash-sidebar::-webkit-scrollbar-thumb,
.dash-main-panel::-webkit-scrollbar-thumb {
    background: rgba(79, 130, 255, 0.45);
    border-radius: 999px;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover,
.dash-sidebar::-webkit-scrollbar-thumb:hover,
.dash-main-panel::-webkit-scrollbar-thumb:hover {
    background: rgba(79, 130, 255, 0.7);
}

body.dashboard-demo-page[data-user-theme="dark"] {
    scrollbar-color: rgba(148, 163, 184, 0.55) transparent;
}

body.dashboard-demo-page[data-user-theme="dark"]::-webkit-scrollbar-thumb,
body.dashboard-demo-page[data-user-theme="dark"] .dash-sidebar::-webkit-scrollbar-thumb,
body.dashboard-demo-page[data-user-theme="dark"] .dash-main-panel::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.55);
}

body.dashboard-demo-page[data-user-theme="dark"]::-webkit-scrollbar-thumb:hover,
body.dashboard-demo-page[data-user-theme="dark"] .dash-sidebar::-webkit-scrollbar-thumb:hover,
body.dashboard-demo-page[data-user-theme="dark"] .dash-main-panel::-webkit-scrollbar-thumb:hover {
    background: rgba(148, 163, 184, 0.8);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(19, 34, 56, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(19, 34, 56, 0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.35;
    pointer-events: none;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

.container {
    width: var(--container);
    margin-inline: auto;
    position: relative;
    z-index: 1;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 0 12px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-badge {
    width: 48px;
    height: 48px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    box-shadow: 0 14px 28px rgba(15, 118, 110, 0.25);
}

.brand-copy strong {
    display: block;
    font-size: 1.05rem;
}

.brand-copy span {
    color: var(--muted);
    font-size: 0.92rem;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 72%, #0b3f3c 100%);
    box-shadow: 0 16px 28px rgba(15, 118, 110, 0.24);
}

.btn-secondary {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.7);
}

.btn-ghost {
    color: var(--primary-strong);
    background: rgba(15, 118, 110, 0.08);
}

.hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: center;
    padding: 28px 0 72px;
}

.panel {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(18px);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.hero-copy {
    padding: clamp(28px, 4vw, 48px);
    animation: riseUp 0.7s ease both;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
    color: var(--primary-strong);
    font-size: 0.92rem;
    margin-bottom: 20px;
}

.hero-title {
    margin: 0 0 18px;
    font-family: "Georgia", "Trebuchet MS", serif;
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    line-height: 1.06;
    letter-spacing: -0.04em;
}

.hero-title span {
    color: var(--primary);
}

.hero-text {
    margin: 0;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.9;
    max-width: 62ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.hero-grid {
    display: grid;
    gap: 16px;
    animation: riseUp 0.9s ease both;
}

.stat-card,
.feature-card,
.mini-card,
.info-card {
    padding: 22px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid var(--line);
}

.stat-card strong {
    display: block;
    font-size: 2rem;
    margin-bottom: 8px;
}

.stat-card span,
.feature-card p,
.mini-card p,
.info-card p,
.muted {
    color: var(--muted);
    line-height: 1.8;
    margin: 0;
}

.stack-two {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.feature-section {
    padding-bottom: 56px;
}

.section-title {
    margin: 0 0 10px;
    font-family: "Georgia", "Trebuchet MS", serif;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.section-lead {
    margin: 0 0 24px;
    color: var(--muted);
    max-width: 62ch;
    line-height: 1.9;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.feature-card strong,
.mini-card strong,
.info-card strong {
    display: block;
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.auth-wrap,
.dashboard-wrap {
    padding: 32px 0 60px;
}

.auth-page {
    display: grid;
    place-items: center;
    padding: 24px 16px;
    background:
        radial-gradient(circle at top right, rgba(140, 108, 255, 0.14), transparent 24%),
        radial-gradient(circle at bottom left, rgba(64, 212, 209, 0.18), transparent 32%),
        linear-gradient(180deg, #eef1f8 0%, #f8f9fd 100%);
}

.auth-shell {
    width: min(100%, 560px);
    position: relative;
    z-index: 1;
}

.auth-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 24px;
    align-items: start;
}

.auth-side,
.auth-card,
.dashboard-card {
    padding: clamp(24px, 4vw, 34px);
}

.auth-card-centered {
    padding: clamp(28px, 4vw, 38px);
}

.auth-card-wide {
    max-width: 860px;
    width: min(100%, 860px);
}

.auth-page .auth-card {
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.88);
    box-shadow: 0 22px 40px rgba(116, 128, 162, 0.16);
}

.auth-side {
    animation: riseUp 0.7s ease both;
}

.auth-card,
.dashboard-card {
    animation: riseUp 0.9s ease both;
}

.auth-heading {
    text-align: center;
    margin-bottom: 24px;
}

.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 0px;
    margin-bottom: 18px;
}

.auth-brand strong {
    font-size: 1.7rem;
    line-height: 1;
    color: #22304f;
}

.auth-brand-icon {
    width: 70px;
    height: 70px;
    display: block;
    object-fit: contain;
}

.auth-page .section-title {
    color: #2b3754;
}

.auth-heading .switcher {
    display: grid;
    width: 100%;
    margin-bottom: 22px;
}

.auth-heading .eyebrow {
    margin-bottom: 16px;
}

.auth-subtitle {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.switcher {
    display: inline-grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 8px;
    border-radius: 999px;
    background: #edf2ff;
    margin-bottom: 18px;
}

.switcher a {
    padding: 12px 18px;
    border-radius: 999px;
    text-align: center;
    color: var(--muted);
}

.switcher a.active {
    color: #fff;
    background: linear-gradient(135deg, #4f82ff 0%, #8d63ff 100%);
}

.notice {
    padding: 14px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    border: 1px solid transparent;
    line-height: 1.8;
}

.notice-error {
    color: #7f1d1d;
    background: rgba(220, 38, 38, 0.1);
    border-color: rgba(220, 38, 38, 0.2);
}

.notice-success {
    color: #14532d;
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.2);
}

.notice-with-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.notice-copy {
    flex: 1 1 260px;
    min-width: 0;
}

.notice-upgrade-panel {
    padding: 18px 20px;
    border-radius: 18px;
    margin-top: 16px;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    box-shadow: 0 16px 34px rgba(148, 23, 23, 0.08);
}

.notice-upgrade-copy {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1 1 260px;
    min-width: 0;
}

.notice-upgrade-icon {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    font-weight: 800;
    font-size: 0.95rem;
    color: #991b1b;
    background: rgba(220, 38, 38, 0.14);
    border: 1px solid rgba(220, 38, 38, 0.18);
}

.notice-upgrade-btn {
    flex: 0 0 auto;
    max-width: 100%;
    white-space: nowrap;
}

.notice-subscription-panel {
    padding: 18px 20px;
    border-radius: 18px;
    margin-bottom: 20px;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.notice-subscription-panel.is-warning {
    color: #9a3412;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.18) 0%, rgba(255, 255, 255, 0.94) 100%);
    border-color: rgba(245, 158, 11, 0.24);
    box-shadow: 0 16px 34px rgba(217, 119, 6, 0.08);
}

.notice-subscription-panel.is-expired {
    color: #7f1d1d;
    background: linear-gradient(135deg, rgba(248, 113, 113, 0.12) 0%, rgba(255, 255, 255, 0.94) 100%);
    border-color: rgba(220, 38, 38, 0.2);
    box-shadow: 0 16px 34px rgba(148, 23, 23, 0.08);
}

.notice-subscription-copy {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1 1 280px;
    min-width: 0;
}

.notice-subscription-icon {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    font-weight: 800;
    font-size: 0.95rem;
}

.notice-subscription-panel.is-warning .notice-subscription-icon {
    color: #9a3412;
    background: rgba(251, 191, 36, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.22);
}

.notice-subscription-panel.is-expired .notice-subscription-icon {
    color: #991b1b;
    background: rgba(220, 38, 38, 0.14);
    border: 1px solid rgba(220, 38, 38, 0.18);
}

.notice-subscription-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1 1 auto;
    min-width: 0;
}

.notice-subscription-title {
    font-weight: 800;
    color: inherit;
}

.notice-subscription-text {
    color: inherit;
    opacity: 0.92;
}

.notice-subscription-btn {
    flex: 0 0 auto;
    max-width: 100%;
    white-space: nowrap;
}

.field {
    margin-bottom: 16px;
}

.field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.field input,
.field select {
    width: 100%;
    min-height: 54px;
    padding: 0 16px;
    border-radius: 16px;
    border: 1px solid rgba(19, 34, 56, 0.08);
    background: #ffffff;
    color: var(--ink);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    appearance: none;
}

.field textarea {
    width: 100%;
    min-height: 120px;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(19, 34, 56, 0.08);
    background: #ffffff;
    color: var(--ink);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: rgba(79, 130, 255, 0.55);
    box-shadow: 0 0 0 4px rgba(79, 130, 255, 0.08);
}

.dash-gateway-select-field {
    position: relative;
}

.dash-gateway-picker {
    display: none;
    position: relative;
}

.dash-gateway-select-field.is-enhanced .dash-gateway-native-select {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}

.dash-gateway-select-field.is-enhanced .dash-gateway-picker {
    display: block;
}

.dash-gateway-picker-button {
    width: 100%;
    min-height: 54px;
    min-width: 0;
    padding: 9px 14px;
    border: 1px solid rgba(19, 34, 56, 0.08);
    border-radius: 16px;
    background: #ffffff;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    direction: rtl;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.dash-gateway-picker-button:hover:not(:disabled) {
    transform: translateY(-1px);
}

.dash-gateway-picker-button.is-open,
.dash-gateway-picker-button:focus-visible {
    border-color: rgba(79, 130, 255, 0.55);
    box-shadow: 0 0 0 4px rgba(79, 130, 255, 0.08);
    outline: none;
}

.dash-gateway-picker-button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.dash-gateway-picker-value {
    min-width: 0;
    flex: 1;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    direction: ltr;
}

.dash-gateway-picker-media,
.dash-gateway-picker-option-media {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    justify-self: start;
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    place-items: center;
    padding: 4px;
    background: linear-gradient(135deg, #eef4ff 0%, #f8fbff 100%);
    color: #315ee8;
    font-weight: 800;
    font-size: 0.83rem;
    letter-spacing: 0.02em;
    box-sizing: border-box;
}

.dash-gateway-picker-media img,
.dash-gateway-picker-option-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}

.dash-gateway-picker-copy,
.dash-gateway-picker-option-copy {
    min-width: 0;
    flex: 1;
    display: grid;
    gap: 2px;
    direction: rtl;
    text-align: right;
    align-content: center;
}

.dash-gateway-picker-media,
.dash-gateway-picker-option-media {
    grid-column: 1;
}

.dash-gateway-picker-copy,
.dash-gateway-picker-option-copy {
    grid-column: 2;
}

.dash-gateway-picker-copy strong,
.dash-gateway-picker-option-copy strong {
    font-size: 0.94rem;
    font-weight: 800;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-gateway-picker-copy span,
.dash-gateway-picker-option-copy span {
    font-size: 0.76rem;
    font-weight: 700;
    color: #7a8699;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-gateway-picker-button.is-empty .dash-gateway-picker-copy strong {
    color: #6b7280;
}

.dash-gateway-picker-arrow {
    color: #7a8699;
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}

.dash-gateway-picker-button.is-open .dash-gateway-picker-arrow {
    transform: rotate(180deg);
}

.dash-gateway-picker-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 35;
    max-height: 300px;
    overflow: auto;
    padding: 8px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(19, 34, 56, 0.08);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.14);
}

.dash-gateway-picker-option {
    width: 100%;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: inherit;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    cursor: pointer;
    text-align: inherit;
    direction: ltr;
    transition: background 0.18s ease, transform 0.18s ease;
}

.dash-gateway-picker-option:hover {
    background: #f8fbff;
}

.dash-gateway-picker-option.is-active {
    background: #eef4ff;
}

.dash-gateway-picker-option + .dash-gateway-picker-option {
    margin-top: 4px;
}

.dash-amount-input-wrap {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.dash-amount-input-wrap input {
    flex: 1;
    min-width: 0;
}

.dash-amount-currency {
    min-width: 76px;
    padding: 0 14px;
    border-radius: 16px;
    border: 1px solid rgba(79, 130, 255, 0.14);
    background: linear-gradient(180deg, #f5f8ff 0%, #edf3ff 100%);
    color: #315ee8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.dash-amount-currency.is-empty {
    color: #94a3b8;
    border-color: rgba(148, 163, 184, 0.16);
    background: #f8fafc;
}

.auth-grid-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.auth-consent-box {
    margin-top: 8px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #f7f9ff;
    border: 1px solid rgba(79, 130, 255, 0.12);
}

.auth-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #36425d;
    line-height: 1.8;
}

.auth-checkbox + .auth-checkbox {
    margin-top: 10px;
}

.auth-checkbox input {
    margin-top: 6px;
}

.auth-checkbox a {
    color: #3f6fff;
    font-weight: 700;
}

.auth-verify-form {
    margin-bottom: 14px;
}

.auth-code-row {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    direction: ltr;
}

.auth-code-input {
    width: 100%;
    min-height: 60px;
    border-radius: 18px;
    border: 1px solid rgba(19, 34, 56, 0.1);
    background: #ffffff;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: #22304f;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.auth-code-input:focus {
    border-color: rgba(79, 130, 255, 0.55);
    box-shadow: 0 0 0 4px rgba(79, 130, 255, 0.08);
    transform: translateY(-1px);
}

.auth-helper-actions {
    display: flex;
    justify-content: center;
}

.auth-helper-link {
    color: #4259d9;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.auth-helper-link:hover,
.auth-helper-link:focus-visible {
    color: #2339b7;
    text-decoration: underline;
}

.dash-password-control {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.dash-password-control input {
    flex: 1 1 auto;
    min-width: 0;
}

.dash-password-toggle,
.dash-password-generate {
    border: 1px solid rgba(19, 34, 56, 0.12);
    background: #ffffff;
    color: #22304f;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.94rem;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.dash-password-toggle {
    min-width: 88px;
    padding: 0 16px;
}

.dash-password-generate {
    padding: 10px 14px;
    white-space: nowrap;
}

.dash-password-toggle:hover,
.dash-password-toggle:focus-visible,
.dash-password-generate:hover,
.dash-password-generate:focus-visible {
    border-color: rgba(79, 130, 255, 0.28);
    background: #f4f7ff;
    color: #2848c5;
    transform: translateY(-1px);
}

.dash-password-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.dash-password-strength {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 240px;
    min-width: 0;
}

.dash-password-strength-bar {
    position: relative;
    flex: 1 1 auto;
    height: 12px;
    border-radius: 999px;
    background:
        repeating-linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.22) 0,
            rgba(255, 255, 255, 0.22) calc(20% - 2px),
            transparent calc(20% - 2px),
            transparent 20%
        ),
        #e7ebf5;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(19, 34, 56, 0.06);
}

.dash-password-strength-fill {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #c6d0ea 0%, #d7e0f5 100%);
    box-shadow: 0 0 12px rgba(91, 118, 185, 0.22);
    transition: width 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.dash-password-strength strong {
    min-width: 92px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f3f6fc;
    font-size: 0.86rem;
    color: #42506d;
    white-space: nowrap;
    text-align: center;
    line-height: 1;
}

.dash-password-strength[data-strength-state="weak"] .dash-password-strength-fill {
    background: linear-gradient(90deg, #ff6b78 0%, #e24657 100%);
    box-shadow: 0 0 16px rgba(226, 70, 87, 0.3);
}

.dash-password-strength[data-strength-state="fair"] .dash-password-strength-fill {
    background: linear-gradient(90deg, #ffbf5c 0%, #f19a2f 100%);
    box-shadow: 0 0 16px rgba(241, 154, 47, 0.28);
}

.dash-password-strength[data-strength-state="good"] .dash-password-strength-fill {
    background: linear-gradient(90deg, #f4d85c 0%, #d0b139 100%);
    box-shadow: 0 0 16px rgba(208, 177, 57, 0.24);
}

.dash-password-strength[data-strength-state="strong"] .dash-password-strength-fill {
    background: linear-gradient(90deg, #44d38a 0%, #1fa565 100%);
    box-shadow: 0 0 16px rgba(31, 165, 101, 0.28);
}

.dash-password-strength[data-strength-state="very-strong"] .dash-password-strength-fill {
    background: linear-gradient(90deg, #1fd0a3 0%, #0b8d78 100%);
    box-shadow: 0 0 18px rgba(11, 141, 120, 0.32);
}

.dash-password-strength[data-strength-state="weak"] strong {
    background: rgba(226, 70, 87, 0.12);
    color: #ba2c3e;
}

.dash-password-strength[data-strength-state="fair"] strong {
    background: rgba(241, 154, 47, 0.14);
    color: #be6f12;
}

.dash-password-strength[data-strength-state="good"] strong {
    background: rgba(208, 177, 57, 0.14);
    color: #9a7c12;
}

.dash-password-strength[data-strength-state="strong"] strong {
    background: rgba(31, 165, 101, 0.14);
    color: #167b4c;
}

.dash-password-strength[data-strength-state="very-strong"] strong {
    background: rgba(11, 141, 120, 0.14);
    color: #096e5d;
}

.auth-legal-copy {
    color: #42506d;
    line-height: 2;
}

.auth-legal-copy p {
    margin: 0 0 14px;
}

@media (max-width: 720px) {
    .auth-grid-two {
        grid-template-columns: 1fr;
    }

    .auth-code-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dash-password-control {
        flex-direction: column;
    }

    .dash-password-toggle,
    .dash-password-generate {
        width: 100%;
    }
}

.submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.submit-row-column {
    flex-direction: column;
    align-items: stretch;
}

.tiny {
    font-size: 0.92rem;
    color: var(--muted);
}

.centered-text {
    text-align: center;
}

.auth-submit {
    width: 100%;
}

.auth-page .btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #4f82ff 0%, #8d63ff 100%);
    box-shadow: 0 16px 28px rgba(77, 127, 247, 0.22);
}

.list-clean {
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.list-clean li + li {
    margin-top: 10px;
}

.list-clean li::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-left: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.dashboard-hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 20px;
    margin-bottom: 22px;
}

.dashboard-page {
    padding: 24px 16px;
}

.dashboard-shell {
    width: min(1400px, 100%);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.dashboard-sidebar {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    align-self: start;
    position: sticky;
    top: 24px;
}

.dashboard-brand {
    padding-bottom: 6px;
}

.dashboard-nav {
    display: grid;
    gap: 10px;
}

.dashboard-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(19, 34, 56, 0.08);
    background: rgba(255, 255, 255, 0.56);
    color: var(--muted);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.dashboard-nav-link:hover {
    transform: translateY(-1px);
    border-color: rgba(15, 118, 110, 0.24);
}

.dashboard-nav-link.active {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 14px 28px rgba(15, 118, 110, 0.22);
}

.dashboard-sidebar-card {
    padding: 18px;
    border-radius: var(--radius-lg);
    background: rgba(19, 34, 56, 0.04);
    border: 1px solid rgba(19, 34, 56, 0.08);
}

.dashboard-sidebar-card strong {
    display: block;
    margin: 8px 0 6px;
}

.sidebar-meta {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(19, 34, 56, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.94rem;
}

.dashboard-main {
    display: grid;
    gap: 20px;
}

.dashboard-topbar {
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.dashboard-topbar-copy {
    max-width: 700px;
}

.dashboard-title {
    margin: 14px 0 10px;
    font-family: "Georgia", "Trebuchet MS", serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.06;
    letter-spacing: -0.04em;
}

.dashboard-topbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.dashboard-date-card {
    min-width: 150px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(19, 34, 56, 0.05);
    border: 1px solid rgba(19, 34, 56, 0.08);
}

.dashboard-date-card strong {
    display: block;
    margin-top: 6px;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.dashboard-stat-card {
    padding: 22px;
    border-radius: var(--radius-lg);
}

.dashboard-stat-label {
    display: inline-block;
    color: var(--muted);
    font-size: 0.94rem;
    margin-bottom: 10px;
}

.dashboard-stat-number {
    display: block;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.1;
    margin-bottom: 10px;
}

.dashboard-stat-date {
    font-size: 1.35rem;
}

.dashboard-stat-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.dashboard-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 18px;
}

.dashboard-card-large,
.dashboard-card {
    padding: 26px;
}

.dashboard-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.account-list {
    margin-top: 18px;
    display: grid;
    gap: 12px;
}

.account-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(19, 34, 56, 0.04);
    border: 1px solid rgba(19, 34, 56, 0.08);
}

.account-row span {
    color: var(--muted);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: #9a5b00;
    font-size: 0.92rem;
}

.highlight {
    color: var(--primary);
    font-weight: 700;
}

.dashboard-demo-page {
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at top right, rgba(140, 108, 255, 0.14), transparent 24%),
        radial-gradient(circle at bottom left, rgba(64, 212, 209, 0.18), transparent 32%),
        linear-gradient(180deg, #eef1f8 0%, #f8f9fd 100%);
}

.dash-app-shell {
    width: 100%;
    min-height: 100vh;
    margin-inline: 0;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    direction: ltr;
    background: rgba(255, 255, 255, 0.82);
    border: 0;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    position: relative;
    z-index: 1;
    align-items: start;
}

.dash-sidebar {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 28px 22px 24px;
    color: #fff;
    background: linear-gradient(180deg, #3ad4d0 0%, #3b7cff 100%);
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}

.dash-main-panel {
    direction: ltr;
}

.dash-app-shell-subscription-only {
    grid-template-columns: minmax(0, 1fr);
    background: transparent;
}

.dash-main-panel-subscription-only {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 42px 20px 30px;
}

.dash-brand-block {
    padding: 8px 6px 16px;
}

.dash-brand-kicker {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    opacity: 0.85;
}

.dash-brand-kicker-plan {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: normal;
    line-height: 1.35;
    text-transform: none;
    opacity: 0.92;
}

.dash-brand-block strong {
    display: block;
    font-size: 2rem;
    line-height: 1.05;
    margin-bottom: 8px;
}

.dash-brand-title {
    display: inline-flex !important;
    align-items: center;
    gap: 0px;
}

.dash-brand-home-link {
    color: inherit;
    text-decoration: none;
    display: inline-block;
}

.dash-brand-icon {
    width: 70px;
    height: 70px;
    display: block;
    object-fit: contain;
    flex: 0 0 auto;
}

.dash-brand-block p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.6;
}

.dash-menu {
    display: grid;
    gap: 10px;
}

.dash-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 18px;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid transparent;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.dash-menu-item:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.12);
}

.dash-menu-item.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.dash-menu-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    background: rgba(255, 255, 255, 0.16);
}

.dash-menu-icon svg {
    width: 19px;
    height: 19px;
    display: block;
}

.dash-sidebar-bottom {
    margin-top: auto;
    display: grid;
    gap: 14px;
    width: 100%;
    max-width: 100%;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.dash-profile-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.14);
}

.dash-profile-chip-link {
    color: inherit;
    text-decoration: none;
    transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.dash-profile-chip-link:hover,
.dash-profile-chip-link:focus-visible {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 14px 28px rgba(16, 38, 99, 0.14);
    transform: translateY(-1px);
}

.dash-profile-chip > div:last-child {
    min-width: 0;
    flex: 1;
}

.dash-avatar {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: #ffffff;
    color: #3b7cff;
    font-weight: 800;
    overflow: hidden;
}

.dash-avatar.has-image {
    padding: 0;
    background: #ffffff;
}

.dash-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: inherit;
}

.dash-profile-chip strong,
.dash-sidebar-note strong {
    display: block;
}

.dash-profile-chip p,
.dash-sidebar-note {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.6;
}

.dash-profile-chip strong,
.dash-profile-chip p,
.dash-sidebar-note strong {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.dash-sidebar-note {
    padding: 14px 16px;
    width: 100%;
    max-width: 100%;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
}

.dash-brand-block p,
.dash-profile-chip div,
.dash-sidebar-note,
.dash-report-card p,
.dash-main-panel .notice {
    direction: rtl;
    text-align: right;
}

.dash-settings-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 18px;
    width: 100%;
    max-width: 100%;
    border-radius: 18px;
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
}

.dash-main-panel {
    display: flex;
    flex-direction: column;
    align-content: start;
    gap: 24px;
    min-height: 100vh;
    padding: 20px 26px 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(246, 247, 251, 0.9));
}

.dash-mobile-toggle,
.dash-sidebar-close,
.dash-sidebar-overlay {
    display: none;
}

.dash-mobile-toggle,
.dash-sidebar-close {
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 16px;
    background: #ffffff;
    color: #6f7d98;
    box-shadow: 0 12px 24px rgba(129, 141, 173, 0.16);
}

.dash-mobile-toggle svg,
.dash-sidebar-close svg {
    width: 22px;
    height: 22px;
}

.dash-sidebar-close {
    align-self: flex-end;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    box-shadow: none;
}

.dash-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.dash-toolbar-left,
.dash-toolbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dash-toolbar-left {
    flex: 1;
}

.dash-chip {
    min-width: 126px;
    height: 52px;
    padding: 0 18px;
    border: 1px solid rgba(19, 34, 56, 0.08);
    border-radius: 16px;
    background: #ffffff;
    color: #65748c;
    font-weight: 800;
    letter-spacing: 0.08em;
    cursor: default;
}

.dash-search {
    position: relative;
    flex: 1;
    max-width: 520px;
}

.dash-search input {
    width: 100%;
    height: 52px;
    padding-inline: 18px 52px;
    border-radius: 18px;
    border: 1px solid rgba(19, 34, 56, 0.08);
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
    outline: none;
}

.dash-search-icon {
    position: absolute;
    inset-inline-end: 18px;
    top: 50%;
    width: 22px;
    height: 22px;
    color: #99a3b6;
    transform: translateY(-50%);
}

.dash-search-icon svg,
.dash-toolbar-icon svg {
    width: 100%;
    height: 100%;
}

.dash-toolbar-user,
.dash-toolbar-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 16px;
    background: #4d7ff7;
    color: #fff;
    box-shadow: 0 14px 28px rgba(77, 127, 247, 0.22);
}

.dash-toolbar-user {
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    overflow: hidden;
}

.dash-toolbar-user.has-image {
    padding: 0;
}

.dash-toolbar-user img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: inherit;
}

.dash-lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(196, 205, 232, 0.5);
}

.dash-lang-btn {
    min-width: 44px;
    height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
    color: #516085;
    background: transparent;
    border: 0;
    cursor: pointer;
    text-decoration: none;
}

.dash-lang-btn.is-active {
    color: #ffffff;
    background: linear-gradient(135deg, #4f82ff 0%, #8d63ff 100%);
    box-shadow: 0 10px 20px rgba(94, 104, 214, 0.24);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-lang-switch {
    background: rgba(15, 23, 42, 0.6);
    border-color: rgba(148, 163, 184, 0.2);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-lang-btn {
    color: #cbd5f5;
}

.dash-lang-menu-wrap {
    position: relative;
}

.dash-lang-toggle {
    min-width: 72px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid rgba(196, 205, 232, 0.46);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    color: #4c5a82;
    box-shadow: 0 12px 24px rgba(129, 141, 173, 0.16);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.dash-lang-menu-wrap.is-open .dash-lang-toggle,
.dash-lang-toggle:hover,
.dash-lang-toggle:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(133, 151, 216, 0.38);
    box-shadow: 0 18px 34px rgba(108, 122, 164, 0.2);
}

.dash-lang-toggle-icon,
.dash-lang-toggle-caret {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 18px;
}

.dash-lang-toggle-icon svg,
.dash-lang-toggle-caret svg,
.dash-lang-panel-icon svg,
.dash-lang-menu-check svg {
    width: 100%;
    height: 100%;
}

.dash-lang-toggle-copy {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    flex: 0 0 auto;
    line-height: 1;
}

.dash-lang-toggle-copy strong {
    font-size: 0.78rem;
    font-weight: 800;
    color: #303962;
    letter-spacing: 0.06em;
}

.dash-lang-toggle-caret {
    color: #8a92b1;
    width: 14px;
    height: 14px;
    flex-basis: 14px;
}

.dash-lang-panel {
    right: 0;
    left: auto;
    width: min(260px, calc(100vw - 32px));
    direction: inherit;
    text-align: start;
}

.dash-lang-panel-head {
    direction: inherit;
    text-align: start;
}

.dash-lang-panel-icon {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: #ffffff;
    background: linear-gradient(135deg, #4f82ff 0%, #8d63ff 100%);
    box-shadow: 0 14px 28px rgba(95, 111, 170, 0.18);
}

.dash-lang-menu-link {
    position: relative;
}

.dash-lang-menu-link.is-active {
    color: #30406f;
    background: linear-gradient(135deg, rgba(79, 130, 255, 0.12) 0%, rgba(141, 99, 255, 0.1) 100%);
    border-color: rgba(125, 144, 214, 0.28);
    box-shadow: 0 12px 22px rgba(94, 104, 214, 0.14);
}

.dash-lang-menu-link.is-active span {
    color: inherit;
}

.dash-lang-menu-code,
.dash-lang-menu-check {
    flex: 0 0 auto;
}

.dash-lang-menu-code {
    min-width: 38px;
    height: 28px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #4f82ff;
    background: rgba(79, 130, 255, 0.12);
}

.dash-lang-menu-link.is-active .dash-lang-menu-code {
    color: #ffffff;
    background: linear-gradient(135deg, #4f82ff 0%, #8d63ff 100%);
}

.dash-lang-menu-link.is-active .dash-lang-menu-check {
    color: #4f82ff;
}

.dash-lang-menu-check {
    width: 18px;
    height: 18px;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-lang-toggle {
    background: rgba(15, 23, 42, 0.92);
    color: #dbe7fb;
    border-color: rgba(148, 163, 184, 0.16);
    box-shadow: 0 18px 36px rgba(2, 6, 23, 0.34);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-lang-toggle-copy strong {
    color: #e6edf7;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-lang-toggle-copy span,
body.dashboard-demo-page[data-user-theme="dark"] .dash-lang-toggle-caret {
    color: #9aa8c4;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-lang-menu-code {
    color: #c7d2fe;
    background: rgba(79, 130, 255, 0.16);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-lang-menu-link.is-active {
    background: linear-gradient(135deg, rgba(79, 130, 255, 0.92) 0%, rgba(109, 84, 214, 0.92) 100%);
    box-shadow: 0 16px 28px rgba(37, 99, 235, 0.26);
}

.dash-user-toggle {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.dash-user-menu-wrap {
    position: relative;
}

.dash-user-menu-wrap.is-open .dash-user-toggle {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(77, 127, 247, 0.24);
}

.dash-user-panel {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    left: auto;
    width: min(320px, calc(100vw - 32px));
    padding: 18px;
    border-radius: 26px;
    border: 1px solid rgba(180, 189, 220, 0.34);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 48px rgba(108, 122, 164, 0.2);
    direction: rtl;
    text-align: right;
    z-index: 65;
}

.dash-user-panel-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(203, 210, 232, 0.42);
}

.dash-user-panel-avatar {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, #4f82ff 0%, #8d63ff 100%);
    box-shadow: 0 14px 28px rgba(95, 111, 170, 0.18);
    overflow: hidden;
}

.dash-user-panel-avatar.has-image {
    padding: 0;
    background: #ffffff;
}

.dash-user-panel-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: inherit;
}

.dash-user-panel-copy {
    min-width: 0;
    flex: 1;
}

.dash-user-panel-copy strong {
    display: block;
    color: #303962;
    font-size: 0.98rem;
}

.dash-user-panel-copy span {
    display: block;
    margin-top: 6px;
    color: #8a92b1;
    font-size: 0.84rem;
    overflow-wrap: anywhere;
}

.dash-user-menu-list {
    display: grid;
    gap: 10px;
}

.dash-user-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    border-radius: 18px;
    color: #515d85;
    background: #f8faff;
    border: 1px solid rgba(196, 205, 232, 0.3);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.dash-user-menu-link:hover {
    transform: translateY(-1px);
    background: #f1f5ff;
    border-color: rgba(152, 165, 214, 0.35);
}

.dash-user-menu-link svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.dash-user-menu-link span {
    flex: 1;
}

.dash-user-menu-link.is-danger {
    color: #d14d6a;
    background: #fff7f9;
    border-color: rgba(230, 170, 186, 0.34);
}

.dash-toolbar-icon {
    position: relative;
    background: #ffffff;
    color: #7a87a2;
    box-shadow: 0 12px 24px rgba(129, 141, 173, 0.16);
}

.dash-theme-toggle {
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.dash-theme-toggle:hover,
.dash-theme-toggle:focus-visible {
    transform: translateY(-1px);
}

.dash-theme-icon {
    position: absolute;
    inset: 0px;
    width: auto;
    height: auto;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.dash-theme-icon-sun {
    opacity: 0;
    transform: scale(0.72) rotate(-18deg);
}

.dash-theme-toggle.is-dark .dash-theme-icon-moon {
    opacity: 0;
    transform: scale(0.72) rotate(18deg);
}

.dash-theme-toggle.is-dark .dash-theme-icon-sun {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.dash-notify-count {
    position: absolute;
    top: -2px;
    inset-inline-end: -2px;
    min-width: 19px;
    height: 19px;
    padding: 0 4px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #4d7ff7;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
}

.dash-notify-wrap {
    position: relative;
}

.dash-notify-toggle {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.dash-notify-wrap.is-open .dash-notify-toggle {
    background: #4d7ff7;
    color: #ffffff;
}

.dash-notify-panel {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    left: auto;
    width: min(360px, calc(100vw - 32px));
    padding: 18px;
    display: grid;
    gap: 14px;
    max-height: min(520px, calc(100vh - 120px));
    border-radius: 26px;
    border: 1px solid rgba(180, 189, 220, 0.34);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 48px rgba(108, 122, 164, 0.2);
    direction: rtl;
    text-align: right;
    overflow: hidden;
    z-index: 60;
}

.dash-notify-panel[hidden] {
    display: none !important;
}

.dash-notify-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 0;
    flex: 0 0 auto;
}

.dash-notify-head strong {
    color: #2e3760;
    font-size: 1rem;
}

.dash-notify-head span {
    color: #7e87a8;
    font-size: 0.84rem;
    white-space: nowrap;
}

.dash-notify-list {
    display: grid;
    gap: 12px;
    max-height: min(380px, calc(100vh - 220px));
    padding-inline-end: 6px;
    margin-inline-end: -6px;
    overflow-y: auto;
}

.dash-notify-list::-webkit-scrollbar {
    width: 8px;
}

.dash-notify-list::-webkit-scrollbar-track {
    background: transparent;
}

.dash-notify-list::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(124, 138, 182, 0.34);
}

.dash-notify-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 15px;
    border-radius: 20px;
    background: #f8faff;
    border: 1px solid rgba(196, 205, 232, 0.3);
}

.dash-notify-item.is-read {
    opacity: 0.74;
}

.dash-notify-dot {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    margin-top: 6px;
    border-radius: 999px;
}

.dash-notify-dot-cyan {
    background: #35d8eb;
    box-shadow: 0 0 0 4px rgba(53, 216, 235, 0.15);
}

.dash-notify-dot-purple {
    background: #8c6cff;
    box-shadow: 0 0 0 4px rgba(140, 108, 255, 0.15);
}

.dash-notify-dot-blue {
    background: #4d7ff7;
    box-shadow: 0 0 0 4px rgba(77, 127, 247, 0.14);
}

.dash-notify-copy {
    min-width: 0;
    flex: 1;
}

.dash-notify-copy strong {
    display: block;
    color: #343d66;
    font-size: 0.94rem;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.dash-notify-copy p {
    margin: 6px 0 0;
    color: #65709a;
    font-size: 0.84rem;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.dash-notify-copy span,
.dash-notify-empty {
    display: block;
    margin-top: 6px;
    color: #8b93b2;
    font-size: 0.84rem;
    line-height: 1.6;
}

.dash-notify-empty {
    padding: 14px 15px;
    border-radius: 20px;
    background: #f8faff;
    border: 1px solid rgba(196, 205, 232, 0.3);
}

.dash-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
    gap: 20px;
}

.dash-page-grid > :only-child {
    grid-column: 1 / -1;
}

.dash-page-card {
    padding: 28px;
    border-radius: 30px;
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(118, 129, 160, 0.16);
}

.dash-page-card-wide {
    grid-column: 1 / -1;
}

.dash-page-copy {
    margin: 0 0 18px;
    color: #7b86a4;
    line-height: 1.9;
    direction: rtl;
    text-align: right;
}

.dash-profile-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    direction: rtl;
}

.dash-profile-settings-card {
    display: grid;
    gap: 0;
}

.dash-profile-settings-card .dash-profile-header {
    margin-bottom: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.dash-profile-settings-card .dash-profile-avatar-shell {
    margin-inline: auto;
}

.dash-profile-settings-card .dash-profile-title {
    flex: 0 0 auto;
    text-align: center;
}

.dash-profile-avatar-shell {
    position: relative;
    flex: 0 0 78px;
}

.dash-profile-avatar-large {
    width: 78px;
    height: 78px;
    flex: 0 0 78px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 26px;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, #4f82ff 0%, #8d63ff 100%);
    box-shadow: 0 18px 34px rgba(96, 110, 171, 0.2);
}

.dash-profile-avatar-large.has-image {
    padding: 0;
    background: #ffffff;
    color: transparent;
}

.dash-profile-avatar-large img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.dash-profile-avatar-large img[hidden] {
    display: none !important;
}

.dash-profile-avatar-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
}

.dash-profile-avatar-fallback[hidden] {
    display: none !important;
}

.dash-profile-edit-btn {
    position: absolute;
    left: -6px;
    bottom: -6px;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, #4f82ff 0%, #6f63ff 100%);
    box-shadow: 0 14px 26px rgba(79, 130, 255, 0.24);
    cursor: pointer;
}

.dash-profile-edit-btn svg {
    width: 18px;
    height: 18px;
    display: block;
}

.dash-profile-edit-btn-top {
    left: auto;
    right: -6px;
    top: -6px;
    bottom: auto;
}

.dash-profile-title {
    min-width: 0;
    flex: 1;
    text-align: right;
}

.dash-profile-title strong {
    display: block;
    color: #2d355c;
    font-size: 1.45rem;
}

.dash-profile-title span {
    display: block;
    margin-top: 8px;
    color: #8790b0;
    overflow-wrap: anywhere;
}

.dash-profile-link {
    display: block;
    margin-top: 8px;
    color: #8790b0;
    direction: ltr;
    text-align: right;
    overflow-wrap: anywhere;
}

.dash-profile-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.dash-profile-meta-item {
    padding: 16px 18px;
    border-radius: 22px;
    background: #f8faff;
    border: 1px solid rgba(196, 205, 232, 0.3);
    direction: rtl;
    text-align: right;
}

.dash-profile-meta-item span {
    display: block;
    color: #8a92b1;
    font-size: 0.84rem;
}

.dash-profile-meta-item strong {
    display: block;
    margin-top: 8px;
    color: #2f3960;
    font-size: 1rem;
    overflow-wrap: anywhere;
}

.dash-deposit-order-block {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(196, 205, 232, 0.34);
}

.dash-page-card-wide .dash-deposit-order-block {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.dash-debug-report {
    margin-top: 18px;
    border: 1px dashed rgba(12, 92, 219, 0.25);
    border-radius: 18px;
    background: rgba(12, 92, 219, 0.04);
    overflow: hidden;
}

.dash-debug-report summary {
    padding: 14px 16px;
    cursor: pointer;
    font-weight: 800;
    color: #0a3b86;
    user-select: none;
}

.dash-debug-report-body {
    padding: 0 16px 16px;
    display: grid;
    gap: 10px;
}

.dash-debug-report-row {
    display: grid;
    gap: 6px;
}

.dash-debug-report-row span {
    font-size: 0.87rem;
    font-weight: 700;
    color: #4e6286;
}

.dash-debug-report-row code {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(10, 37, 86, 0.08);
    color: #0b2447;
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 0.84rem;
}

.dash-deposit-order-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.dash-deposit-order-form {
    margin-top: 16px;
}

.dash-deposit-order-result {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.dash-deposit-order-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 22px;
    background: #f8faff;
    border: 1px solid rgba(196, 205, 232, 0.3);
}

.dash-deposit-order-main {
    min-width: 0;
    flex: 1;
    display: grid;
    gap: 8px;
}

.dash-deposit-order-link {
    display: block;
    min-width: 0;
    max-width: 100%;
    padding: 11px 14px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(196, 205, 232, 0.44);
    color: #2d3860;
    font-family: "Consolas", "Courier New", monospace;
    font-size: 0.96rem;
    line-height: 1.7;
    direction: ltr;
    text-align: left;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.dash-deposit-order-link:hover {
    color: #315ee8;
}

.dash-card-title {
    margin: 0 0 12px;
    color: #2f3960;
    font-size: 1.2rem;
    direction: rtl;
    text-align: right;
}

.dash-card-list {
    display: grid;
    gap: 12px;
}

.dash-profile-edit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.dash-profile-edit-grid .field-full {
    grid-column: 1 / -1;
}

.dash-card-list-item {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 20px;
    background: #f8faff;
    border: 1px solid rgba(196, 205, 232, 0.3);
    direction: rtl;
}

.dash-card-list-item span {
    color: #8a92b1;
    font-size: 0.9rem;
}

.dash-card-list-item strong {
    color: #2f3960;
    font-size: 0.96rem;
    overflow-wrap: anywhere;
}

.dash-api-key-stack {
    display: grid;
    gap: 14px;
}

.dash-api-key-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 14px;
    min-width: 0;
    padding: 16px;
    border-radius: 22px;
    background: linear-gradient(180deg, #f8faff 0%, #f2f6ff 100%);
    border: 1px solid rgba(196, 205, 232, 0.42);
    direction: rtl;
}

.dash-api-key-main {
    min-width: 0;
    width: 100%;
    flex: 1 1 320px;
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    gap: 14px;
}

.dash-api-key-label {
    color: #7f89aa;
    font-size: 0.92rem;
    font-weight: 700;
    white-space: nowrap;
    min-width: 0;
}

.dash-api-key-value {
    display: block;
    width: 100%;
    min-width: 0;
    flex: 1;
    max-width: 100%;
    padding: 11px 14px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(196, 205, 232, 0.44);
    color: #2d3860;
    font-family: "Consolas", "Courier New", monospace;
    font-size: 0.96rem;
    line-height: 1.7;
    direction: ltr;
    text-align: left;
    white-space: nowrap;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.dash-api-key-value.is-digits {
    letter-spacing: 0.16em;
}

.dash-api-key-input {
    font-family: "Trebuchet MS", "Segoe UI Variable", "Tahoma", sans-serif;
    white-space: normal;
}


.dash-api-key-input::placeholder {
    color: #97a3bf;
}

.dash-api-key-input:focus {
    border-color: rgba(79, 130, 255, 0.45);
    box-shadow: 0 0 0 4px rgba(79, 130, 255, 0.08);
    outline: none;
}

.dash-api-key-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    min-width: 0;
    max-width: 100%;
    flex-wrap: wrap;
    direction: ltr;
}

.dash-api-key-btn {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    color: #617191;
    background: #ffffff;
    box-shadow: 0 12px 24px rgba(129, 141, 173, 0.14);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.dash-api-key-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(129, 141, 173, 0.18);
}

.dash-api-key-btn svg {
    width: 20px;
    height: 20px;
    display: block;
}

.dash-api-key-btn-icon {
    display: inline-grid;
    place-items: center;
}

.dash-api-key-btn-icon-check {
    display: none;
}

.dash-api-key-btn.is-copied {
    color: #ffffff;
    background: linear-gradient(135deg, #27c980 0%, #14a965 100%);
    box-shadow: 0 14px 28px rgba(20, 169, 101, 0.26);
}

.dash-api-key-btn.is-copied .dash-api-key-btn-icon-copy {
    display: none;
}

.dash-api-key-btn.is-copied .dash-api-key-btn-icon-check {
    display: inline-grid;
}

.dash-api-key-btn-regen {
    color: #6d78a4;
    background: rgba(118, 131, 179, 0.12);
    box-shadow: none;
}

.dash-api-key-btn-save {
    color: #3657d2;
    background: rgba(77, 127, 247, 0.12);
    box-shadow: none;
}

.dash-api-key-btn-link {
    color: #3657d2;
    background: rgba(77, 127, 247, 0.12);
    box-shadow: none;
    text-decoration: none;
}

.dash-api-key-btn-link:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #4f82ff 0%, #6b61ff 100%);
    box-shadow: 0 14px 28px rgba(79, 130, 255, 0.24);
}

.dash-api-key-btn-regen.is-success {
    color: #ffffff;
    background: linear-gradient(135deg, #4f82ff 0%, #6b61ff 100%);
    box-shadow: 0 14px 28px rgba(79, 130, 255, 0.24);
}

.dash-api-key-btn-save.is-success {
    color: #ffffff;
    background: linear-gradient(135deg, #27c980 0%, #14a965 100%);
    box-shadow: 0 14px 28px rgba(20, 169, 101, 0.26);
}

.dash-api-key-btn-save.is-success .dash-api-key-btn-icon-save {
    display: none;
}

.dash-api-key-btn-save.is-success .dash-api-key-btn-icon-check {
    display: inline-grid;
}

.dash-action-stack {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.dash-field-hint {
    display: block;
    margin-top: 10px;
    color: #8790b0;
    font-size: 0.88rem;
    line-height: 1.7;
    direction: rtl;
    text-align: right;
}

.dash-form-row-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.dash-verify-preview {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    margin-bottom: 16px;
    border-radius: 24px;
    background: #f8faff;
}

.dash-website-live-preview {
    margin-top: 4px;
}

.dash-verify-preview-copy {
    min-width: 0;
    flex: 1;
    text-align: right;
}

.dash-verify-preview-copy strong {
    display: block;
    color: #2d355c;
    font-size: 1.18rem;
}

.dash-website-live-copy .dash-profile-link {
    margin-top: 0;
}

.dash-verify-code {
    padding: 16px 18px;
    border-radius: 22px;
    background: #f7f9ff;
    border: 1px solid rgba(196, 205, 232, 0.45);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.dash-verify-code code {
    display: block;
    color: #33416d;
    direction: ltr;
    text-align: left;
    font-size: 0.92rem;
    line-height: 1.8;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.dash-verify-code-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 14px;
}

.dash-verify-copy-btn {
    min-width: 170px;
}

.dash-verify-copy-btn.is-copied {
    color: #14532d;
    border-color: rgba(34, 197, 94, 0.28);
    background: rgba(34, 197, 94, 0.12);
}

.dash-verify-steps {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.dash-verify-step {
    padding: 13px 16px;
    border-radius: 18px;
    background: rgba(77, 127, 247, 0.08);
    color: #4f5f8d;
    line-height: 1.8;
    direction: rtl;
    text-align: right;
}

.dash-api-version-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.dash-api-version-card {
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid rgba(196, 205, 232, 0.34);
    box-shadow: 0 18px 36px rgba(118, 129, 160, 0.12);
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.dash-api-version-card:hover,
.dash-api-version-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(77, 127, 247, 0.24);
    box-shadow: 0 24px 40px rgba(118, 129, 160, 0.16);
}

.dash-api-version-card.is-active {
    border-color: rgba(77, 127, 247, 0.28);
    background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
    box-shadow: 0 24px 42px rgba(94, 110, 170, 0.16);
}

.dash-api-version-media {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(180deg, #f8faff 0%, #eef3ff 100%);
    border: 1px solid rgba(196, 205, 232, 0.34);
}

.dash-api-version-media img {
    width: 59%;
    height: 100%;
    display: block;
    object-fit: cover;
    margin-left: 15%;
}

.dash-api-version-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.dash-api-version-copy {
    min-width: 0;
    direction: rtl;
    text-align: right;
}

.dash-api-version-copy strong {
    display: block;
    color: #2f3960;
    font-size: 1.08rem;
}

.dash-api-version-copy span {
    display: block;
    margin-top: 8px;
    color: #8790b0;
    line-height: 1.8;
}

.dash-api-version-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(77, 127, 247, 0.12);
    color: #3b5ecf;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.dash-api-version-pill.is-soon {
    background: rgba(107, 114, 128, 0.12);
    color: #667085;
}

.dash-api-doc-hero {
    display: grid;
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    gap: 24px;
    align-items: center;
}

.dash-api-doc-hero-copy {
    display: grid;
    gap: 16px;
}

.dash-api-hero-badges {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.dash-api-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(77, 127, 247, 0.1);
    color: #4262d5;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.dash-api-pill.is-neutral {
    background: rgba(107, 114, 128, 0.12);
    color: #667085;
}

.dash-api-endpoint {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    direction: ltr;
}

.dash-api-endpoint-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4f82ff 0%, #8d63ff 100%);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.dash-api-route {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 12px;
    background: #f8faff;
    border: 1px solid rgba(196, 205, 232, 0.34);
    color: #33416d;
    font-family: "Consolas", "Courier New", monospace;
    font-size: 0.88rem;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.dash-api-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.dash-api-field {
    padding: 16px 18px;
    border-radius: 22px;
    background: #f8faff;
    border: 1px solid rgba(196, 205, 232, 0.3);
    direction: rtl;
    text-align: right;
}

.dash-api-field span {
    display: block;
    color: #8a92b1;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.dash-api-field strong {
    display: block;
    margin-top: 8px;
    color: #2f3960;
    font-size: 1rem;
}

.dash-api-field small {
    display: block;
    margin-top: 8px;
    color: #7d87a1;
    line-height: 1.75;
    font-size: 0.88rem;
}

.dash-api-note {
    padding: 16px 18px;
    border-radius: 22px;
    background: rgba(77, 127, 247, 0.08);
    color: #4f5f8d;
    line-height: 1.9;
    direction: rtl;
    text-align: right;
}

.dash-api-docs {
    direction: ltr;
    text-align: left;
}

.dash-api-docs .gateway-section-copy,
.dash-api-docs .dash-page-copy,
.dash-api-docs .dash-api-note,
.dash-api-docs .notice {
    direction: ltr;
    text-align: left;
}

.dash-api-docs .gateway-section-actions,
.dash-api-docs .dash-api-hero-badges {
    justify-content: flex-start;
}

.dash-api-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
}

.dash-api-quickstart-grid,
.dash-api-status-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
}

.dash-api-overview-card,
.dash-api-quickstart-card,
.dash-api-status-card {
    padding: 20px;
    border-radius: 26px;
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
    border: 1px solid rgba(196, 205, 232, 0.32);
    box-shadow: 0 16px 30px rgba(118, 129, 160, 0.08);
}

.dash-api-overview-card span,
.dash-api-quickstart-number,
.dash-api-status-head span,
.dash-api-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(77, 127, 247, 0.1);
    color: #4a66d6;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.dash-api-overview-card strong,
.dash-api-quickstart-card strong,
.dash-api-status-head strong {
    display: block;
    margin-top: 14px;
    color: #2f3960;
    font-size: 1.06rem;
}

.dash-api-overview-card p,
.dash-api-quickstart-card p,
.dash-api-status-card p,
.dash-api-field-main p {
    margin: 10px 0 0;
    color: #7d87a1;
    line-height: 1.85;
}

.dash-api-quickstart-card {
    position: relative;
    overflow: hidden;
}

.dash-api-quickstart-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: linear-gradient(180deg, #31d4d1 0%, #4f82ff 100%);
}

.dash-api-kicker {
    margin-bottom: 14px;
}

.dash-api-section-head {
    display: grid;
    gap: 14px;
}

.dash-api-field-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.dash-api-field-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: start;
    height: 100%;
    padding: 18px;
    border-radius: 24px;
    background: #f8faff;
    border: 1px solid rgba(196, 205, 232, 0.32);
}

.dash-api-field-top {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    direction: ltr;
}

.dash-api-field-main strong {
    color: #2f3960;
    font-size: 1rem;
}

.dash-api-field-main {
    direction: ltr;
    text-align: left;
}

.dash-api-field-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(107, 114, 128, 0.12);
    color: #667085;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.dash-api-field-badge.is-required {
    background: rgba(79, 130, 255, 0.12);
    color: #3f61d8;
}

.dash-api-field-type {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(196, 205, 232, 0.34);
    color: #5c6988;
    font-size: 0.82rem;
    font-weight: 800;
    white-space: nowrap;
}

.dash-api-playground {
    margin-top: 24px;
    padding: 18px;
    border-radius: 30px;
    background: linear-gradient(180deg, #0f172a 0%, #131c32 100%);
    box-shadow: 0 24px 42px rgba(15, 23, 42, 0.18);
}

.dash-api-gateway-block {
    margin-top: 24px;
}

.dash-api-gateway-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.dash-api-gateway-card {
    display: grid;
    gap: 12px;
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
    border: 1px solid rgba(196, 205, 232, 0.32);
    box-shadow: 0 16px 30px rgba(118, 129, 160, 0.08);
}

.dash-api-gateway-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.dash-api-gateway-media {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(135deg, #eef2ff 0%, #f8faff 100%);
    border: 1px solid rgba(196, 205, 232, 0.34);
}

.dash-api-gateway-media.has-image {
    background: #ffffff;
}

.dash-api-gateway-media img,
.dash-api-gateway-media span {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
}

.dash-api-gateway-media img {
    object-fit: cover;
}

.dash-api-gateway-media span {
    color: #4a5a7c;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.dash-api-gateway-card strong {
    color: #2f3960;
    font-size: 1rem;
    min-width: 0;
}

.dash-api-gateway-country {
    color: #7d87a1;
    font-size: 0.88rem;
    line-height: 1.6;
}

.dash-api-gateway-card code {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(196, 205, 232, 0.34);
    color: #46557d;
    font-family: "Consolas", "Courier New", monospace;
    font-size: 0.84rem;
    white-space: nowrap;
}

.dash-api-gateway-key-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.dash-api-inline-copy-btn {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: #eef4ff;
    color: #4f65b8;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.dash-api-inline-copy-btn:hover {
    transform: translateY(-1px);
    background: #dfe9ff;
}

.dash-api-inline-copy-icon {
    grid-area: 1 / 1;
    width: 18px;
    height: 18px;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.dash-api-inline-copy-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.dash-api-inline-copy-icon-check {
    opacity: 0;
    transform: scale(0.7);
}

.dash-api-inline-copy-btn.is-copied {
    background: #dcfce7;
    color: #15803d;
}

.dash-api-inline-copy-btn.is-copied .dash-api-inline-copy-icon-copy {
    opacity: 0;
    transform: scale(0.7);
}

.dash-api-inline-copy-btn.is-copied .dash-api-inline-copy-icon-check {
    opacity: 1;
    transform: scale(1);
}

.dash-app-card {
    padding: 34px;
    border-radius: 30px;
    background: linear-gradient(180deg, #f7faff 0%, #eef4ff 100%);
}

.dash-app-store {
    display: grid;
    gap: 24px;
}

.dash-app-store-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
    justify-items: center;
    text-align: center;
    justify-content: center;
}

.dash-app-store-icon {
    width: 120px;
    height: 120px;
    border-radius: 26px;
    overflow: hidden;
    background: #ffffff;
    display: grid;
    place-items: center;
    box-shadow: 0 20px 40px rgba(18, 64, 140, 0.18);
    margin-inline: auto;
    justify-self: center;
}

.dash-app-store-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dash-app-store-copy h1 {
    margin: 4px 0 8px;
    font-size: 2.1rem;
    color: #1c2b4a;
}

.dash-app-store-copy p {
    margin: 0 0 12px;
    color: #6a7aa0;
    max-width: 60ch;
}

.dash-app-store-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #0f5bd6;
    background: rgba(15, 91, 214, 0.12);
    margin-bottom: 10px;
}

.dash-api-key-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.dash-api-key-label-icon {
    width: 18px;
    height: 18px;
    display: inline-grid;
    place-items: center;
}

.dash-api-key-label-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.dash-app-store-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    color: #6b7aa1;
    font-size: 0.9rem;
    font-weight: 700;
    justify-content: center;
}

.dash-app-store-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dash-app-store-meta span + span::before {
    content: "•";
    color: #c0c9dc;
    margin-inline: 6px 4px;
}

.dash-app-store-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    grid-column: 1 / -1;
    margin-top: 10px;
    justify-content: center;
}

.dash-app-store-actions .btn.is-disabled {
    opacity: 0.55;
    pointer-events: none;
}

.dash-app-action-icon {
    width: 18px;
    height: 18px;
    display: inline-grid;
    place-items: center;
}

.dash-app-action-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.dash-app-action-icon.is-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.dash-app-store-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.dash-app-store-stats > div {
    padding: 14px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(186, 200, 232, 0.5);
    text-align: center;
    display: grid;
    gap: 6px;
    justify-items: center;
}

.dash-app-store-stats span {
    display: block;
    font-size: 0.85rem;
    color: #7c8bb0;
}

.dash-app-store-stats > div > span:first-of-type {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.dash-app-stat-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.dash-app-stat-icon {
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    color: #4a67b5;
}

.dash-app-stat-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.dash-app-store-stats strong {
    display: block;
    margin-top: 4px;
    font-size: 1rem;
    color: #1d2c4b;
}

.dash-app-store-section h2 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    color: #1d2c4b;
}

.dash-app-store-section p {
    margin: 0;
    color: #6a7aa0;
}

.dash-app-gateway-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.dash-app-gateway-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(186, 200, 232, 0.5);
}

.dash-app-gateway-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #f4f7ff;
    display: grid;
    place-items: center;
    color: #2c3e64;
    font-weight: 700;
}

.dash-app-gateway-logo.has-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.dash-app-gateway-copy strong {
    display: block;
    color: #1d2c4b;
}

.dash-app-gateway-copy span {
    color: #7c8bb0;
    font-size: 0.88rem;
}

.dash-app-empty {
    padding: 18px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px dashed rgba(186, 200, 232, 0.7);
    text-align: center;
    color: #7c8bb0;
}

@media (max-width: 1024px) {
    .dash-app-store-top {
        grid-template-columns: 1fr;
    }

    .dash-app-store-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
        margin-top: 10px;
    }

    .dash-app-store-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1180px) {
    .dash-app-store-top {
        grid-template-columns: 1fr;
    }

    .dash-app-store-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
        margin-top: 10px;
    }
}

@media (max-width: 900px) {
    .dash-app-store-top {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .dash-app-store-actions {
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .dash-app-store-actions .btn {
        min-height: 44px;
        padding: 0 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 640px) {
    .dash-app-card {
        padding: 22px;
    }

    .dash-app-store-top {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .dash-app-store-actions {
        width: 100%;
        justify-content: center;
    }

    .dash-app-store-meta {
        justify-content: center;
    }
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-app-card {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0%, rgba(12, 17, 31, 0.98) 100%);
    border: 1px solid rgba(148, 163, 184, 0.16);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-app-store-stats > div,
body.dashboard-demo-page[data-user-theme="dark"] .dash-app-gateway-card,
body.dashboard-demo-page[data-user-theme="dark"] .dash-app-empty {
    background: rgba(17, 24, 39, 0.9);
    border-color: rgba(148, 163, 184, 0.16);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-app-store-copy h1,
body.dashboard-demo-page[data-user-theme="dark"] .dash-app-store-section h2,
body.dashboard-demo-page[data-user-theme="dark"] .dash-app-gateway-copy strong {
    color: #e2e8f0;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-app-store-copy p,
body.dashboard-demo-page[data-user-theme="dark"] .dash-app-store-stats span,
body.dashboard-demo-page[data-user-theme="dark"] .dash-app-store-meta,
body.dashboard-demo-page[data-user-theme="dark"] .dash-app-store-section p,
body.dashboard-demo-page[data-user-theme="dark"] .dash-app-gateway-copy span,
body.dashboard-demo-page[data-user-theme="dark"] .dash-app-empty {
    color: #94a3b8;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-app-store-actions .btn.btn-secondary {
    color: #ffffff;
    border-color: rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.6);
}


.dash-api-playground-response {
    margin-top: 18px;
}

.dash-api-playground .dash-card-title,
.dash-api-playground .dash-page-copy {
    color: #e7eefb;
}

.dash-api-playground .dash-page-copy {
    max-width: 70ch;
}

.dash-api-playground-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.dash-api-language-picker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.14);
}

.dash-api-language-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #b8c5dd;
    cursor: pointer;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 800;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.dash-api-language-btn:hover,
.dash-api-language-btn.is-active {
    background: #ffffff;
    color: #1f2f4f;
    transform: translateY(-1px);
}

.dash-api-language-icon {
    width: 18px;
    height: 18px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 18px;
}

.dash-api-language-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.dash-api-snippet-panel {
    border-radius: 24px;
    overflow: hidden;
    background: rgba(7, 13, 24, 0.94);
    border: 1px solid rgba(148, 163, 184, 0.14);
    min-width: 0;
    max-width: 100%;
}

.dash-api-snippet-panel[hidden] {
    display: none !important;
}

.dash-api-snippet-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.dash-api-snippet-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(77, 127, 247, 0.16);
    color: #93c5fd;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.dash-api-snippet-badge.is-response {
    background: rgba(45, 212, 191, 0.16);
    color: #99f6e4;
}

.dash-api-copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #e6edf7;
    cursor: pointer;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 800;
    transition: background 0.2s ease, transform 0.2s ease;
}

.dash-api-copy-btn:hover {
    background: rgba(77, 127, 247, 0.24);
    transform: translateY(-1px);
}

.dash-api-copy-source {
    position: absolute;
    inset: auto;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.dash-api-snippet {
    margin: 0;
    padding: 16px 0;
    overflow: auto;
    direction: ltr;
    text-align: left;
    color: #e2e8f0;
    font-family: "Consolas", "Courier New", monospace;
    font-size: 0.88rem;
    line-height: 1.75;
    counter-reset: dash-api-code-line;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}

.dash-api-snippet code {
    display: block;
    min-width: 100%;
}

.dash-api-code-line {
    position: relative;
    display: block;
    padding-inline: 64px 18px;
    min-height: 1.75em;
    white-space: pre;
}

.dash-api-code-line::before {
    counter-increment: dash-api-code-line;
    content: counter(dash-api-code-line);
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    width: 44px;
    color: #64748b;
    text-align: right;
}

.dash-api-status-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.dash-api-status-card.is-pending {
    background: linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
}

.dash-api-status-card.is-processing {
    background: linear-gradient(180deg, #ffffff 0%, #edf6ff 100%);
}

.dash-api-status-card.is-completed {
    background: linear-gradient(180deg, #ffffff 0%, #eefbf3 100%);
}

.dash-api-status-card.is-expired {
    background: linear-gradient(180deg, #ffffff 0%, #fff7ed 100%);
}

.dash-api-status-card.is-closed,
.dash-api-status-card.is-cancelled {
    background: linear-gradient(180deg, #ffffff 0%, #f6f7fb 100%);
}

.dash-api-status-card.is-fraudulent {
    background: linear-gradient(180deg, #ffffff 0%, #fff1f2 100%);
}

@media (max-width: 980px) {
    .dash-api-field-list,
    .dash-api-quickstart-grid,
    .dash-api-status-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dash-api-playground-head {
        flex-direction: column;
        align-items: stretch;
    }

    .dash-api-language-picker {
        align-self: flex-start;
    }
}

@media (max-width: 640px) {
    .dash-api-overview-grid,
    .dash-api-quickstart-grid,
    .dash-api-status-grid {
        grid-template-columns: 1fr;
    }

    .dash-api-field-list {
        grid-template-columns: 1fr;
    }

    .dash-api-field-row {
        grid-template-columns: 1fr;
    }

    .dash-api-language-picker {
        width: 100%;
        justify-content: stretch;
    }

    .dash-api-language-btn {
        flex: 1 1 0;
    }

    .dash-api-snippet-toolbar {
        flex-wrap: wrap;
    }

    .dash-api-snippet {
        padding: 12px 0;
        font-size: 0.8rem;
    }

    .dash-api-code-line {
        padding-inline: 52px 14px;
    }

    .dash-api-code-line::before {
        width: 36px;
    }
}

@media (max-width: 640px) {
    .dash-api-playground,
    .dash-api-playground-response,
    .dash-api-snippet-panel {
        min-width: 0;
        max-width: 100%;
    }

    .dash-api-snippet {
        overflow-x: auto;
        overflow-y: hidden;
        font-size: 0.78rem;
    }

    .dash-api-code-line {
        padding-inline: 42px 12px;
        white-space: pre-wrap;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .dash-api-code-line::before {
        width: 28px;
        font-size: 0.72rem;
    }
}

.dash-modal-open {
    overflow: hidden;
}

.dash-modal {
    position: fixed;
    inset: 0;
    z-index: 140;
    display: grid;
    place-items: center;
    padding: 20px;
}

.dash-modal[hidden] {
    display: none !important;
}

.dash-target-modal {
    display: none;
}

.dash-target-modal:target {
    display: grid;
}

.dash-modal-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(15, 23, 42, 0.44);
}

.dash-modal-card {
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
    padding: 24px;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 26px 54px rgba(53, 64, 98, 0.22);
}

.dash-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.dash-modal-head .dash-page-copy,
.dash-modal-head .dash-card-title {
    margin-bottom: 0;
}

.dash-modal-close {
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    color: #647394;
    background: #f2f6ff;
    cursor: pointer;
}

.dash-modal-close svg {
    width: 20px;
    height: 20px;
    display: block;
}

.dash-modal-form {
    display: grid;
    gap: 16px;
}

.dash-modal-preview {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 22px;
    background: #f8faff;
    border: 1px solid rgba(196, 205, 232, 0.34);
    direction: rtl;
}

.dash-modal-preview-copy {
    min-width: 0;
    flex: 1;
    text-align: right;
}

.dash-modal-preview-copy strong {
    display: block;
    color: #2f3960;
}

.dash-modal-preview-copy span {
    display: block;
    margin-top: 8px;
    color: #8790b0;
    line-height: 1.7;
}

.dash-image-upload-input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(196, 205, 232, 0.44);
    background: #fdfdff;
    color: #2f3960;
}

.dash-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.dash-payments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(252px, 1fr));
    gap: 16px;
}

.dash-payment-card {
    position: relative;
    min-width: 0;
    padding: 18px;
    border-radius: 24px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--payment-card-start, #4f82ff) 0%, var(--payment-card-end, #3558cf) 100%);
    overflow: hidden;
    box-shadow: 0 18px 34px rgba(104, 118, 162, 0.14);
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.dash-payment-card::before {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.22s ease;
}

.dash-payment-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 42px rgba(104, 118, 162, 0.2);
    filter: saturate(1.05);
}

.dash-payment-card:hover::before {
    opacity: 1;
}

.dash-payment-card-red {
    background: linear-gradient(135deg, #f04d59 0%, #c81f32 100%);
}

.dash-payment-card-green {
    background: linear-gradient(135deg, #27be75 0%, #118f53 100%);
}

.dash-payment-card-purple {
    background: linear-gradient(135deg, #7f58ff 0%, #5a34db 100%);
}

.dash-payment-card-yellow {
    background: linear-gradient(135deg, #f4c01d 0%, #d9a100 100%);
}

.dash-payment-card-emerald {
    background: linear-gradient(135deg, #21b875 0%, #148d59 100%);
}

.dash-payment-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    direction: rtl;
    gap: 12px;
    margin-bottom: 16px;
}

.dash-payment-card-tools {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    flex: 0 0 auto;
}

.dash-payment-name {
    display: block;
    font-size: 1.08rem;
    line-height: 1.5;
    text-align: right;
}

.dash-payment-logo {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    display: grid;
    place-items: center;
    padding: 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
}

.dash-payment-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.dash-payment-flag {
    width: 20px;
    height: 14px;
    flex: 0 0 20px;
    border-radius: 4px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.dash-payment-flag-eg {
    background: linear-gradient(180deg, #d62839 0%, #d62839 33.33%, #ffffff 33.33%, #ffffff 66.66%, #161616 66.66%, #161616 100%);
}

.dash-payment-flag-iq {
    background: linear-gradient(180deg, #d63a3a 0%, #d63a3a 33.33%, #ffffff 33.33%, #ffffff 66.66%, #111111 66.66%, #111111 100%);
}

.dash-payment-flag-ly {
    background: linear-gradient(180deg, #d63a3a 0%, #d63a3a 25%, #111111 25%, #111111 75%, #1ea85b 75%, #1ea85b 100%);
}

.dash-payment-logo-text {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.dash-payment-country {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 98px;
    height: 40px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 0.84rem;
    font-weight: 700;
    white-space: nowrap;
    direction: rtl;
}

.dash-payment-copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 10px;
    min-width: 0;
    direction: ltr;
    margin-bottom: 2px;
}

.dash-payment-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.dash-payment-toggle {
    min-width: 98px;
    height: 40px;
    padding: 0;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    overflow: hidden;
    background: linear-gradient(180deg, #f4f4f4 0%, #dddddd 100%);
    box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.55), 0 8px 18px rgba(40, 51, 82, 0.14);
    color: #8f949e;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.dash-payment-toggle:hover {
    transform: translateY(-1px);
}

.dash-payment-toggle:disabled {
    cursor: wait;
    transform: none;
}

.dash-payment-toggle.is-loading {
    opacity: 0.78;
}

.dash-payment-toggle.is-on {
    background: linear-gradient(180deg, #4ec0ff 0%, #2f93d7 100%);
    box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.35), 0 10px 20px rgba(18, 92, 148, 0.24);
    color: #ffffff;
}

.dash-payment-toggle-knob {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 100%);
    box-shadow: 0 4px 10px rgba(71, 81, 107, 0.18);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.dash-payment-toggle.is-on .dash-payment-toggle-knob {
    transform: translateX(58px);
}

.dash-payment-toggle-text {
    width: 100%;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-align: center;
    padding-inline: 20px;
    transition: opacity 0.2s ease, transform 0.28s ease;
}

.dash-payment-toggle.is-on .dash-payment-toggle-text {
    transform: translateX(-8px);
}

.dash-payment-toggle:not(.is-on) .dash-payment-toggle-text {
    transform: translateX(8px);
}

.dash-payment-settings-btn {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.dash-payment-card-tools .dash-payment-settings-btn {
    display: none !important;
}

.dash-payment-settings-btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.24);
}

.dash-payment-settings-btn svg,
.dash-payment-settings-badge svg {
    width: 20px;
    height: 20px;
    display: block;
}

.dash-payment-settings-badge {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    color: #4d7ff7;
    background: linear-gradient(135deg, #eef3ff 0%, #f8faff 100%);
    box-shadow: inset 0 0 0 1px rgba(155, 170, 214, 0.2);
}

.dash-payment-settings-badge img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: inherit;
}

.dash-payment-settings-badge-text {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.08em;
}

.dash-payment-fields {
    margin-top: 14px;
    display: grid;
    gap: 10px;
}

.dash-payment-field {
    display: grid;
    gap: 6px;
    direction: rtl;
    text-align: right;
}

.dash-payment-field span {
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.82rem;
    font-weight: 700;
}

.dash-payment-field input {
    width: 100%;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.dash-payment-field input::placeholder {
    color: rgba(255, 255, 255, 0.62);
}

.dash-payment-field input:focus {
    border-color: rgba(255, 255, 255, 0.36);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.dash-payment-save-btn {
    min-height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.dash-payment-save-btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.24);
}

.dash-payment-save-btn:disabled,
.dash-payment-save-btn.is-loading {
    cursor: wait;
    opacity: 0.78;
    transform: none;
}

.dash-payment-balance {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    direction: rtl;
}

.dash-payment-balance span {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.84rem;
}

.dash-payment-balance strong {
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.dash-payment-settings-link {
    margin-top: 0px;
    margin-inline-start: auto;
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 0;
    line-height: 0;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.dash-payment-settings-link::before {
    content: "\2699";
    font-size: 1.2rem;
    line-height: 1;
}

.dash-payment-settings-link:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.24);
    border-color: rgba(255, 255, 255, 0.34);
}

.dash-site-toast-root {
    position: fixed;
    top: 22px;
    right: 22px;
    z-index: 120;
    display: grid;
    gap: 10px;
    pointer-events: none;
}

.dash-site-toast {
    min-width: 260px;
    max-width: min(360px, calc(100vw - 32px));
    padding: 14px 18px;
    border-radius: 18px;
    box-shadow: 0 18px 32px rgba(31, 41, 55, 0.18);
    color: #ffffff;
    font-weight: 700;
    line-height: 1.7;
    transform: translateY(-10px);
    opacity: 0;
    transition: transform 0.22s ease, opacity 0.22s ease;
    direction: rtl;
    text-align: right;
}

.dash-site-toast.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.dash-site-toast-success {
    background: linear-gradient(135deg, #18b56d 0%, #109d5d 100%);
}

.dash-site-toast-error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.dash-action-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 18px;
    border-radius: 18px;
    color: #ffffff;
    background: linear-gradient(135deg, #4f82ff 0%, #8d63ff 100%);
    box-shadow: 0 14px 28px rgba(90, 105, 164, 0.18);
}

.dash-action-link-full {
    width: 100%;
}

.dash-profile-logout-row {
    margin-top: 14px;
    text-align: center;
}

.dash-profile-logout-link {
    color: #db4c4c;
    font-weight: 700;
}

.dash-profile-logout-link:hover {
    color: #c23636;
}

.dash-action-link-secondary {
    color: #4d7ff7;
    background: rgba(77, 127, 247, 0.1);
    box-shadow: none;
}

.dash-security-form {
    display: grid;
    gap: 16px;
}

.dash-section {
    display: grid;
    gap: 16px;
    container-type: inline-size;
}

.dash-section-title {
    margin: 0;
    color: #2b3754;
    font-size: 1.45rem;
}

.dash-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.dash-analytics-card {
    min-width: 0;
    padding: 18px 18px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 24px;
    color: #fff;
    box-shadow: 0 20px 34px rgba(90, 103, 151, 0.16);
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.dash-analytics-card-link,
.dash-analytics-card-link:visited {
    color: #fff;
    text-decoration: none;
}

.dash-analytics-card-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 38px rgba(90, 103, 151, 0.2);
}

.dash-analytics-card-link:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.45);
    outline-offset: 2px;
}

.dash-analytics-card[data-deposit-orders-status-filter] {
    cursor: pointer;
}

.dash-analytics-card[data-deposit-orders-status-filter]:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 38px rgba(90, 103, 151, 0.2);
}

.dash-analytics-card[data-deposit-orders-status-filter]:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.45);
    outline-offset: 2px;
}

.dash-analytics-card.is-filter-active[data-deposit-orders-status-filter] {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.28), 0 24px 40px rgba(61, 74, 115, 0.22);
    transform: translateY(-2px);
}

.dash-analytics-card-purple {
    background: linear-gradient(135deg, #8d63ff 0%, #7561ff 100%);
}

.dash-analytics-card-cyan {
    background: linear-gradient(135deg, #34d6d2 0%, #2dc0d6 100%);
}

.dash-analytics-card-blue {
    background: linear-gradient(135deg, #4f82ff 0%, #3c6cf0 100%);
}

.dash-analytics-card-gold {
    background: linear-gradient(135deg, #f5c44b 0%, #f0a41b 100%);
}

.dash-analytics-card-rose {
    background: linear-gradient(135deg, #ff7b90 0%, #f04d59 100%);
}

.dash-analytics-card-slate {
    background: linear-gradient(135deg, #6f7d96 0%, #556277 100%);
}

.dash-analytics-card-emerald {
    background-color: #17988d;
    background-image: linear-gradient(135deg, #27d4ad 0%, #17988d 100%);
    color: #ffffff;
}

.dash-cards-grid > .dash-analytics-card-emerald {
    background-color: #17988d;
    background-image: linear-gradient(135deg, #27d4ad 0%, #17988d 100%);
}

.dash-analytics-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.16);
}

.dash-analytics-icon svg {
    width: 45px;
    height: 45px;
    display: block;
}

.dash-analytics-copy {
    min-width: 0;
    flex: 1 1 0;
}

.dash-analytics-copy strong {
    display: block;
    font-size: clamp(1.5rem, 2.2vw, 2.1rem);
    line-height: 1;
}

.dash-analytics-copy span {
    display: block;
    margin-top: 8px;
    max-width: 100%;
    font-size: clamp(0.9rem, 0.45vw + 0.82rem, 1rem);
    line-height: 1.28;
    letter-spacing: 0.04em;
    opacity: 0.88;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
    text-wrap: balance;
}

.dash-analytics-card em {
    margin-inline-start: auto;
    align-self: flex-start;
    padding: 5px 9px;
    border-radius: 999px;
    font-style: normal;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    background: rgba(255, 255, 255, 0.16);
}

.dash-reports-grid {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.dash-report-card {
    padding: 24px;
    border-radius: 30px;
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(118, 129, 160, 0.16);
}

.dash-report-sidebar {
    display: grid;
    gap: 16px;
    align-content: start;
}

.dash-report-sidebar-title {
    margin: 0;
    color: #5a4e88;
    font-size: 1.4rem;
    direction: rtl;
    text-align: right;
}

.dash-report-sidebar-list {
    display: grid;
    gap: 14px;
}

.dash-sales-rep-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto 6px;
    align-items: center;
    gap: 14px;
    padding: 15px 16px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 16px 28px rgba(118, 129, 160, 0.12);
    direction: ltr;
}

.dash-sales-rep-card-link {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dash-sales-rep-card-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 34px rgba(118, 129, 160, 0.16);
}

.dash-sales-rep-dots {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 12px;
    border-radius: 999px;
    background: #eefcff;
}

.dash-sales-rep-dots-status {
    padding: 0;
    background: transparent;
}

.dash-sales-rep-dots-status .dash-deposit-status {
    min-width: 94px;
    min-height: 34px;
    font-size: 0.76rem;
}

.dash-sales-rep-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #d7eef8;
}

.dash-sales-rep-dot.is-on {
    background: #33d7eb;
    box-shadow: 0 0 0 3px rgba(51, 215, 235, 0.16);
}

.dash-sales-rep-copy {
    min-width: 0;
    direction: rtl;
    text-align: right;
}

.dash-sales-rep-copy strong {
    display: block;
    color: #50497d;
    font-size: 1.02rem;
}

.dash-sales-rep-copy span {
    display: block;
    margin-top: 6px;
    color: #b6b3c5;
    font-size: 0.9rem;
}

.dash-sales-rep-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.dash-sales-rep-amount {
    color: #b6b3c5;
    font-size: 0.92rem;
}

.dash-sales-rep-action {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #ffffff;
    border: 2px dashed rgba(121, 135, 179, 0.28);
    color: #7e87aa;
}

.dash-sales-rep-action svg {
    width: 20px;
    height: 20px;
    display: block;
}

.dash-sales-rep-action-logo {
    padding: 0;
    overflow: hidden;
    border-style: solid;
}

.dash-sales-rep-action-logo img,
.dash-sales-rep-action-logo span {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    object-fit: cover;
    border-radius: inherit;
}

.dash-sales-rep-action-logo span {
    padding: 8px;
    background: #ffffff;
    color: #54627f;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
}

.dash-sales-rep-bar {
    width: 6px;
    height: 52px;
    border-radius: 999px;
}

.dash-sales-rep-card.is-cyan .dash-sales-rep-bar {
    background: linear-gradient(180deg, #39daec 0%, #2ec7da 100%);
}

.dash-sales-rep-card.is-purple .dash-sales-rep-bar {
    background: linear-gradient(180deg, #8e73ff 0%, #674fff 100%);
}

.dash-sales-rep-card.is-violet .dash-sales-rep-bar {
    background: linear-gradient(180deg, #6f54ff 0%, #4a2fd1 100%);
}

.dash-sales-rep-card.is-deep .dash-sales-rep-bar {
    background: linear-gradient(180deg, #33159c 0%, #28107c 100%);
}

.dash-sales-rep-card.is-cyan .dash-sales-rep-action {
    color: #34d7ea;
    border-color: rgba(52, 215, 234, 0.3);
}

.dash-sales-rep-card.is-purple .dash-sales-rep-action {
    color: #7f67ff;
    border-color: rgba(127, 103, 255, 0.3);
}

.dash-sales-rep-card.is-violet .dash-sales-rep-action {
    color: #6548ff;
    border-color: rgba(101, 72, 255, 0.3);
}

.dash-sales-rep-card.is-deep .dash-sales-rep-action {
    color: #2b178b;
    border-color: rgba(43, 23, 139, 0.3);
}

.dash-report-sidebar-empty {
    padding: 20px 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.82);
    color: #7d87a1;
    text-align: right;
    direction: rtl;
    box-shadow: 0 16px 28px rgba(118, 129, 160, 0.12);
}

.dash-report-sidebar-empty-illustrated {
    display: grid;
    justify-items: center;
    gap: 14px;
    text-align: center;
}

.dash-report-sidebar-empty-visual {
    width: min(170px, 100%);
    display: block;
}

.dash-report-sidebar-empty-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.dash-report-sidebar-empty-label {
    color: #5a678f;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.8;
}

.dash-reports-stack {
    display: grid;
    gap: 18px;
}

.dash-report-card-graph {
    position: relative;
    min-height: 352px;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(144, 112, 255, 0.08), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), #ffffff);
}

.dash-report-card-graph > * {
    position: relative;
    z-index: 1;
}

.dash-report-legend {
    position: absolute;
    top: 22px;
    inset-inline-end: 70px;
    z-index: 2;
    display: grid;
    gap: 8px;
    color: #747ea2;
    font-size: 0.88rem;
    direction: rtl;
    text-align: right;
}

.dash-report-legend span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.dash-report-legend-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.dash-report-legend-toggle:hover {
    transform: translateX(-2px);
}

.dash-report-legend-toggle.is-hidden {
    opacity: 0.42;
}

.dash-report-legend-toggle.is-hidden .dash-report-legend-dot {
    filter: grayscale(1);
}

.dash-report-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
}

.dash-report-chart {
    position: relative;
}

.dash-report-tooltip {
    position: absolute;
    top: 12px;
    left: 12px;
    min-width: 180px;
    max-width: 240px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 30px rgba(102, 114, 160, 0.18);
    border: 1px solid rgba(209, 215, 234, 0.72);
    direction: rtl;
    text-align: right;
    pointer-events: none;
    z-index: 4;
}

.dash-report-tooltip-head {
    color: #4e477c;
    font-size: 0.96rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.dash-report-tooltip-body {
    display: grid;
    gap: 8px;
}

.dash-report-tooltip-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.dash-report-tooltip-row strong {
    color: #2f2b56;
    font-size: 0.92rem;
}

.dash-report-tooltip-key {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #737b9d;
    font-size: 0.88rem;
}

.dash-report-tooltip-swatch {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    border-radius: 999px;
}

.dash-report-graph-svg {
    width: 100%;
    height: 300px;
    display: block;
}

.dash-report-grid line {
    stroke: rgba(157, 165, 193, 0.2);
    stroke-dasharray: 4 10;
}

.dash-report-axis text {
    fill: #c3c1cf;
    font-size: 11px;
    direction: ltr;
    unicode-bidi: plaintext;
}

.dash-report-axis-months text {
    text-anchor: middle;
    transition: fill 0.2s ease, transform 0.2s ease;
}

.dash-report-axis-months text.is-active {
    fill: #6e5bff;
    font-weight: 700;
    transform: translateY(-2px);
}

.dash-report-focus-line {
    stroke: rgba(178, 184, 215, 0.85);
    stroke-dasharray: 5 8;
}

.dash-report-focus-bubble {
    fill: #7b5eff;
}

.dash-report-focus-halo {
    fill: rgba(123, 94, 255, 0.15);
}

.dash-report-graph-line {
    fill: none;
    stroke-width: 3.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.2s ease;
}

.dash-report-hit-area {
    fill: transparent;
    cursor: pointer;
}

.dash-report-line-cyan {
    background: #35d8eb;
}

.dash-report-line-cyan.dash-report-graph-line {
    stroke: #35d8eb;
}

.dash-report-line-indigo {
    background: #4d7ff7;
}

.dash-report-line-indigo.dash-report-graph-line {
    stroke: #4d7ff7;
}

.dash-report-line-purple {
    background: #8c6cff;
}

.dash-report-line-purple.dash-report-graph-line {
    stroke: #8c6cff;
}

.dash-report-line-deep {
    background: #2b178b;
}

.dash-report-line-deep.dash-report-graph-line {
    stroke: #2b178b;
}

.dash-report-line-soft {
    background: #c8bdfd;
}

.dash-report-line-soft.dash-report-graph-line {
    stroke: #c8bdfd;
}

.dash-report-card-commission {
    padding: 28px 28px 24px;
}

.dash-deposit-orders-card {
    padding: 24px;
    overflow: hidden;
}

.dash-deposit-orders-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.dash-deposit-orders-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.dash-deposit-orders-search {
    max-width: 420px;
}

.dash-deposit-orders-empty {
    margin-top: 16px;
}

.dash-orders-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(196, 205, 232, 0.28);
}

.dash-orders-pagination .pagination-detail {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    color: #6e7898;
    font-size: 0.92rem;
}

.dash-orders-pagination .page-list {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.dash-orders-page-size-field {
    display: inline-flex;
    align-items: center;
}

.dash-orders-page-size {
    min-width: 74px;
    height: 40px;
    padding: 0 38px 0 14px;
    border: 1px solid rgba(180, 192, 224, 0.5);
    border-radius: 12px;
    background: #ffffff;
    color: #3f4c72;
    font-weight: 700;
    appearance: none;
    -webkit-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #7c88ad 50%),
        linear-gradient(135deg, #7c88ad 50%, transparent 50%);
    background-position:
        calc(100% - 18px) 17px,
        calc(100% - 12px) 17px;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.dash-orders-pagination .pagination {
    margin: 0;
}

.dash-orders-pagination .pagination ul,
.dash-orders-pagination .pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.dash-orders-pagination .page-item {
    list-style: none;
}

.dash-orders-pagination .page-link {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(180, 192, 224, 0.42);
    border-radius: 12px;
    background: #ffffff;
    color: #4c5d86;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.dash-orders-pagination .page-link:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(114, 128, 172, 0.16);
}

.dash-orders-pagination .page-item.active .page-link {
    color: #ffffff;
    border-color: transparent;
    background: linear-gradient(135deg, #4f82ff 0%, #8d63ff 100%);
    box-shadow: 0 12px 26px rgba(94, 104, 214, 0.24);
}

.dash-orders-pagination .page-item.disabled .page-link {
    opacity: 0.46;
    cursor: default;
    box-shadow: none;
}

.dash-deposit-orders-table-wrap {
    overflow-x: auto;
    max-width: 100%;
    border-radius: 22px;
    -webkit-overflow-scrolling: touch;
}

.dash-deposit-orders-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 680px;
    table-layout: fixed;
    direction: rtl;
}

.dash-deposit-orders-table th,
.dash-deposit-orders-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(196, 205, 232, 0.3);
    text-align: right;
    vertical-align: middle;
}

.dash-deposit-orders-table th {
    color: #7f89aa;
    font-size: 0.9rem;
    font-weight: 800;
    white-space: nowrap;
}

.dash-deposit-orders-table td {
    color: #2f3960;
    font-size: 0.96rem;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.dash-deposit-orders-transaction {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    max-width: 100%;
}

.dash-deposit-orders-transaction-number {
    min-width: 0;
}

.dash-deposit-status-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    max-width: 100%;
}

.dash-deposit-order-copy-btn,
.dash-deposit-order-view-btn {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    padding: 0;
    border: 0;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    color: #617191;
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(129, 141, 173, 0.14);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.dash-deposit-order-copy-btn:hover,
.dash-deposit-order-view-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(129, 141, 173, 0.18);
}

.dash-deposit-order-copy-btn svg,
.dash-deposit-order-view-btn svg {
    width: 18px;
    height: 18px;
    display: block;
}

.dash-deposit-order-view-btn:hover {
    color: #4d7ff7;
}

.dash-deposit-order-copy-icon {
    display: inline-grid;
    place-items: center;
}

.dash-deposit-order-copy-icon-copy,
.dash-deposit-order-copy-icon-check {
    display: none;
}

.dash-deposit-order-copy-btn:hover .dash-deposit-order-copy-icon-link {
    display: none;
}

.dash-deposit-order-copy-btn:hover .dash-deposit-order-copy-icon-copy {
    display: inline-grid;
}

.dash-deposit-order-copy-btn.is-copied {
    color: #ffffff;
    background: linear-gradient(135deg, #27c980 0%, #14a965 100%);
    box-shadow: 0 14px 28px rgba(20, 169, 101, 0.26);
}

.dash-deposit-order-copy-btn.is-copied .dash-deposit-order-copy-icon-link,
.dash-deposit-order-copy-btn.is-copied .dash-deposit-order-copy-icon-copy {
    display: none;
}

.dash-deposit-order-copy-btn.is-copied .dash-deposit-order-copy-icon-check {
    display: inline-grid;
}

.dash-deposit-orders-table tbody tr:hover {
    background: rgba(79, 130, 255, 0.04);
}

.dash-deposit-orders-gateway {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    direction: ltr;
    min-width: 0;
    width: 100%;
}

.dash-deposit-orders-gateway-logo {
    order: 2;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 4px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(196, 205, 232, 0.34);
    box-sizing: border-box;
}

.dash-deposit-orders-gateway strong {
    order: 1;
    flex: 0 0 132px;
    max-width: 132px;
    display: block;
    text-align: right;
    direction: ltr;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-deposit-orders-gateway-logo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}

.dash-deposit-orders-gateway-logo span {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
}

.dash-deposit-orders-gateway-logo span {
    padding: 8px;
    color: #54627f;
    font-size: 0.7rem;
    font-weight: 800;
    text-align: center;
    line-height: 1.2;
}

.dash-deposit-orders-site-link {
    color: inherit;
    text-decoration: none;
}

.dash-deposit-orders-site-link:hover .gateway-client-copy strong {
    color: #4d7ff7;
}

.dash-deposit-orders-site {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    direction: ltr;
    min-width: 0;
    width: 100%;
}

.dash-deposit-orders-site.is-disabled {
    opacity: 0.82;
}

.dash-deposit-orders-site .gateway-client-copy {
    order: 1;
    flex: 0 0 132px;
    max-width: 132px;
    text-align: right;
    direction: ltr;
}

.dash-deposit-orders-site .gateway-client-copy strong {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-deposit-orders-site .gateway-client-avatar {
    order: 2;
}

.dash-deposit-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 98px;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: capitalize;
}

.dash-deposit-status.is-pending {
    color: #8b5e00;
    background: rgba(244, 192, 29, 0.16);
}

.dash-deposit-status.is-processing {
    color: #1d4ed8;
    background: rgba(77, 127, 247, 0.14);
}

.dash-deposit-status.is-completed {
    color: #166534;
    background: rgba(39, 190, 117, 0.14);
}

.dash-deposit-status.is-closed,
.dash-deposit-status.is-cancelled,
.dash-deposit-status.is-expired,
.dash-deposit-status.is-fraudulent {
    color: #991b1b;
    background: rgba(220, 38, 38, 0.12);
}

.dash-order-view-modal-card {
    width: min(100%, 720px);
}

.dash-order-view-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.dash-order-view-preview-card {
    margin: 0;
    min-width: 0;
}

.dash-order-view-website-avatar {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
}

.dash-order-view-website-avatar span {
    display: inline-grid;
    place-items: center;
    width: 100%;
    height: 100%;
}

.dash-order-view-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.dash-order-view-item {
    display: grid;
    gap: 8px;
    padding: 14px 16px;
    border-radius: 18px;
    background: #f8faff;
    border: 1px solid rgba(196, 205, 232, 0.34);
    direction: rtl;
    text-align: right;
}

.dash-order-view-item.is-full {
    grid-column: 1 / -1;
}

.dash-order-view-item span {
    color: #8b94b1;
    font-size: 0.86rem;
    font-weight: 700;
}

.dash-order-view-item strong,
.dash-order-view-link {
    color: #2f3960;
    font-size: 0.96rem;
    font-weight: 700;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.dash-order-view-link {
    text-decoration: none;
}

.dash-order-view-link:hover {
    color: #4d7ff7;
}

@media (max-width: 900px) {
    .dash-deposit-orders-card {
        padding: 20px;
    }

    .dash-deposit-orders-head {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .dash-deposit-orders-toolbar {
        margin-bottom: 16px;
    }

    .dash-deposit-orders-search {
        max-width: 100%;
    }

    .dash-orders-pagination {
        align-items: flex-start;
        flex-direction: column;
    }

    .dash-orders-pagination .pagination-detail,
    .dash-orders-pagination .pagination,
    .dash-orders-pagination .pagination ul {
        width: 100%;
    }

    .dash-orders-pagination .pagination ul {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .dash-deposit-orders-table {
        min-width: 620px;
    }

    .dash-deposit-orders-table th,
    .dash-deposit-orders-table td {
        padding: 12px 14px;
        font-size: 0.92rem;
    }

    .dash-deposit-status {
        min-width: 84px;
        min-height: 34px;
        padding-inline: 12px;
    }
}

@media (max-width: 640px) {
    .dash-deposit-orders-card {
        padding: 18px;
    }

    .dash-deposit-orders-head {
        margin-bottom: 14px;
    }

    .dash-deposit-orders-toolbar {
        margin-bottom: 14px;
    }

    .dash-deposit-orders-search {
        max-width: 100%;
    }

    .dash-order-view-grid {
        grid-template-columns: 1fr;
    }

    .dash-orders-pagination .pagination-detail {
        flex-direction: column;
        align-items: flex-start;
    }

    .dash-orders-pagination .page-list {
        flex-wrap: wrap;
    }

    .dash-deposit-orders-table-wrap {
        overflow: visible;
    }

    .dash-deposit-orders-table {
        min-width: 0;
        table-layout: auto;
    }

    .dash-deposit-orders-table thead {
        display: none;
    }

    .dash-deposit-orders-table,
    .dash-deposit-orders-table tbody,
    .dash-deposit-orders-table tr,
    .dash-deposit-orders-table td {
        display: block;
        width: 100%;
    }

    .dash-deposit-orders-table tbody {
        display: grid;
        gap: 12px;
    }

    .dash-deposit-orders-table tr {
        padding: 14px;
        border: 1px solid rgba(196, 205, 232, 0.34);
        border-radius: 20px;
        background: rgba(79, 130, 255, 0.03);
    }

    .dash-deposit-orders-table td {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 14px;
        padding: 10px 0;
        border-bottom: 1px solid rgba(196, 205, 232, 0.24);
        text-align: left;
    }

    .dash-deposit-orders-table td:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .dash-deposit-orders-table td::before {
        content: attr(data-label);
        flex: 0 0 92px;
        color: #7f89aa;
        font-size: 0.8rem;
        font-weight: 800;
        text-align: right;
        direction: rtl;
    }

    .dash-deposit-orders-gateway {
        flex: 1 1 auto;
        justify-content: flex-start;
        direction: ltr;
        gap: 10px;
    }

    .dash-deposit-orders-site,
    .dash-deposit-orders-site-link {
        flex: 1 1 auto;
    }

    .dash-deposit-orders-site {
        justify-content: flex-start;
        direction: ltr;
        gap: 10px;
    }

    .dash-deposit-orders-site .gateway-client-copy {
        flex: 1 1 auto;
        max-width: none;
        text-align: right;
        direction: rtl;
    }

    .dash-deposit-orders-gateway strong {
        flex: 1 1 auto;
        max-width: none;
        text-align: right;
        direction: rtl;
    }

    .dash-deposit-orders-transaction {
        flex: 1 1 auto;
        justify-content: flex-start;
    }

    .dash-deposit-status-wrap {
        flex: 1 1 auto;
        justify-content: flex-start;
    }

    .dash-deposit-status {
        margin-inline-start: auto;
    }
}

.dash-commission-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 20px;
    align-items: center;
}

.dash-commission-copy h3 {
    margin: 0 0 24px;
    color: #5a4e88;
    font-size: 1.55rem;
    text-align: center;
    direction: rtl;
}

.dash-commission-members {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 26px;
}

.dash-commission-empty {
    grid-column: 1 / -1;
}

.dash-commission-empty-cta {
    display: grid;
    justify-items: center;
    gap: 0px;
    padding: 0px 22px;
    text-decoration: none;
    text-align: center;
    box-shadow: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.dash-commission-empty-cta:hover,
.dash-commission-empty-cta:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(77, 127, 247, 0.34);
    box-shadow: none;
}

.dash-commission-empty-visual {
    position: relative;
    width: min(168px, 70vw);
    aspect-ratio: 1 / 1;
    display: block;
}

.dash-commission-empty-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.dash-commission-empty-image-default {
    opacity: 1;
}

.dash-commission-empty-image-hover {
    opacity: 0;
    transform: scale(0.98);
}

.dash-commission-empty-cta:hover .dash-commission-empty-image-default,
.dash-commission-empty-cta:focus-visible .dash-commission-empty-image-default {
    opacity: 0;
    transform: scale(0.98);
}

.dash-commission-empty-cta:hover .dash-commission-empty-image-hover,
.dash-commission-empty-cta:focus-visible .dash-commission-empty-image-hover {
    opacity: 1;
    transform: scale(1);
}

.dash-commission-empty-title {
    color: #3657d2;
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.6;
}

.dash-commission-empty-note {
    color: #7d87a1;
    font-size: 0.95rem;
    line-height: 1.8;
}

.dash-commission-member {
    display: flex;
    align-items: center;
    gap: 12px;
    direction: rtl;
    text-align: right;
}

.dash-commission-member-link {
    color: inherit;
    text-decoration: none;
    border-radius: 18px;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.dash-commission-member-link:hover,
.dash-commission-member-link:focus-visible {
    transform: translateY(-1px);
    opacity: 0.92;
}

.dash-member-avatar {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    box-shadow: 0 12px 24px rgba(93, 105, 161, 0.16);
    overflow: hidden;
}

.dash-member-avatar.has-image {
    padding: 0;
    background: #ffffff;
}

.dash-member-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: inherit;
}

.dash-member-avatar-cyan {
    background: linear-gradient(135deg, #34d7eb 0%, #48bdf6 100%);
}

.dash-member-avatar-purple {
    background: linear-gradient(135deg, #8c6cff 0%, #6f56ff 100%);
}

.dash-member-avatar-indigo {
    background: linear-gradient(135deg, #567bff 0%, #3658da 100%);
}

.dash-member-avatar-deep {
    background: linear-gradient(135deg, #2c178a 0%, #4b34bf 100%);
}

.dash-member-avatar-soft {
    background: linear-gradient(135deg, #a78cff 0%, #c5b7ff 100%);
}

.dash-member-copy strong {
    display: block;
    color: #4f487d;
    font-size: 1rem;
}

.dash-member-copy span {
    display: block;
    margin-top: 6px;
    color: #b5b2c4;
    font-size: 0.9rem;
}

.dash-commission-ring-wrap {
    --commission-ring-size: 210px;
    --commission-ring-core-size: 112px;
    position: relative;
    width: var(--commission-ring-size);
    height: var(--commission-ring-size);
    flex: 0 0 var(--commission-ring-size);
    display: grid;
    place-items: center;
    justify-self: center;
    align-self: center;
}

.dash-commission-ring-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--commission-ring-core-size);
    height: var(--commission-ring-core-size);
    padding: 10px 12px;
    text-align: center;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.dash-commission-ring-center::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff 0%, #f6f8ff 100%);
    box-shadow: 0 18px 32px rgba(116, 128, 162, 0.14);
    z-index: -1;
}

.dash-commission-ring-center strong {
    position: absolute;
    top: 50%;
    left: 50%;
    color: var(--ring-accent, #35d8eb);
    font-size: 2.2rem;
    line-height: 1;
    letter-spacing: -0.04em;
    transform: translate(-50%, -58%);
}

.dash-commission-ring-center span {
    position: absolute;
    left: 50%;
    bottom: 16px;
    max-width: 118px;
    color: #8a93b2;
    font-size: 0.84rem;
    line-height: 1.5;
    direction: rtl;
    transform: translateX(-50%);
}

.dash-commission-ring-svg {
    width: 100%;
    height: 100%;
    display: block;
    transform: rotate(-90deg);
}

.dash-commission-ring-track,
.dash-commission-ring-segment {
    fill: none;
    stroke-width: 18;
}

.dash-commission-ring-track {
    stroke: #eef0fd;
}

.dash-commission-ring-segment {
    stroke-linecap: round;
    cursor: pointer;
    opacity: 1;
    transition: stroke-dasharray 0.9s ease, stroke-dashoffset 0.9s ease, opacity 0.22s ease, filter 0.22s ease;
}

.dash-commission-ring-segment.is-muted {
    opacity: 0.32;
}

.dash-commission-ring-segment.is-active {
    filter: drop-shadow(0 0 10px rgba(93, 105, 161, 0.2));
}

.dash-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: auto;
    padding: 22px 24px;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(118, 129, 160, 0.12);
}

.dash-footer-copy strong {
    display: block;
    margin-bottom: 8px;
    color: #2b3754;
}

.dash-footer-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
    direction: rtl;
    text-align: right;
}

.dash-footer-meta {
    display: grid;
    gap: 8px;
    text-align: right;
    color: #7d87a1;
    font-size: 0.95rem;
}

.gateway-section {
    display: grid;
    gap: 18px;
}

.gateway-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.gateway-section-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.gateway-section-copy {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.8;
    direction: rtl;
    text-align: right;
}

.gateway-section-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    color: #4d7ff7;
    background: rgba(77, 127, 247, 0.1);
    font-weight: 800;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.gateway-section-action-btn {
    min-width: 176px;
}

.gateway-list {
    display: grid;
    gap: 18px;
}

.gateway-empty-add-cta {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 16px;
    min-height: 420px;
    padding: 36px 24px;
    border-radius: 32px;
    border: 1px dashed rgba(117, 132, 179, 0.28);
    background:
        radial-gradient(circle at top, rgba(77, 127, 247, 0.08), transparent 52%),
        linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
    text-align: center;
    text-decoration: none;
    box-shadow: none;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.gateway-empty-add-cta:hover,
.gateway-empty-add-cta:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(77, 127, 247, 0.38);
    box-shadow: none;
}

.gateway-empty-add-visual {
    position: relative;
    width: min(240px, 58vw);
    aspect-ratio: 1 / 1;
    display: block;
}

.gateway-empty-add-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.gateway-empty-add-image-default {
    opacity: 1;
}

.gateway-empty-add-image-hover {
    opacity: 0;
    transform: scale(0.98);
}

.gateway-empty-add-cta:hover .gateway-empty-add-image-default,
.gateway-empty-add-cta:focus-visible .gateway-empty-add-image-default {
    opacity: 0;
    transform: scale(0.98);
}

.gateway-empty-add-cta:hover .gateway-empty-add-image-hover,
.gateway-empty-add-cta:focus-visible .gateway-empty-add-image-hover {
    opacity: 1;
    transform: scale(1);
}

.gateway-empty-add-label {
    color: #3657d2;
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    font-weight: 800;
    letter-spacing: 0.02em;
}

.gateway-empty-state {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 16px;
    min-height: 420px;
    padding: 36px 24px;
    border-radius: 32px;
    border: 1px dashed rgba(117, 132, 179, 0.24);
    background:
        radial-gradient(circle at top, rgba(77, 127, 247, 0.06), transparent 52%),
        linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
    text-align: center;
}

.gateway-empty-state-orders {
    min-height: 360px;
}

.gateway-empty-state-visual {
    width: min(260px, 60vw);
    display: block;
}

.gateway-empty-state-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.gateway-empty-state-label {
    color: #5a678f;
    font-size: clamp(1rem, 1.35vw, 1.14rem);
    font-weight: 700;
    line-height: 1.8;
}

body.dashboard-demo-page[data-user-theme="dark"] {
    color-scheme: dark;
    --ink: #e6edf7;
    --muted: #9aa8c4;
    --line: rgba(148, 163, 184, 0.18);
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.22), transparent 24%),
        radial-gradient(circle at bottom left, rgba(20, 184, 166, 0.14), transparent 28%),
        linear-gradient(180deg, #020617 0%, #081122 48%, #0f172a 100%);
}

body.dashboard-demo-page[data-user-theme="dark"]::before {
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
    opacity: 0.14;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-app-shell {
    background: rgba(2, 6, 23, 0.72);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-sidebar {
    background: linear-gradient(180deg, #0f172a 0%, #111827 56%, #172554 100%);
    border-inline-end: 1px solid rgba(148, 163, 184, 0.14);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-brand-block p,
body.dashboard-demo-page[data-user-theme="dark"] .dash-profile-chip p,
body.dashboard-demo-page[data-user-theme="dark"] .dash-sidebar-note,
body.dashboard-demo-page[data-user-theme="dark"] .dash-menu-item {
    color: rgba(226, 232, 240, 0.78);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-menu-item {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(148, 163, 184, 0.08);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-menu-item:hover,
body.dashboard-demo-page[data-user-theme="dark"] .dash-menu-item:focus-visible {
    background: rgba(255, 255, 255, 0.09);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-menu-item.active {
    background: rgba(59, 130, 246, 0.22);
    border-color: rgba(96, 165, 250, 0.3);
    box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.14);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-profile-chip,
body.dashboard-demo-page[data-user-theme="dark"] .dash-sidebar-note,
body.dashboard-demo-page[data-user-theme="dark"] .dash-settings-link {
    background: rgba(255, 255, 255, 0.06);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-profile-chip-link:hover,
body.dashboard-demo-page[data-user-theme="dark"] .dash-profile-chip-link:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 14px 28px rgba(2, 6, 23, 0.32);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-avatar,
body.dashboard-demo-page[data-user-theme="dark"] .dash-user-panel-avatar:not(.has-image) {
    background: #0f172a;
    color: #93c5fd;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-main-panel {
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.84), rgba(9, 15, 28, 0.96));
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-mobile-toggle,
body.dashboard-demo-page[data-user-theme="dark"] .dash-toolbar-icon,
body.dashboard-demo-page[data-user-theme="dark"] .dash-chip,
body.dashboard-demo-page[data-user-theme="dark"] .dash-user-panel,
body.dashboard-demo-page[data-user-theme="dark"] .dash-notify-panel,
body.dashboard-demo-page[data-user-theme="dark"] .dash-page-card,
body.dashboard-demo-page[data-user-theme="dark"] .dash-report-card,
body.dashboard-demo-page[data-user-theme="dark"] .dash-sales-rep-card,
body.dashboard-demo-page[data-user-theme="dark"] .dash-footer,
body.dashboard-demo-page[data-user-theme="dark"] .dash-report-sidebar-empty,
body.dashboard-demo-page[data-user-theme="dark"] .dash-modal-card,
body.dashboard-demo-page[data-user-theme="dark"] .dash-modal-preview,
body.dashboard-demo-page[data-user-theme="dark"] .dash-notify-empty,
body.dashboard-demo-page[data-user-theme="dark"] .dash-user-menu-link,
body.dashboard-demo-page[data-user-theme="dark"] .gateway-empty-add-cta,
body.dashboard-demo-page[data-user-theme="dark"] .gateway-empty-state,
body.dashboard-demo-page[data-user-theme="dark"] .dash-rate-card,
body.dashboard-demo-page[data-user-theme="dark"] .dash-orders-pagination .page-link,
body.dashboard-demo-page[data-user-theme="dark"] .dash-orders-page-size,
body.dashboard-demo-page[data-user-theme="dark"] .badge,
body.dashboard-demo-page[data-user-theme="dark"] .gateway-section-badge,
body.dashboard-demo-page[data-user-theme="dark"] .dash-payment-settings-btn,
body.dashboard-demo-page[data-user-theme="dark"] .dash-modal-close {
    background: rgba(15, 23, 42, 0.92);
    color: #dbe7fb;
    border-color: rgba(148, 163, 184, 0.16);
    box-shadow: 0 18px 36px rgba(2, 6, 23, 0.34);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-analytics-card {
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 22px 40px rgba(2, 6, 23, 0.42);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-analytics-card-purple {
    background: linear-gradient(135deg, #4c1d95 0%, #3730a3 100%);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-analytics-card-cyan {
    background: linear-gradient(135deg, #0f766e 0%, #0e7490 100%);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-analytics-card-blue {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-analytics-card-gold {
    background: linear-gradient(135deg, #b45309 0%, #d97706 100%);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-analytics-card-rose {
    background: linear-gradient(135deg, #be123c 0%, #e11d48 100%);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-analytics-card-slate {
    background: linear-gradient(135deg, #334155 0%, #475569 100%);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-analytics-card-emerald,
body.dashboard-demo-page[data-user-theme="dark"] .dash-cards-grid > .dash-analytics-card-emerald {
    background: linear-gradient(135deg, #059669 0%, #0f766e 100%);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-analytics-icon,
body.dashboard-demo-page[data-user-theme="dark"] .dash-analytics-card em {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-analytics-card-link:hover,
body.dashboard-demo-page[data-user-theme="dark"] .dash-analytics-card[data-deposit-orders-status-filter]:hover {
    box-shadow: 0 26px 44px rgba(2, 6, 23, 0.5);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-analytics-card-link:focus-visible,
body.dashboard-demo-page[data-user-theme="dark"] .dash-analytics-card[data-deposit-orders-status-filter]:focus-visible {
    outline: 3px solid rgba(191, 219, 254, 0.34);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-analytics-card.is-filter-active[data-deposit-orders-status-filter] {
    box-shadow: 0 0 0 3px rgba(191, 219, 254, 0.16), 0 26px 44px rgba(2, 6, 23, 0.52);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-theme-toggle.is-dark {
    background: linear-gradient(135deg, #1d4ed8 0%, #0f766e 100%);
    color: #f8fafc;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-chip {
    color: #c7d7f2;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-footer {
    border: 1px solid rgba(148, 163, 184, 0.16);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-rate-card {
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.18), transparent 38%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(12, 20, 36, 0.98));
    border: 1px solid rgba(148, 163, 184, 0.14);
}

body.dashboard-demo-page[data-user-theme="dark"] .gateway-row-card,
body.dashboard-demo-page[data-user-theme="dark"] .dash-profile-meta-item,
body.dashboard-demo-page[data-user-theme="dark"] .dash-card-list-item,
body.dashboard-demo-page[data-user-theme="dark"] .dash-order-view-item,
body.dashboard-demo-page[data-user-theme="dark"] .dash-api-key-row {
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow: 0 18px 34px rgba(2, 6, 23, 0.3);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-rate-card:hover {
    box-shadow: 0 24px 42px rgba(2, 6, 23, 0.42);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-commission-ring-center::before {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0%, rgba(8, 15, 28, 0.98) 100%);
    border: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow: 0 18px 32px rgba(2, 6, 23, 0.34);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-commission-ring-center span {
    color: #9aa8c4;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-commission-ring-track {
    stroke: rgba(51, 65, 85, 0.94);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-commission-ring-segment.is-active {
    filter: drop-shadow(0 0 10px rgba(96, 165, 250, 0.16));
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-commission-ring-wrap[style*="--ring-accent: #d8e0ff"] {
    --ring-accent: #94a3b8 !important;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-commission-ring-wrap[style*="--ring-accent: #d8e0ff"] .dash-commission-ring-segment {
    stroke: #475569 !important;
    filter: none;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-verify-preview {
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow: 0 18px 34px rgba(2, 6, 23, 0.3);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-verify-preview-copy strong {
    color: #e6edf7;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-profile-link {
    color: #9aa8c4;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-profile-link:hover {
    color: #bfdbfe;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-verify-code {
    background: rgba(8, 15, 28, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: inset 0 1px 0 rgba(148, 163, 184, 0.08);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-verify-code code {
    color: #dbe7fb;
}

body.dashboard-demo-page[data-user-theme="dark"] .gateway-row-link:hover .gateway-row-card {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(10, 18, 32, 0.98));
    border-color: rgba(96, 165, 250, 0.24);
    box-shadow: 0 28px 44px rgba(2, 6, 23, 0.42);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-rate-media {
    background: rgba(30, 41, 59, 0.92);
    border-color: rgba(148, 163, 184, 0.18);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-rate-media.has-image {
    background: rgba(255, 255, 255, 0.96);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-rate-media span {
    color: #dbe7fb;
}

body.dashboard-demo-page[data-user-theme="dark"] .gateway-status-badge {
    background: rgba(30, 41, 59, 0.92);
    color: #c7d7f2;
    border-color: rgba(148, 163, 184, 0.18);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-rate-value {
    background: rgba(37, 99, 235, 0.14);
    color: #93c5fd;
    border: 1px solid rgba(96, 165, 250, 0.14);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-order-view-link {
    color: #93c5fd;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-order-view-link:hover {
    color: #bfdbfe;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-deposit-order-copy-btn,
body.dashboard-demo-page[data-user-theme="dark"] .dash-deposit-order-view-btn {
    background: rgba(30, 41, 59, 0.94);
    color: #c7d7f2;
    border: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow: none;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-deposit-order-copy-btn:hover,
body.dashboard-demo-page[data-user-theme="dark"] .dash-deposit-order-view-btn:hover {
    box-shadow: none;
    border-color: rgba(96, 165, 250, 0.24);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-deposit-order-view-btn:hover {
    background: rgba(37, 99, 235, 0.16);
    color: #93c5fd;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-deposit-order-copy-btn:hover {
    background: rgba(20, 184, 166, 0.14);
    color: #99f6e4;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-deposit-order-copy-btn.is-copied {
    border-color: transparent;
    box-shadow: 0 14px 28px rgba(20, 169, 101, 0.2);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-api-key-label {
    color: #9aa8c4;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-api-version-card,
body.dashboard-demo-page[data-user-theme="dark"] .dash-api-field,
body.dashboard-demo-page[data-user-theme="dark"] .dash-api-route {
    background: rgba(15, 23, 42, 0.92);
    border-color: rgba(148, 163, 184, 0.16);
    color: #dbe7fb;
    box-shadow: 0 18px 36px rgba(2, 6, 23, 0.34);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-api-version-card.is-active {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(11, 18, 32, 0.96));
    border-color: rgba(96, 165, 250, 0.24);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-api-version-media {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(12, 20, 36, 0.96));
    border-color: rgba(148, 163, 184, 0.16);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-api-version-copy strong,
body.dashboard-demo-page[data-user-theme="dark"] .dash-api-field strong {
    color: #e6edf7;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-api-version-copy span,
body.dashboard-demo-page[data-user-theme="dark"] .dash-api-field span,
body.dashboard-demo-page[data-user-theme="dark"] .dash-api-field small {
    color: #9aa8c4;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-api-pill,
body.dashboard-demo-page[data-user-theme="dark"] .dash-api-version-pill {
    background: rgba(37, 99, 235, 0.16);
    color: #93c5fd;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-api-pill.is-neutral,
body.dashboard-demo-page[data-user-theme="dark"] .dash-api-version-pill.is-soon {
    background: rgba(51, 65, 85, 0.9);
    color: #c7d2fe;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-api-note {
    background: rgba(37, 99, 235, 0.12);
    color: #bfdbfe;
    border: 1px solid rgba(96, 165, 250, 0.14);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-api-overview-card,
body.dashboard-demo-page[data-user-theme="dark"] .dash-api-quickstart-card,
body.dashboard-demo-page[data-user-theme="dark"] .dash-api-status-card,
body.dashboard-demo-page[data-user-theme="dark"] .dash-api-field-row {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(11, 18, 32, 0.98));
    border-color: rgba(148, 163, 184, 0.16);
    box-shadow: none;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-api-overview-card span,
body.dashboard-demo-page[data-user-theme="dark"] .dash-api-quickstart-number,
body.dashboard-demo-page[data-user-theme="dark"] .dash-api-status-head span,
body.dashboard-demo-page[data-user-theme="dark"] .dash-api-kicker,
body.dashboard-demo-page[data-user-theme="dark"] .dash-api-field-badge.is-required {
    background: rgba(37, 99, 235, 0.16);
    color: #93c5fd;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-api-overview-card strong,
body.dashboard-demo-page[data-user-theme="dark"] .dash-api-quickstart-card strong,
body.dashboard-demo-page[data-user-theme="dark"] .dash-api-status-head strong,
body.dashboard-demo-page[data-user-theme="dark"] .dash-api-field-main strong {
    color: #e6edf7;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-api-overview-card p,
body.dashboard-demo-page[data-user-theme="dark"] .dash-api-quickstart-card p,
body.dashboard-demo-page[data-user-theme="dark"] .dash-api-status-card p,
body.dashboard-demo-page[data-user-theme="dark"] .dash-api-field-main p,
body.dashboard-demo-page[data-user-theme="dark"] .dash-api-field-type {
    color: #9aa8c4;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-api-field-type {
    background: rgba(30, 41, 59, 0.94);
    border-color: rgba(148, 163, 184, 0.16);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-api-playground {
    background: linear-gradient(180deg, rgba(4, 10, 20, 0.98), rgba(9, 15, 28, 0.98));
    box-shadow: none;
    border: 1px solid rgba(148, 163, 184, 0.14);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-api-gateway-card {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(11, 18, 32, 0.98));
    border-color: rgba(148, 163, 184, 0.16);
    box-shadow: none;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-api-gateway-card strong {
    color: #e6edf7;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-api-gateway-country {
    color: #9aa8c4;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-api-gateway-card code {
    background: rgba(30, 41, 59, 0.94);
    color: #c7d7f2;
    border-color: rgba(148, 163, 184, 0.16);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-api-inline-copy-btn {
    background: rgba(30, 41, 59, 0.94);
    color: #c7d7f2;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-api-inline-copy-btn:hover {
    background: rgba(37, 99, 235, 0.16);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-api-inline-copy-btn.is-copied {
    background: rgba(20, 83, 45, 0.28);
    color: #86efac;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-api-gateway-media {
    background: rgba(30, 41, 59, 0.94);
    border-color: rgba(148, 163, 184, 0.16);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-api-gateway-media.has-image {
    background: rgba(255, 255, 255, 0.04);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-api-gateway-media span {
    color: #c7d7f2;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-api-language-picker {
    background: rgba(15, 23, 42, 0.82);
    border-color: rgba(148, 163, 184, 0.14);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-api-language-btn {
    color: #9aa8c4;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-api-language-btn:hover,
body.dashboard-demo-page[data-user-theme="dark"] .dash-api-language-btn.is-active {
    background: rgba(37, 99, 235, 0.16);
    color: #e6edf7;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-api-snippet-panel {
    background: rgba(2, 6, 23, 0.96);
    border-color: rgba(148, 163, 184, 0.14);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-api-snippet-toolbar {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(148, 163, 184, 0.12);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-api-copy-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #e6edf7;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-api-copy-btn:hover {
    background: rgba(37, 99, 235, 0.16);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-api-code-line::before {
    color: #5f6f8c;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-api-key-value {
    background: rgba(8, 15, 28, 0.96);
    color: #e6edf7;
    border-color: rgba(148, 163, 184, 0.16);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-deposit-order-row {
    background: rgba(15, 23, 42, 0.92);
    border-color: rgba(148, 163, 184, 0.14);
    box-shadow: 0 18px 34px rgba(2, 6, 23, 0.3);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-deposit-order-link {
    background: rgba(8, 15, 28, 0.96);
    color: #e6edf7;
    border-color: rgba(148, 163, 184, 0.16);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-deposit-order-link:hover,
body.dashboard-demo-page[data-user-theme="dark"] .dash-deposit-order-link:focus-visible {
    color: #bfdbfe;
    border-color: rgba(96, 165, 250, 0.28);
    background: rgba(15, 23, 42, 0.98);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-gateway-picker-button {
    background: rgba(10, 16, 29, 0.9);
    border-color: rgba(120, 137, 168, 0.22);
    color: #e6edf8;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-gateway-picker-copy strong,
body.dashboard-demo-page[data-user-theme="dark"] .dash-gateway-picker-option-copy strong {
    color: #f5f7fb;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-gateway-picker-copy span,
body.dashboard-demo-page[data-user-theme="dark"] .dash-gateway-picker-option-copy span,
body.dashboard-demo-page[data-user-theme="dark"] .dash-gateway-picker-arrow {
    color: #90a0bd;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-gateway-picker-button.is-empty .dash-gateway-picker-copy strong {
    color: #b0bdd6;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-gateway-picker-media,
body.dashboard-demo-page[data-user-theme="dark"] .dash-gateway-picker-option-media {
    background: linear-gradient(135deg, rgba(39, 58, 92, 0.92) 0%, rgba(21, 34, 58, 0.96) 100%);
    color: #9fb8ff;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-gateway-picker-menu {
    background: rgba(8, 14, 26, 0.98);
    border-color: rgba(120, 137, 168, 0.22);
    box-shadow: 0 18px 36px rgba(2, 8, 23, 0.42);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-gateway-picker-option:hover {
    background: rgba(39, 58, 92, 0.52);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-gateway-picker-option.is-active {
    background: rgba(64, 99, 173, 0.36);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-amount-currency {
    background: linear-gradient(180deg, rgba(25, 41, 72, 0.96) 0%, rgba(16, 27, 48, 0.98) 100%);
    border-color: rgba(94, 129, 255, 0.24);
    color: #8db6ff;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-amount-currency.is-empty {
    background: rgba(13, 21, 37, 0.92);
    border-color: rgba(120, 137, 168, 0.2);
    color: #90a0bd;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-api-key-input::placeholder {
    color: #7f8da8;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-api-key-btn {
    background: rgba(30, 41, 59, 0.94);
    color: #c7d7f2;
    border: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow: none;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-api-key-btn:hover {
    background: rgba(37, 99, 235, 0.16);
    color: #93c5fd;
    border-color: rgba(96, 165, 250, 0.24);
    box-shadow: none;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-api-key-btn-regen {
    background: rgba(59, 130, 246, 0.12);
    color: #93c5fd;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-api-key-btn-save {
    background: rgba(37, 99, 235, 0.14);
    color: #93c5fd;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-api-key-btn-link {
    background: rgba(37, 99, 235, 0.14);
    color: #93c5fd;
    box-shadow: none;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-api-key-btn.is-copied {
    border-color: transparent;
    box-shadow: 0 14px 28px rgba(20, 169, 101, 0.2);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-api-key-btn-regen.is-success {
    border-color: transparent;
    box-shadow: 0 14px 28px rgba(79, 130, 255, 0.2);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-api-key-btn-save.is-success {
    border-color: transparent;
    box-shadow: 0 14px 28px rgba(20, 169, 101, 0.2);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-search input,
body.dashboard-demo-page[data-user-theme="dark"] input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),
body.dashboard-demo-page[data-user-theme="dark"] select,
body.dashboard-demo-page[data-user-theme="dark"] textarea {
    background: rgba(15, 23, 42, 0.9);
    color: #e6edf7;
    border-color: rgba(148, 163, 184, 0.18);
    box-shadow: none;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-search input::placeholder,
body.dashboard-demo-page[data-user-theme="dark"] input::placeholder,
body.dashboard-demo-page[data-user-theme="dark"] textarea::placeholder {
    color: #7f8da8;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-image-upload-input {
    background: rgba(15, 23, 42, 0.9);
    color: #dbe7fb;
    border-color: rgba(148, 163, 184, 0.18);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-image-upload-input::file-selector-button {
    margin-inline-end: 12px;
    padding: 10px 14px;
    border: 1px solid rgba(96, 165, 250, 0.18);
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.14);
    color: #bfdbfe;
    cursor: pointer;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-image-upload-input::-webkit-file-upload-button {
    margin-inline-end: 12px;
    padding: 10px 14px;
    border: 1px solid rgba(96, 165, 250, 0.18);
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.14);
    color: #bfdbfe;
    cursor: pointer;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-password-strength-bar {
    background:
        repeating-linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.08) 0,
            rgba(255, 255, 255, 0.08) calc(20% - 2px),
            transparent calc(20% - 2px),
            transparent 20%
        ),
        rgba(30, 41, 59, 0.94);
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.14);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-password-strength strong {
    background: rgba(30, 41, 59, 0.94);
    color: #c7d7f2;
    border: 1px solid rgba(148, 163, 184, 0.14);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-password-strength[data-strength-state="weak"] strong {
    background: rgba(127, 29, 29, 0.24);
    color: #fda4af;
    border-color: rgba(251, 113, 133, 0.18);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-password-strength[data-strength-state="fair"] strong {
    background: rgba(154, 52, 18, 0.24);
    color: #fdba74;
    border-color: rgba(251, 146, 60, 0.18);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-password-strength[data-strength-state="good"] strong {
    background: rgba(133, 77, 14, 0.24);
    color: #fde68a;
    border-color: rgba(250, 204, 21, 0.18);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-password-strength[data-strength-state="strong"] strong {
    background: rgba(20, 83, 45, 0.24);
    color: #86efac;
    border-color: rgba(74, 222, 128, 0.18);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-password-strength[data-strength-state="very-strong"] strong {
    background: rgba(17, 94, 89, 0.24);
    color: #5eead4;
    border-color: rgba(45, 212, 191, 0.18);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-card-title,
body.dashboard-demo-page[data-user-theme="dark"] .dash-section-title,
body.dashboard-demo-page[data-user-theme="dark"] .dash-report-sidebar-title,
body.dashboard-demo-page[data-user-theme="dark"] .dash-page-title,
body.dashboard-demo-page[data-user-theme="dark"] .dash-footer-copy strong,
body.dashboard-demo-page[data-user-theme="dark"] .dash-page-card strong,
body.dashboard-demo-page[data-user-theme="dark"] .dash-user-panel-copy strong,
body.dashboard-demo-page[data-user-theme="dark"] .dash-notify-head strong,
body.dashboard-demo-page[data-user-theme="dark"] .dash-notify-copy strong,
body.dashboard-demo-page[data-user-theme="dark"] .dash-modal-preview-copy strong,
body.dashboard-demo-page[data-user-theme="dark"] .dash-order-view-item strong,
body.dashboard-demo-page[data-user-theme="dark"] .dash-deposit-orders-table th,
body.dashboard-demo-page[data-user-theme="dark"] .dash-sales-rep-copy strong,
body.dashboard-demo-page[data-user-theme="dark"] .gateway-row-metric strong,
body.dashboard-demo-page[data-user-theme="dark"] .dash-rate-copy strong,
body.dashboard-demo-page[data-user-theme="dark"] .gateway-client-copy strong,
body.dashboard-demo-page[data-user-theme="dark"] .dash-member-copy strong,
body.dashboard-demo-page[data-user-theme="dark"] .dash-profile-meta-item strong,
body.dashboard-demo-page[data-user-theme="dark"] .dash-card-list-item strong,
body.dashboard-demo-page[data-user-theme="dark"] .dash-report-tooltip-head,
body.dashboard-demo-page[data-user-theme="dark"] .dash-report-tooltip-row strong {
    color: #e6edf7;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-page-copy,
body.dashboard-demo-page[data-user-theme="dark"] .gateway-section-copy,
body.dashboard-demo-page[data-user-theme="dark"] .dash-footer-copy p,
body.dashboard-demo-page[data-user-theme="dark"] .dash-footer-meta,
body.dashboard-demo-page[data-user-theme="dark"] .dash-user-panel-copy span,
body.dashboard-demo-page[data-user-theme="dark"] .dash-notify-head span,
body.dashboard-demo-page[data-user-theme="dark"] .dash-notify-copy p,
body.dashboard-demo-page[data-user-theme="dark"] .dash-notify-copy span,
body.dashboard-demo-page[data-user-theme="dark"] .dash-notify-empty,
body.dashboard-demo-page[data-user-theme="dark"] .dash-report-sidebar-empty-label,
body.dashboard-demo-page[data-user-theme="dark"] .gateway-empty-state-label,
body.dashboard-demo-page[data-user-theme="dark"] .gateway-empty-add-label,
body.dashboard-demo-page[data-user-theme="dark"] .dash-commission-empty-note,
body.dashboard-demo-page[data-user-theme="dark"] .dash-modal-preview-copy span,
body.dashboard-demo-page[data-user-theme="dark"] .dash-order-view-item span,
body.dashboard-demo-page[data-user-theme="dark"] .dash-rate-copy span,
body.dashboard-demo-page[data-user-theme="dark"] .gateway-row-metric span,
body.dashboard-demo-page[data-user-theme="dark"] .gateway-client-copy span,
body.dashboard-demo-page[data-user-theme="dark"] .dash-profile-meta-item span,
body.dashboard-demo-page[data-user-theme="dark"] .dash-card-list-item span,
body.dashboard-demo-page[data-user-theme="dark"] .pagination-info,
body.dashboard-demo-page[data-user-theme="dark"] .dash-orders-pagination .page-list span,
body.dashboard-demo-page[data-user-theme="dark"] .dash-report-tooltip-key,
body.dashboard-demo-page[data-user-theme="dark"] .dash-report-legend,
body.dashboard-demo-page[data-user-theme="dark"] .dash-orders-page-size {
    color: #9aa8c4;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-notify-item,
body.dashboard-demo-page[data-user-theme="dark"] .dash-user-panel-head,
body.dashboard-demo-page[data-user-theme="dark"] .dash-modal-preview,
body.dashboard-demo-page[data-user-theme="dark"] .dash-user-menu-link,
body.dashboard-demo-page[data-user-theme="dark"] .dash-order-view-item,
body.dashboard-demo-page[data-user-theme="dark"] .dash-report-tooltip,
body.dashboard-demo-page[data-user-theme="dark"] .dash-deposit-orders-table th,
body.dashboard-demo-page[data-user-theme="dark"] .dash-deposit-orders-table td,
body.dashboard-demo-page[data-user-theme="dark"] .dash-orders-page-size,
body.dashboard-demo-page[data-user-theme="dark"] .notice,
body.dashboard-demo-page[data-user-theme="dark"] .dash-orders-pagination .page-link {
    border-color: rgba(148, 163, 184, 0.16);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-notify-item.is-read {
    opacity: 1;
    background: rgba(11, 18, 32, 0.96);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-notify-item.is-read .dash-notify-copy strong {
    color: #dbe7fb;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-notify-item.is-read .dash-notify-copy p {
    color: #b3c0d9;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-notify-item.is-read .dash-notify-copy span {
    color: #93a3bf;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-report-tooltip {
    background: rgba(15, 23, 42, 0.96);
    border-color: rgba(148, 163, 184, 0.16);
    box-shadow: 0 18px 32px rgba(2, 6, 23, 0.42);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-user-menu-link:hover,
body.dashboard-demo-page[data-user-theme="dark"] .dash-user-menu-link:focus-visible,
body.dashboard-demo-page[data-user-theme="dark"] .dash-orders-pagination .page-link:hover:not(:disabled) {
    background: rgba(30, 41, 59, 0.96);
    border-color: rgba(96, 165, 250, 0.24);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-user-menu-link.is-danger {
    background: rgba(127, 29, 29, 0.18);
    color: #fda4af;
    border-color: rgba(251, 113, 133, 0.24);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-orders-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    border-color: transparent;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-orders-pagination .page-item.disabled .page-link {
    background: rgba(11, 18, 32, 0.96);
    color: #64748b;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-orders-page-size {
    background-image:
        linear-gradient(45deg, transparent 50%, #9aa8c4 50%),
        linear-gradient(135deg, #9aa8c4 50%, transparent 50%);
}

body.dashboard-demo-page[data-user-theme="dark"] .notice {
    background: rgba(15, 23, 42, 0.88);
    color: #dbe7fb;
}

body.dashboard-demo-page[data-user-theme="dark"] .notice-error {
    background: rgba(127, 29, 29, 0.18);
    border-color: rgba(248, 113, 113, 0.24);
    color: #fecaca;
}

body.dashboard-demo-page[data-user-theme="dark"] .notice-upgrade-panel {
    background: linear-gradient(135deg, rgba(127, 29, 29, 0.24) 0%, rgba(15, 23, 42, 0.92) 100%);
    border-color: rgba(248, 113, 113, 0.22);
    box-shadow: 0 18px 38px rgba(2, 6, 23, 0.34);
}

body.dashboard-demo-page[data-user-theme="dark"] .notice-upgrade-icon {
    color: #fecaca;
    background: rgba(248, 113, 113, 0.16);
    border-color: rgba(248, 113, 113, 0.24);
}

body.dashboard-demo-page[data-user-theme="dark"] .notice-upgrade-btn {
    background: rgba(15, 23, 42, 0.88);
    border-color: rgba(148, 163, 184, 0.24);
    color: #e2e8f0;
}

body.dashboard-demo-page[data-user-theme="dark"] .notice-upgrade-btn:hover,
body.dashboard-demo-page[data-user-theme="dark"] .notice-upgrade-btn:focus-visible {
    background: rgba(30, 41, 59, 0.96);
    border-color: rgba(248, 113, 113, 0.28);
    color: #ffffff;
}

body.dashboard-demo-page[data-user-theme="dark"] .notice-subscription-panel.is-warning {
    background: linear-gradient(135deg, rgba(146, 64, 14, 0.28) 0%, rgba(15, 23, 42, 0.92) 100%);
    border-color: rgba(251, 191, 36, 0.22);
    box-shadow: 0 18px 38px rgba(2, 6, 23, 0.34);
    color: #fde68a;
}

body.dashboard-demo-page[data-user-theme="dark"] .notice-subscription-panel.is-expired {
    background: linear-gradient(135deg, rgba(127, 29, 29, 0.24) 0%, rgba(15, 23, 42, 0.92) 100%);
    border-color: rgba(248, 113, 113, 0.22);
    box-shadow: 0 18px 38px rgba(2, 6, 23, 0.34);
    color: #fecaca;
}

body.dashboard-demo-page[data-user-theme="dark"] .notice-subscription-panel.is-warning .notice-subscription-icon {
    color: #fde68a;
    background: rgba(251, 191, 36, 0.14);
    border-color: rgba(251, 191, 36, 0.24);
}

body.dashboard-demo-page[data-user-theme="dark"] .notice-subscription-panel.is-expired .notice-subscription-icon {
    color: #fecaca;
    background: rgba(248, 113, 113, 0.16);
    border-color: rgba(248, 113, 113, 0.24);
}

body.dashboard-demo-page[data-user-theme="dark"] .notice-subscription-btn {
    background: rgba(15, 23, 42, 0.88);
    border-color: rgba(148, 163, 184, 0.24);
    color: #e2e8f0;
}

body.dashboard-demo-page[data-user-theme="dark"] .notice-subscription-btn:hover,
body.dashboard-demo-page[data-user-theme="dark"] .notice-subscription-btn:focus-visible {
    background: rgba(30, 41, 59, 0.96);
    border-color: rgba(251, 191, 36, 0.28);
    color: #ffffff;
}

body.dashboard-demo-page[data-user-theme="dark"] .notice-subscription-panel.is-expired .notice-subscription-btn:hover,
body.dashboard-demo-page[data-user-theme="dark"] .notice-subscription-panel.is-expired .notice-subscription-btn:focus-visible {
    border-color: rgba(248, 113, 113, 0.28);
}

body.dashboard-demo-page[data-user-theme="dark"] .notice-success {
    background: rgba(20, 83, 45, 0.22);
    border-color: rgba(74, 222, 128, 0.2);
    color: #bbf7d0;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-deposit-orders-table th {
    background: rgba(8, 15, 28, 0.96);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-deposit-orders-table td {
    color: #dbe7fb;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-deposit-orders-table tbody tr:hover {
    background: rgba(37, 99, 235, 0.08);
}

body.dashboard-demo-page[data-user-theme="dark"] .badge,
body.dashboard-demo-page[data-user-theme="dark"] .gateway-section-badge {
    background: rgba(59, 130, 246, 0.16);
    color: #93c5fd;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-modal-backdrop {
    background: rgba(2, 6, 23, 0.68);
}

.dash-rates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.dash-rate-card {
    display: grid;
    gap: 18px;
    padding: 22px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top left, rgba(77, 127, 247, 0.1), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), #ffffff);
    box-shadow: 0 18px 36px rgba(118, 129, 160, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dash-rate-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 42px rgba(118, 129, 160, 0.16);
}

.dash-rate-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.dash-rate-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.dash-rate-media {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 20px;
    background: #eef2ff;
    border: 1px solid rgba(196, 205, 232, 0.34);
}

.dash-rate-media.has-image {
    background: #ffffff;
}

.dash-rate-media img,
.dash-rate-media span {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    object-fit: cover;
}

.dash-rate-media span {
    color: #4a5a7c;
    font-size: 0.86rem;
    font-weight: 800;
}

.dash-rate-copy {
    display: grid;
    gap: 6px;
    text-align: right;
    direction: rtl;
}

.dash-rate-copy strong {
    color: #2d3754;
    font-size: 1.12rem;
}

.dash-rate-copy span {
    color: #7d87a1;
    font-size: 0.92rem;
}

.dash-rate-value {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(77, 127, 247, 0.08);
    color: #3452a3;
    font-size: 1rem;
    font-weight: 800;
    text-align: center;
    letter-spacing: 0.02em;
}

.gateway-row-link {
    display: block;
    border-radius: 28px;
}

.gateway-row-card {
    position: relative;
    display: grid;
    grid-template-columns: 92px 120px repeat(3, minmax(0, 1fr)) 96px 220px;
    grid-template-areas: "progress trend total month average status merchant";
    align-items: center;
    gap: 20px;
    padding: 18px 22px;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid rgba(207, 214, 232, 0.42);
    box-shadow: 0 18px 34px rgba(118, 129, 160, 0.1);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.gateway-row-card-website {
    grid-template-columns: 150px repeat(3, minmax(0, 1fr)) 240px;
    grid-template-areas: "site-status total month average merchant";
}

.gateway-row-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: linear-gradient(180deg, #35d8eb 0%, #4d7ff7 100%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.gateway-row-link:hover .gateway-row-card {
    transform: translateY(-3px) scale(1.005);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border-color: rgba(101, 128, 214, 0.44);
    box-shadow: 0 28px 44px rgba(108, 122, 164, 0.18);
}

.gateway-row-link:hover .gateway-row-card::before {
    opacity: 1;
}

.gateway-row-link:hover .gateway-row-metric strong,
.gateway-row-link:hover .gateway-client-copy strong {
    color: #3657d2;
}

.gateway-row-link:hover .gateway-client-copy span,
.gateway-row-link:hover .gateway-row-metric span {
    color: #7a88aa;
}

.gateway-row-link:hover .gateway-status-badge {
    border-color: rgba(77, 127, 247, 0.26);
}

.gateway-row-card.is-disabled {
    cursor: default;
    opacity: 0.9;
}

.gateway-row-card.is-disabled::before {
    opacity: 0.24;
    background: linear-gradient(180deg, #c7d1ea 0%, #e1e7f5 100%);
}

.gateway-row-progress {
    grid-area: progress;
    display: flex;
    justify-content: center;
}

.gateway-mini-ring {
    position: relative;
    width: 64px;
    height: 64px;
}

.gateway-mini-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.gateway-mini-ring-track,
.gateway-mini-ring-value {
    fill: none;
    stroke-width: 6;
}

.gateway-mini-ring-track {
    stroke: #dddff2;
}

.gateway-mini-ring-value {
    stroke: #7b68ff;
    stroke-linecap: round;
}

.gateway-mini-ring-label {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    align-content: center;
    color: #4a4577;
    line-height: 1;
}

.gateway-mini-ring-label strong {
    font-size: 1.1rem;
}

.gateway-mini-ring-label span {
    margin-top: 2px;
    font-size: 0.78rem;
    font-weight: 700;
}

.gateway-row-trend {
    grid-area: trend;
}

.gateway-row-trend svg {
    width: 100%;
    height: 64px;
    display: block;
}

.gateway-spark-line {
    fill: none;
    stroke: #8c6cff;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 8px 12px rgba(140, 108, 255, 0.22));
}

.gateway-row-metric {
    min-width: 0;
    text-align: center;
}

.gateway-row-metric-total {
    grid-area: total;
}

.gateway-row-metric-month {
    grid-area: month;
}

.gateway-row-metric-average {
    grid-area: average;
}

.gateway-row-metric strong {
    display: block;
    color: #4a4577;
    font-size: clamp(1.5rem, 2vw, 2rem);
    line-height: 1.05;
}

.gateway-row-metric span {
    display: block;
    margin-top: 8px;
    color: #b0afba;
    font-size: 0.95rem;
    white-space: nowrap;
}

.gateway-row-status {
    grid-area: status;
    display: flex;
    justify-content: center;
}

.gateway-row-website-status {
    grid-area: site-status;
    display: flex;
    justify-content: center;
}

.gateway-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(77, 127, 247, 0.16);
    background: #f7f9ff;
    color: #4a5680;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: capitalize;
    white-space: nowrap;
}

.gateway-status-badge.is-active {
    background: rgba(22, 163, 74, 0.1);
    color: #15803d;
    border-color: rgba(22, 163, 74, 0.18);
}

.gateway-status-badge.is-pending,
.gateway-status-badge.is-waiting {
    background: rgba(245, 158, 11, 0.12);
    color: #b45309;
    border-color: rgba(245, 158, 11, 0.2);
}

.gateway-status-badge.is-processing {
    background: rgba(59, 130, 246, 0.1);
    color: #1d4ed8;
    border-color: rgba(59, 130, 246, 0.18);
}

.gateway-status-badge.is-suspended {
    background: rgba(107, 114, 128, 0.12);
    color: #4b5563;
    border-color: rgba(107, 114, 128, 0.18);
}

.gateway-status-badge.is-fraudulent {
    background: rgba(220, 38, 38, 0.1);
    color: #b91c1c;
    border-color: rgba(220, 38, 38, 0.18);
}

.gateway-status-dots {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 12px;
    border-radius: 999px;
    background: #f3fbff;
}

.gateway-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #d9eefa;
}

.gateway-status-dot.is-active {
    background: #41d4ef;
    box-shadow: 0 0 0 3px rgba(65, 212, 239, 0.15);
}

.gateway-row-merchant {
    grid-area: merchant;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    direction: rtl;
    text-align: right;
}

.gateway-client-avatar {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    box-shadow: 0 10px 22px rgba(102, 115, 154, 0.18);
}

.gateway-client-avatar.has-image {
    padding: 0;
    background: #ffffff;
    color: transparent;
}

.gateway-client-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.gateway-client-avatar img[hidden] {
    display: none !important;
}

.gateway-client-avatar-cyan {
    background: linear-gradient(135deg, #38d6d2 0%, #4d7ff7 100%);
}

.gateway-client-avatar-purple {
    background: linear-gradient(135deg, #8c6cff 0%, #6577ff 100%);
}

.gateway-client-avatar-amber {
    background: linear-gradient(135deg, #f2a94f 0%, #ff7e66 100%);
}

.gateway-client-avatar-blue {
    background: linear-gradient(135deg, #4d7ff7 0%, #45b6ff 100%);
}

.gateway-client-avatar-emerald {
    background: linear-gradient(135deg, #24c9a6 0%, #16958a 100%);
}

.gateway-client-copy {
    min-width: 0;
}

.gateway-client-copy strong {
    display: block;
    color: #45406f;
    font-size: 1.1rem;
}

.gateway-client-copy span {
    display: block;
    margin-top: 6px;
    color: #b1afbc;
    font-size: 0.92rem;
    overflow-wrap: anywhere;
}

.auth-dashboard-page .dash-main-panel {
    align-content: start;
}

.dash-auth-grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 0.92fr);
    gap: 22px;
    align-items: stretch;
}

.dash-auth-hero {
    display: grid;
    align-content: start;
    gap: 18px;
    padding: 32px;
    border-radius: 30px;
    color: #ffffff;
    background: linear-gradient(135deg, #4f82ff 0%, #8d63ff 100%);
    box-shadow: 0 24px 40px rgba(88, 102, 160, 0.18);
}

.dash-auth-hero-register {
    background: linear-gradient(135deg, #31d4d1 0%, #4f82ff 100%);
}

.dash-auth-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.dash-auth-hero h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
}

.dash-auth-hero p {
    margin: 0;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.9);
    direction: rtl;
    text-align: right;
}

.dash-auth-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 8px;
}

.dash-auth-mini-card {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
}

.dash-auth-mini-card strong {
    display: block;
    margin-bottom: 8px;
}

.dash-auth-mini-card span {
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
    font-size: 0.94rem;
}

.dash-auth-form-card {
    padding: 28px;
    border-radius: 30px;
    background: #ffffff;
    box-shadow: 0 22px 40px rgba(116, 128, 162, 0.16);
    direction: rtl;
    text-align: right;
}

.dash-auth-tabs {
    display: inline-grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    width: 100%;
    padding: 8px;
    border-radius: 999px;
    background: #edf2ff;
    margin-bottom: 22px;
}

.dash-auth-tabs a {
    padding: 12px 16px;
    border-radius: 999px;
    text-align: center;
    color: var(--muted);
    font-weight: 700;
}

.dash-auth-tabs a.active {
    color: #ffffff;
    background: linear-gradient(135deg, #4f82ff 0%, #8d63ff 100%);
}

.dash-auth-copy {
    margin-bottom: 18px;
}

.dash-auth-copy h2 {
    margin: 0 0 8px;
    font-size: 1.8rem;
    color: #2b3754;
}

.dash-auth-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.dash-auth-form {
    display: grid;
    gap: 16px;
}

.dash-auth-form .field {
    margin-bottom: 0;
}

.dash-auth-form .field label {
    color: #2b3754;
}

.dash-auth-form .field input {
    background: #fdfdff;
}

.dash-dot {
    width: 10px;
    height: 10px;
    display: inline-block;
    margin-left: 8px;
    border-radius: 999px;
}

.dash-dot-cyan {
    background: #40d4d1;
}

.dash-dot-purple {
    background: #8c6cff;
}

.dash-dot-blue {
    background: #4d7ff7;
}

.footer-note {
    margin-top: 24px;
    color: var(--muted);
    text-align: center;
}

.dash-subscription-card {
    min-height: calc(100vh - 220px);
    display: grid;
    gap: 34px;
    place-items: center;
    padding: 40px 24px;
    overflow: hidden;
    background:
        radial-gradient(circle at top, rgba(124, 58, 237, 0.1), transparent 34%),
        radial-gradient(circle at bottom, rgba(236, 72, 153, 0.12), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 255, 0.92));
}

body.dashboard-subscription-only-page .dash-subscription-card {
    min-height: auto;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    gap: 26px;
}

.dash-subscription-stage {
    width: 100%;
    display: grid;
    place-items: center;
    gap: 16px;
}

.dash-subscription-stage-head {
    display: grid;
    gap: 14px;
    justify-items: center;
    text-align: center;
}

.dash-current-subscription {
    width: min(980px, 100%);
    display: grid;
    gap: 18px;
    padding: 28px;
    border-radius: 30px;
    border: 1px solid rgba(173, 185, 214, 0.32);
    background:
        radial-gradient(circle at top right, rgba(124, 58, 237, 0.08), transparent 28%),
        radial-gradient(circle at bottom left, rgba(236, 72, 153, 0.08), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 255, 0.95));
    box-shadow: 0 22px 40px rgba(132, 146, 178, 0.12);
}

.dash-current-subscription-description {
    display: grid;
    justify-items: center;
    text-align: center;
}

.dash-current-subscription-description .dash-page-copy {
    max-width: none;
    white-space: nowrap;
}

.dash-current-subscription-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.dash-current-subscription-form {
    margin: 0;
}

.dash-current-subscription-btn {
    width: 100%;
    min-height: 86px;
    display: grid;
    gap: 8px;
    justify-items: center;
    align-content: center;
    text-align: center;
}

.dash-current-subscription-btn-copy {
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.4;
}

.dash-current-subscription-btn-price {
    font-family: "Consolas", "Courier New", monospace;
    font-size: 1.1rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.01em;
}

.dash-subscription-meter {
    --subscription-progress-angle: calc(var(--subscription-progress) * 1%);
    position: relative;
    width: min(320px, 78vw);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
}

.dash-subscription-meter-glow,
.dash-subscription-meter-track,
.dash-subscription-meter-ticks {
    position: absolute;
    inset: 0;
    border-radius: 50%;
}

.dash-subscription-meter-glow {
    background:
        radial-gradient(circle at 72% 28%, rgba(124, 58, 237, 0.34), transparent 22%),
        radial-gradient(circle at 70% 82%, rgba(236, 72, 153, 0.32), transparent 26%);
    filter: blur(18px);
    transform: scale(1.05);
}

.dash-subscription-meter-track {
    background: conic-gradient(
        from -72deg,
        #7828f8 0deg,
        #ef2abf var(--subscription-progress-angle),
        rgba(232, 237, 248, 0.98) var(--subscription-progress-angle),
        rgba(232, 237, 248, 0.98) 360deg
    );
    box-shadow:
        0 28px 48px rgba(145, 110, 178, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 18px), #000 calc(100% - 16px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 18px), #000 calc(100% - 16px));
}

.dash-subscription-meter-ticks {
    background: repeating-conic-gradient(
        from -90deg,
        rgba(192, 202, 224, 0.88) 0deg 1deg,
        transparent 1deg 12deg
    );
    opacity: 0.55;
    -webkit-mask: radial-gradient(
        farthest-side,
        transparent calc(100% - 10px),
        #000 calc(100% - 8px),
        #000 calc(100% - 6px),
        transparent calc(100% - 4px)
    );
    mask: radial-gradient(
        farthest-side,
        transparent calc(100% - 10px),
        #000 calc(100% - 8px),
        #000 calc(100% - 6px),
        transparent calc(100% - 4px)
    );
}

.dash-subscription-meter-core {
    position: relative;
    width: calc(100% - 34px);
    aspect-ratio: 1;
    border-radius: 50%;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 6px;
    padding: 40px 30px;
    text-align: center;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.98), rgba(248, 250, 255, 0.96) 58%, rgba(243, 246, 255, 0.98) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 14px 26px rgba(138, 153, 186, 0.12);
}

.dash-subscription-meter-unit {
    color: #8d99b5;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dash-subscription-meter-value {
    color: #6d28d9;
    font-size: clamp(3rem, 8vw, 4rem);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.06em;
}

.dash-subscription-meter-caption {
    color: #5d6a88;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.6;
    max-width: 12ch;
}

.dash-subscription-plans {
    width: min(980px, 100%);
    display: grid;
    gap: 24px;
}

body.dashboard-subscription-only-page .dash-subscription-plans {
    width: min(1240px, 100%);
}

.dash-subscription-plans-head {
    display: grid;
    gap: 10px;
    justify-items: center;
    text-align: center;
}

.dash-subscription-plans-head .dash-page-copy {
    max-width: 62ch;
}

.dash-subscription-table-wrap {
    width: 100%;
    overflow-x: auto;
    border-radius: 30px;
    border: 1px solid rgba(173, 185, 214, 0.3);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(246, 248, 255, 0.95));
    box-shadow: 0 24px 42px rgba(132, 146, 178, 0.12);
}

.dash-subscription-table {
    width: 100%;
    min-width: 1240px;
    border-collapse: collapse;
}

.dash-subscription-table thead th {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(173, 185, 214, 0.26);
    background: rgba(243, 246, 255, 0.9);
    color: #4a5672;
    font-size: 0.9rem;
    font-weight: 800;
    white-space: nowrap;
    text-align: start;
}

.dash-subscription-table tbody td {
    padding: 20px;
    border-bottom: 1px solid rgba(173, 185, 214, 0.2);
    color: #33415e;
    font-weight: 700;
    vertical-align: middle;
}

.dash-subscription-table tbody tr:last-child td {
    border-bottom: 0;
}

.dash-subscription-table tbody tr.is-featured {
    background:
        linear-gradient(90deg, rgba(124, 58, 237, 0.05), rgba(236, 72, 153, 0.04));
}

.dash-subscription-table th:not(:nth-child(1)):not(:nth-child(2)),
.dash-subscription-table td:not(:nth-child(1)):not(:nth-child(2)) {
    text-align: center;
}

.dash-subscription-plan-meta {
    display: grid;
    gap: 12px;
    min-width: 170px;
}

.dash-subscription-plan-meta strong {
    color: #17243f;
    font-size: 1.05rem;
}

.dash-subscription-description-cell {
    min-width: 260px;
    color: #657491;
    line-height: 1.75;
}

.dash-subscription-state {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 800;
    white-space: nowrap;
}

.dash-subscription-state.is-on {
    background: rgba(16, 185, 129, 0.12);
    color: #0f9f6e;
}

.dash-subscription-state.is-off {
    background: rgba(148, 163, 184, 0.16);
    color: #5b6781;
}

.dash-subscription-price-cell {
    color: #17243f;
    font-size: 1.05rem;
    font-weight: 900;
    white-space: nowrap;
}

.dash-subscription-billing {
    display: inline-flex;
    flex-wrap: wrap;
    justify-self: center;
    justify-content: center;
    gap: 10px;
    padding: 8px;
    border-radius: 999px;
    border: 1px solid rgba(173, 185, 214, 0.34);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 18px 32px rgba(132, 146, 178, 0.14);
}

.dash-subscription-billing-btn {
    min-width: 112px;
    min-height: 68px;
    display: grid;
    gap: 4px;
    align-content: center;
    justify-items: center;
    border: 0;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 800;
    color: #61708e;
    background: transparent;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.dash-subscription-billing-btn-label {
    line-height: 1.15;
}

.dash-subscription-billing-btn-note {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.14);
    color: #0f9f6e;
    font-size: 0.73rem;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.dash-subscription-billing-btn:hover,
.dash-subscription-billing-btn:focus-visible {
    color: #3c4660;
    background: rgba(124, 58, 237, 0.08);
}

.dash-subscription-billing-btn.is-active {
    color: #ffffff;
    background: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
    box-shadow: 0 14px 28px rgba(178, 61, 175, 0.28);
}

.dash-subscription-billing-btn.is-active .dash-subscription-billing-btn-note {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.dash-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}

body.dashboard-subscription-only-page .dash-pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dash-pricing-card {
    display: grid;
    gap: 22px;
    padding: 26px;
    border-radius: 30px;
    border: 1px solid rgba(173, 185, 214, 0.3);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 248, 255, 0.94));
    box-shadow: 0 24px 42px rgba(132, 146, 178, 0.12);
}

.dash-pricing-card.is-featured {
    border-color: rgba(198, 76, 170, 0.34);
    background:
        radial-gradient(circle at top right, rgba(124, 58, 237, 0.12), transparent 26%),
        radial-gradient(circle at bottom left, rgba(236, 72, 153, 0.12), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 244, 255, 0.96));
    box-shadow: 0 26px 54px rgba(175, 68, 169, 0.16);
}

.dash-pricing-card-head {
    display: grid;
    gap: 14px;
}

.dash-pricing-pill {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(124, 58, 237, 0.1);
    color: #7c3aed;
    font-size: 0.86rem;
    font-weight: 800;
}

.dash-pricing-card.is-featured .dash-pricing-pill {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.14), rgba(236, 72, 153, 0.16));
    color: #b0127b;
}

.dash-pricing-copy {
    display: grid;
    gap: 8px;
}

.dash-pricing-copy h3 {
    margin: 0;
    color: #17243f;
    font-size: 1.55rem;
}

.dash-pricing-copy p {
    margin: 0;
    color: #657491;
    line-height: 1.8;
}

.dash-pricing-price {
    display: grid;
    gap: 6px;
    padding-block: 18px 16px;
    border-block: 1px solid rgba(173, 185, 214, 0.28);
}

.dash-pricing-price strong {
    color: #17243f;
    font-size: clamp(2.5rem, 4vw, 3.2rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.dash-pricing-card.is-featured .dash-pricing-price strong {
    color: #7c3aed;
}

.dash-pricing-price span {
    color: #75829c;
    font-weight: 700;
}

.dash-pricing-discount {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
}

.dash-pricing-discount-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.14);
    color: #0f9f6e;
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.dash-pricing-discount-text {
    color: #0f9f6e;
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.4;
}

.dash-pricing-features {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.dash-pricing-features li {
    position: relative;
    padding-inline-start: 28px;
    color: #33415e;
    font-weight: 700;
    line-height: 1.7;
}

.dash-pricing-features li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0.45rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}

.dash-pricing-actions {
    margin-top: 4px;
}

.dash-pricing-actions-stack {
    display: grid;
    gap: 12px;
}

.dash-pricing-inline-form {
    margin: 0;
}

.dash-pricing-action {
    width: 100%;
    min-height: 56px;
    font-weight: 800;
}

.dash-pricing-action.is-current {
    cursor: default;
    opacity: 1;
    border-color: rgba(16, 185, 129, 0.2);
    background: rgba(16, 185, 129, 0.12);
    color: #0f9f6e;
}

.dash-subscription-history {
    display: grid;
    gap: 18px;
}

.dash-subscription-history-head {
    display: grid;
    gap: 10px;
    justify-items: center;
    text-align: center;
}

.dash-subscription-history-head .dash-page-copy {
    max-width: 62ch;
}

.dash-subscription-history-wrap {
    width: 100%;
    overflow-x: auto;
    border-radius: 28px;
    border: 1px solid rgba(173, 185, 214, 0.3);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(246, 248, 255, 0.95));
    box-shadow: 0 24px 42px rgba(132, 146, 178, 0.12);
}

.dash-subscription-history-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}

.dash-subscription-history-table thead th {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(173, 185, 214, 0.26);
    background: rgba(243, 246, 255, 0.9);
    color: #4a5672;
    font-size: 0.9rem;
    font-weight: 800;
    white-space: nowrap;
    text-align: start;
}

.dash-subscription-history-table tbody td {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(173, 185, 214, 0.2);
    color: #33415e;
    font-weight: 700;
    vertical-align: middle;
    white-space: nowrap;
}

.dash-subscription-history-table tbody tr:last-child td {
    border-bottom: 0;
}

.dash-subscription-history-table tbody td:last-child {
    color: #17243f;
    font-weight: 900;
}

.dash-subscription-history-number {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(236, 241, 255, 0.96);
    color: #30415f;
    font-family: "Consolas", "Courier New", monospace;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.dash-subscription-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 800;
    white-space: nowrap;
}

.dash-subscription-status-badge.is-active {
    background: rgba(16, 185, 129, 0.14);
    color: #0f9f6e;
}

.dash-subscription-status-badge.is-upcoming {
    background: rgba(59, 130, 246, 0.14);
    color: #2563eb;
}

.dash-subscription-status-badge.is-expired {
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
}

.dash-subscription-history-empty {
    padding: 18px 22px;
    border-radius: 24px;
    border: 1px dashed rgba(173, 185, 214, 0.42);
    background: rgba(250, 252, 255, 0.86);
    color: #62718e;
    font-weight: 700;
    text-align: center;
}

.dash-subscription-logout-action {
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-subscription-card {
    background:
        radial-gradient(circle at top, rgba(124, 58, 237, 0.16), transparent 36%),
        radial-gradient(circle at bottom, rgba(236, 72, 153, 0.14), transparent 42%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(9, 16, 30, 0.98));
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-app-shell-subscription-only {
    background: transparent;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-subscription-meter-track {
    background: conic-gradient(
        from -72deg,
        #8b5cf6 0deg,
        #f472b6 var(--subscription-progress-angle),
        rgba(37, 51, 77, 0.98) var(--subscription-progress-angle),
        rgba(37, 51, 77, 0.98) 360deg
    );
    box-shadow:
        0 28px 54px rgba(2, 6, 23, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-subscription-meter-ticks {
    background: repeating-conic-gradient(
        from -90deg,
        rgba(93, 109, 144, 0.92) 0deg 1deg,
        transparent 1deg 12deg
    );
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-subscription-meter-core {
    background:
        radial-gradient(circle at top, rgba(26, 35, 56, 0.98), rgba(13, 22, 38, 0.98) 64%, rgba(8, 15, 28, 0.99) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 18px 36px rgba(2, 6, 23, 0.34);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-subscription-meter-unit {
    color: #94a3b8;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-subscription-meter-value {
    color: #f4f7ff;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-subscription-meter-caption {
    color: #c4d1e8;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-current-subscription {
    border-color: rgba(95, 114, 156, 0.34);
    background:
        radial-gradient(circle at top right, rgba(124, 58, 237, 0.18), transparent 28%),
        radial-gradient(circle at bottom left, rgba(236, 72, 153, 0.16), transparent 30%),
        linear-gradient(180deg, rgba(17, 26, 47, 0.96), rgba(13, 22, 41, 0.96));
    box-shadow: 0 24px 44px rgba(3, 8, 20, 0.36);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-subscription-table-wrap {
    border-color: rgba(82, 98, 130, 0.36);
    background:
        linear-gradient(180deg, rgba(12, 20, 35, 0.94), rgba(9, 15, 28, 0.98));
    box-shadow: 0 28px 52px rgba(2, 6, 23, 0.26);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-subscription-table thead th {
    border-color: rgba(82, 98, 130, 0.34);
    background: rgba(16, 24, 39, 0.92);
    color: #9fb0cf;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-subscription-table tbody td {
    border-color: rgba(82, 98, 130, 0.24);
    color: #d7e2f5;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-subscription-table tbody tr.is-featured {
    background:
        linear-gradient(90deg, rgba(124, 58, 237, 0.12), rgba(236, 72, 153, 0.08));
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-subscription-plan-meta strong,
body.dashboard-demo-page[data-user-theme="dark"] .dash-subscription-price-cell {
    color: #f8fbff;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-subscription-description-cell {
    color: #9fb0cf;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-subscription-state.is-on {
    background: rgba(16, 185, 129, 0.18);
    color: #72f0bf;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-subscription-state.is-off {
    background: rgba(71, 85, 105, 0.34);
    color: #c2cfdf;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-subscription-billing {
    background: rgba(12, 20, 35, 0.82);
    border-color: rgba(82, 98, 130, 0.42);
    box-shadow: 0 20px 36px rgba(2, 6, 23, 0.28);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-subscription-billing-btn {
    color: #9fb0cf;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-subscription-billing-btn-note {
    background: rgba(16, 185, 129, 0.18);
    color: #6ee7b7;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-subscription-billing-btn:hover,
body.dashboard-demo-page[data-user-theme="dark"] .dash-subscription-billing-btn:focus-visible {
    color: #e2e8f0;
    background: rgba(124, 58, 237, 0.12);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-pricing-card {
    border-color: rgba(82, 98, 130, 0.36);
    background:
        linear-gradient(180deg, rgba(12, 20, 35, 0.94), rgba(9, 15, 28, 0.98));
    box-shadow: 0 28px 52px rgba(2, 6, 23, 0.26);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-pricing-card.is-featured {
    border-color: rgba(192, 132, 252, 0.34);
    background:
        radial-gradient(circle at top right, rgba(124, 58, 237, 0.16), transparent 28%),
        radial-gradient(circle at bottom left, rgba(236, 72, 153, 0.15), transparent 30%),
        linear-gradient(180deg, rgba(17, 24, 39, 0.96), rgba(10, 15, 27, 0.99));
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-pricing-pill {
    background: rgba(124, 58, 237, 0.16);
    color: #d8b4fe;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-pricing-card.is-featured .dash-pricing-pill {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.22), rgba(236, 72, 153, 0.18));
    color: #f9a8d4;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-pricing-copy h3,
body.dashboard-demo-page[data-user-theme="dark"] .dash-pricing-price strong {
    color: #f8fbff;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-pricing-card.is-featured .dash-pricing-price strong {
    color: #d8b4fe;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-pricing-copy p,
body.dashboard-demo-page[data-user-theme="dark"] .dash-pricing-price span {
    color: #9fb0cf;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-pricing-discount-pill {
    background: rgba(16, 185, 129, 0.18);
    color: #6ee7b7;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-pricing-discount-text {
    color: #86efac;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-pricing-price {
    border-color: rgba(82, 98, 130, 0.32);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-pricing-features li {
    color: #d7e2f5;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-pricing-action.is-current {
    border-color: rgba(16, 185, 129, 0.24);
    background: rgba(16, 185, 129, 0.16);
    color: #6ee7b7;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-subscription-history-wrap {
    border-color: rgba(82, 98, 130, 0.36);
    background:
        linear-gradient(180deg, rgba(12, 20, 35, 0.94), rgba(9, 15, 28, 0.98));
    box-shadow: 0 28px 52px rgba(2, 6, 23, 0.26);
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-subscription-history-table thead th {
    border-color: rgba(82, 98, 130, 0.34);
    background: rgba(16, 24, 39, 0.92);
    color: #9fb0cf;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-subscription-history-table tbody td {
    border-color: rgba(82, 98, 130, 0.24);
    color: #d7e2f5;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-subscription-history-table tbody td:last-child {
    color: #f8fbff;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-subscription-history-number {
    background: rgba(20, 31, 49, 0.92);
    color: #d7e2f5;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-subscription-status-badge.is-active {
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-subscription-status-badge.is-upcoming {
    background: rgba(59, 130, 246, 0.22);
    color: #93c5fd;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-subscription-status-badge.is-expired {
    background: rgba(239, 68, 68, 0.18);
    color: #fca5a5;
}

body.dashboard-demo-page[data-user-theme="dark"] .dash-subscription-history-empty {
    border-color: rgba(82, 98, 130, 0.4);
    background: rgba(12, 20, 35, 0.78);
    color: #9fb0cf;
}

@media (max-width: 560px) {
    .dash-subscription-table-wrap {
        border-radius: 22px;
    }

    .dash-subscription-table {
        min-width: 1040px;
    }

    .dash-subscription-table thead th,
    .dash-subscription-table tbody td {
        padding: 16px 14px;
    }

    .dash-subscription-plan-meta {
        min-width: 150px;
    }

    .dash-subscription-description-cell {
        min-width: 220px;
    }

    .dash-subscription-billing {
        width: 100%;
        border-radius: 28px;
    }

    .dash-subscription-billing-btn {
        flex: 1 1 calc(50% - 10px);
        min-width: 0;
    }

    .dash-pricing-card {
        padding: 22px 18px;
    }

    .dash-pricing-copy h3 {
        font-size: 1.35rem;
    }

    .dash-subscription-history-wrap {
        border-radius: 22px;
    }

    .dash-subscription-history-table {
        min-width: 640px;
    }

    .dash-subscription-history-table thead th,
    .dash-subscription-history-table tbody td {
        padding: 16px 14px;
    }
}

@keyframes riseUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1240px) {
    .dash-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dash-analytics-card {
        padding: 16px;
        gap: 10px;
    }

    .dash-analytics-icon {
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        border-radius: 16px;
    }

    .dash-analytics-icon svg {
        width: 40px;
        height: 40px;
    }

    .dash-analytics-copy strong {
        font-size: clamp(1.35rem, 1vw + 1rem, 1.85rem);
    }

    .dash-analytics-copy span {
        font-size: 0.92rem;
        line-height: 1.25;
        letter-spacing: 0.01em;
        white-space: normal;
        overflow-wrap: normal;
        word-break: normal;
    }

    .dash-analytics-card em {
        padding: 4px 8px;
        font-size: 0.64rem;
        letter-spacing: 0.06em;
    }

    .dash-api-key-row {
        flex-wrap: wrap;
        align-items: stretch;
    }

    .dash-api-key-main {
        flex: 1 1 100%;
        order: 2;
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 10px;
    }

    .dash-api-key-actions {
        order: 1;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .dash-api-key-value {
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .dash-api-key-value.is-digits {
        letter-spacing: 0.08em;
    }
}

@media (max-width: 1480px) {
    .dash-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .hero,
    .auth-layout,
    .dashboard-hero,
    .dashboard-shell,
    .dashboard-stats,
    .dashboard-content-grid,
    .dash-app-shell,
    .dash-auth-grid,
    .dash-reports-grid,
    .feature-grid,
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .stack-two {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        position: static;
    }

    .dashboard-topbar {
        padding: 22px;
        flex-direction: column;
        align-items: stretch;
    }

    .dashboard-topbar-actions {
        justify-content: stretch;
    }

    .dash-sidebar {
        padding-bottom: 22px;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 30;
        width: min(320px, 86vw);
        height: 100vh;
        transform: translateX(-100%);
        transition: transform 0.28s ease;
        box-shadow: 24px 0 40px rgba(41, 58, 100, 0.22);
    }

    .dash-toolbar {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
    }

    .dash-toolbar-left {
        flex-direction: row;
        align-items: center;
        min-width: 0;
        flex: 1 1 420px;
    }

    .dash-search {
        max-width: none;
    }

    .dash-toolbar-right {
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        flex: 0 0 auto;
    }

    .dash-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dash-page-grid {
        grid-template-columns: 1fr;
    }

    .dash-form-row-two {
        grid-template-columns: 1fr;
    }

    .dash-api-version-grid,
    .dash-api-fields,
    .dash-api-doc-hero {
        grid-template-columns: 1fr;
    }

    .dash-api-key-row {
        flex-wrap: wrap;
        align-items: stretch;
    }

    .dash-api-key-main {
        flex: 1 1 100%;
        order: 2;
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 10px;
    }

    .dash-api-key-actions {
        order: 1;
        justify-content: flex-start;
    }

    .dash-api-key-value {
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .dash-api-key-value.is-digits {
        letter-spacing: 0.08em;
    }

    .dash-report-legend {
        position: static;
    }

    .dash-report-card-graph {
        min-height: auto;
    }

    .dash-commission-layout {
        grid-template-columns: 1fr;
    }

    .dash-commission-ring-wrap {
        order: -1;
    }

    .dash-commission-members {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gateway-section-head,
    .dash-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .gateway-section-actions {
        justify-content: stretch;
    }

    .gateway-row-card {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-template-areas:
            "merchant merchant merchant merchant"
            "status average month total"
            "trend trend progress progress";
        gap: 16px;
    }

    .gateway-row-card-website {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
            "site-status total"
            "merchant merchant"
            "month average";
    }

    .gateway-row-status {
        justify-content: flex-start;
    }

    .gateway-row-website-status {
        justify-content: flex-start;
    }

    .gateway-row-progress {
        justify-content: flex-end;
    }

    .dash-deposit-order-grid {
        grid-template-columns: 1fr;
    }

    .dash-amount-input-wrap {
        gap: 8px;
    }

    .dash-amount-currency {
        min-width: 66px;
        padding-inline: 12px;
        font-size: 0.86rem;
    }

    .dash-mobile-toggle,
    .dash-sidebar-close {
        display: inline-grid;
        place-items: center;
    }

    .dash-sidebar-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 20;
        border: 0;
        background: rgba(15, 23, 42, 0.36);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.28s ease, visibility 0.28s ease;
    }

    body.dash-sidebar-open .dash-sidebar {
        transform: translateX(0);
    }

    body.dash-sidebar-open .dash-sidebar-overlay {
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 640px) {
    .topbar {
        padding-top: 18px;
    }

    .hero-copy,
    .auth-side,
    .auth-card,
    .dashboard-card {
        padding: 22px;
    }

    .hero-title {
        font-size: 2.3rem;
    }

    .btn {
        width: 100%;
    }

    .hero-actions,
    .nav-actions,
    .submit-row,
    .dashboard-actions,
    .dashboard-topbar-actions,
    .account-row {
        flex-direction: column;
        align-items: stretch;
    }

    .switcher {
        width: 100%;
    }

    .auth-page {
        padding: 16px;
    }

    .dashboard-page {
        padding: 16px;
    }

    .dashboard-demo-page {
        padding: 0;
    }

    .dash-main-panel {
        padding: 18px;
    }

    .dash-auth-hero,
    .dash-auth-form-card {
        padding: 22px;
        border-radius: 24px;
    }

    .dash-auth-mini-grid {
        grid-template-columns: 1fr;
    }

    .dash-auth-copy h2 {
        font-size: 1.55rem;
    }

    .dash-toolbar {
        align-items: center;
        gap: 8px;
        flex-wrap: nowrap;
    }

    .dash-toolbar-left {
        flex: 1 1 auto;
        min-width: 0;
        gap: 6px;
        flex-wrap: nowrap;
    }

    .dash-toolbar-right {
        flex: 0 0 auto;
        gap: 6px;
        flex-wrap: nowrap;
        margin-inline-start: auto;
    }

    .dash-mobile-toggle,
    .dash-toolbar-user,
    .dash-toolbar-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .dash-chip {
        min-width: 72px;
        height: 36px;
        padding: 0 8px;
        border-radius: 10px;
        font-size: 0.64rem;
        letter-spacing: 0.04em;
    }

    .dash-search {
        min-width: 0;
        flex: 1 1 auto;
    }

    .dash-search input {
        height: 36px;
        padding-inline: 12px 34px;
        border-radius: 10px;
        font-size: 0.9rem;
    }

    .dash-search-icon {
        inset-inline-end: 10px;
        width: 16px;
        height: 16px;
    }

    .dash-user-panel,
    .dash-notify-panel {
        width: min(320px, calc(100vw - 24px));
        top: calc(100% + 10px);
    }

    .dash-notify-panel {
        position: fixed;
        top: 76px;
        right: auto;
        left: 50%;
        width: min(360px, calc(100vw - 24px));
        max-width: calc(100vw - 24px);
        max-height: calc(100vh - 92px);
        padding: 16px;
        transform: translateX(-50%);
    }

    .dash-user-panel {
        position: fixed;
        top: 76px;
        right: 12px;
        left: 12px;
        width: auto;
        max-width: none;
        max-height: calc(100vh - 92px);
        padding: 16px;
        overflow-y: auto;
    }

    .dash-notify-list {
        max-height: calc(100vh - 176px);
    }

    .dash-page-card {
        padding: 22px;
        border-radius: 24px;
    }

    .dash-api-key-row {
        gap: 10px;
    }

    .dash-api-version-card,
    .dash-api-field {
        padding: 16px;
        border-radius: 22px;
    }

    .dash-api-route {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .dash-api-key-actions {
        justify-content: flex-start;
    }

    .dash-api-key-main {
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 10px;
    }

    .dash-api-key-label {
        font-size: 0.86rem;
        white-space: normal;
    }

    .dash-api-key-value {
        padding: 10px 12px;
        font-size: 0.88rem;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .dash-api-key-value.is-digits {
        letter-spacing: 0.08em;
    }

    .dash-payment-card {
        padding: 16px;
    }

    .dash-payment-copy {
        gap: 10px;
    }

    .dash-profile-meta {
        grid-template-columns: 1fr;
    }

    .dash-analytics-card {
        flex-wrap: wrap;
    }

    .dash-cards-grid {
        grid-template-columns: 1fr;
    }

    .dash-profile-edit-grid {
        grid-template-columns: 1fr;
    }

    .dash-profile-edit-grid .field-full {
        grid-column: auto;
    }

    .dash-deposit-order-row {
        flex-direction: column;
        align-items: stretch;
    }

    .dash-report-card {
        padding: 18px;
    }

    .dash-report-legend {
        margin-bottom: 16px;
    }

    .dash-report-graph-svg {
        height: 250px;
    }

    .dash-commission-members {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .dash-commission-copy h3 {
        font-size: 1.3rem;
        line-height: 1.5;
    }

    .dash-commission-ring-wrap {
        --commission-ring-size: 180px;
        --commission-ring-core-size: 96px;
    }

    .dash-commission-ring-center strong {
        font-size: 1.9rem;
    }

    .dash-commission-ring-center span {
        bottom: 12px;
        max-width: 96px;
        font-size: 0.78rem;
    }

    .gateway-row-card {
        grid-template-columns: 1fr;
        grid-template-areas:
            "merchant"
            "status"
            "total"
            "month"
            "average"
            "progress"
            "trend";
        padding: 18px;
    }

    .gateway-row-card-website {
        grid-template-areas:
            "site-status"
            "merchant"
            "total"
            "month"
            "average";
    }

    .gateway-row-metric,
    .gateway-row-status,
    .gateway-row-progress {
        justify-content: center;
        text-align: center;
    }

    .gateway-row-website-status {
        justify-content: center;
    }

    .gateway-row-trend svg {
        height: 54px;
    }

    .gateway-client-copy span,
    .gateway-row-metric span {
        white-space: normal;
    }

    .dash-footer {
        padding: 18px;
    }
}

@media (max-width: 480px) {
    .dash-user-panel {
        top: 72px;
        right: 10px;
        left: 10px;
        padding: 14px;
        border-radius: 22px;
        max-height: calc(100vh - 84px);
    }

    .dash-user-panel-head {
        gap: 10px;
    }

    .dash-user-panel-copy strong {
        font-size: 0.94rem;
    }

    .dash-user-panel-copy span {
        font-size: 0.8rem;
    }

    .dash-notify-panel {
        top: 72px;
        right: auto;
        left: 50%;
        width: min(348px, calc(100vw - 20px));
        max-width: calc(100vw - 20px);
        padding: 14px;
        border-radius: 22px;
        max-height: calc(100vh - 84px);
    }

    .dash-notify-head {
        gap: 10px;
    }

    .dash-notify-head strong {
        font-size: 0.95rem;
    }

    .dash-notify-head span {
        font-size: 0.8rem;
    }

    .dash-notify-list {
        max-height: calc(100vh - 164px);
    }

    .dash-sales-rep-card {
        grid-template-columns: minmax(0, 1fr) auto 6px;
    }

    .dash-sales-rep-dots {
        display: none;
    }

    .dash-report-graph-svg {
        height: 220px;
    }

    .dash-report-axis text {
        font-size: 9px;
    }

    .gateway-row-card {
        gap: 14px;
        padding: 16px;
    }

    .gateway-row-metric strong {
        font-size: 1.35rem;
    }

    .gateway-section-badge {
        width: 100%;
    }

    .gateway-section-action-btn {
        width: 100%;
    }
}

@media (max-width: 900px) {
    .dash-current-subscription-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1180px) {
    body.dashboard-subscription-only-page .dash-pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .dash-subscription-card {
        min-height: calc(100vh - 180px);
        gap: 24px;
        padding: 24px 14px;
        place-items: stretch;
    }

    .dash-subscription-stage,
    .dash-current-subscription,
    .dash-subscription-plans {
        width: 100%;
    }

    body.dashboard-subscription-only-page .dash-pricing-grid {
        grid-template-columns: 1fr;
    }

    .dash-subscription-stage-head {
        gap: 12px;
    }

    .dash-subscription-meter {
        width: min(280px, 82vw);
        justify-self: center;
    }

    .dash-subscription-meter-core {
        width: calc(100% - 28px);
        padding: 32px 24px;
    }

    .dash-subscription-meter-caption {
        font-size: 0.94rem;
        max-width: 14ch;
    }

    .dash-current-subscription {
        gap: 16px;
        padding: 22px 16px;
        border-radius: 24px;
    }

    .dash-current-subscription-description .dash-page-copy {
        max-width: 34ch;
        white-space: normal;
        line-height: 1.75;
    }

    .dash-current-subscription-btn {
        min-height: 78px;
    }

    .dash-subscription-plans-head,
    .dash-subscription-history-head {
        justify-items: stretch;
        text-align: center;
    }

    .dash-subscription-billing {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        border-radius: 26px;
        padding: 8px;
    }

    .dash-subscription-billing-btn {
        width: 100%;
        min-width: 0;
        min-height: 62px;
        padding: 12px 14px;
    }

    .dash-pricing-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .dash-pricing-card {
        gap: 18px;
        padding: 22px 18px;
        border-radius: 24px;
    }

    .dash-pricing-card-head,
    .dash-pricing-price,
    .dash-pricing-actions {
        justify-items: center;
        text-align: center;
    }

    .dash-pricing-copy h3 {
        font-size: 1.35rem;
    }

    .dash-pricing-copy p {
        line-height: 1.7;
    }

    .dash-pricing-discount {
        justify-content: center;
    }

    .dash-pricing-features {
        gap: 10px;
    }

    .dash-pricing-features li {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    .dash-subscription-history-wrap {
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .dash-subscription-history-table {
        min-width: 0;
    }

    .dash-subscription-history-table,
    .dash-subscription-history-table tbody,
    .dash-subscription-history-table tr,
    .dash-subscription-history-table td {
        display: block;
        width: 100%;
    }

    .dash-subscription-history-table thead {
        display: none;
    }

    .dash-subscription-history-table tbody {
        display: grid;
        gap: 14px;
    }

    .dash-subscription-history-table tbody td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 0;
        border: 0;
        white-space: normal;
        text-align: end;
    }

    .dash-subscription-history-table tbody tr {
        display: grid;
        gap: 12px;
        padding: 18px 16px;
        border-radius: 22px;
        border: 1px solid rgba(173, 185, 214, 0.24);
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 255, 0.95));
        box-shadow: 0 18px 32px rgba(132, 146, 178, 0.1);
    }

    .dash-subscription-history-table tbody td::before {
        content: attr(data-label);
        flex: 0 0 auto;
        color: #5d6a88;
        font-size: 0.84rem;
        font-weight: 800;
        text-align: start;
    }

    .dash-subscription-history-number {
        min-height: 34px;
        padding: 0 10px;
        font-size: 0.85rem;
    }

    body.dashboard-demo-page[data-user-theme="dark"] .dash-subscription-history-table tbody tr {
        border-color: rgba(82, 98, 130, 0.28);
        background: linear-gradient(180deg, rgba(12, 20, 35, 0.96), rgba(9, 15, 28, 0.98));
        box-shadow: 0 18px 34px rgba(2, 6, 23, 0.28);
    }

    body.dashboard-demo-page[data-user-theme="dark"] .dash-subscription-history-table tbody td::before {
        color: #9fb0cf;
    }
}

@media (max-width: 480px) {
    .dash-subscription-card {
        gap: 20px;
        padding: 20px 12px;
    }

    .dash-subscription-stage-head .dash-section-title,
    .dash-subscription-plans-head .dash-section-title,
    .dash-subscription-history-head .dash-section-title {
        font-size: 1.45rem;
    }

    .dash-subscription-meter {
        width: min(252px, 80vw);
    }

    .dash-subscription-meter-core {
        padding: 28px 20px;
    }

    .dash-subscription-meter-value {
        font-size: clamp(2.5rem, 13vw, 3.2rem);
    }

    .dash-subscription-meter-caption {
        font-size: 0.9rem;
        max-width: 15ch;
    }

    .dash-current-subscription,
    .dash-pricing-card {
        padding: 18px 14px;
        border-radius: 22px;
    }

    .dash-current-subscription-btn {
        min-height: 72px;
    }

    .dash-current-subscription-btn-copy {
        font-size: 0.92rem;
    }

    .dash-current-subscription-btn-price {
        font-size: 1rem;
    }

    .dash-subscription-billing-btn {
        min-height: 58px;
        padding: 10px 12px;
    }

    .dash-subscription-billing-btn-note {
        font-size: 0.68rem;
    }

    .dash-pricing-copy h3 {
        font-size: 1.22rem;
    }

    .dash-pricing-price strong {
        font-size: clamp(2.05rem, 11vw, 2.5rem);
    }

    .dash-pricing-features li {
        padding-inline-start: 24px;
        font-size: 0.92rem;
    }

    .dash-subscription-history-table tbody tr {
        padding: 16px 14px;
        border-radius: 18px;
    }

    .dash-subscription-history-table tbody td {
        gap: 10px;
        font-size: 0.92rem;
    }

    .dash-subscription-history-table tbody td::before {
        font-size: 0.8rem;
    }
}

@media (max-width: 380px) {
    .dash-current-subscription {
        padding: 22px 16px;
    }

    .dash-subscription-card {
        min-height: calc(100vh - 180px);
        gap: 24px;
        padding: 24px 14px;
    }

    .dash-subscription-meter {
        width: min(280px, 86vw);
    }

    .dash-subscription-meter-core {
        width: calc(100% - 28px);
        padding: 30px 22px;
    }

    .dash-subscription-meter-caption {
        font-size: 0.92rem;
    }

    .dash-user-panel {
        right: 8px;
        left: 8px;
        top: 68px;
        padding: 12px;
    }

    .dash-user-panel-head {
        align-items: flex-start;
    }

    .dash-notify-panel {
        right: auto;
        left: 50%;
        top: 68px;
        width: min(340px, calc(100vw - 16px));
        max-width: calc(100vw - 16px);
        padding: 12px;
    }

    .dash-notify-head {
        flex-wrap: wrap;
    }

    .dash-notify-head span {
        white-space: normal;
    }

    .dash-chip {
        display: none;
    }
}

@container (max-width: 1180px) {
    .dash-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dash-analytics-card {
        padding: 16px;
        gap: 10px;
    }

    .dash-analytics-icon {
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        border-radius: 16px;
    }

    .dash-analytics-icon svg {
        width: 40px;
        height: 40px;
    }

    .dash-analytics-copy strong {
        font-size: clamp(1.35rem, 1vw + 1rem, 1.85rem);
    }

    .dash-analytics-copy span {
        font-size: 0.92rem;
        line-height: 1.25;
        letter-spacing: 0.01em;
        white-space: normal;
        overflow-wrap: normal;
        word-break: normal;
    }

    .dash-analytics-card em {
        padding: 4px 8px;
        font-size: 0.64rem;
        letter-spacing: 0.06em;
    }
}

@container (max-width: 640px) {
    .dash-analytics-card {
        flex-wrap: wrap;
    }

    .dash-cards-grid {
        grid-template-columns: 1fr;
    }
}
