@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@600;700;800&display=swap");

* {
    box-sizing: border-box;
}

:root {
    --bg: #050814;
    --panel: rgba(255, 255, 255, 0.065);
    --panel-strong: rgba(255, 255, 255, 0.1);
    --line: rgba(255, 255, 255, 0.14);
    --text: #f7fbff;
    --muted: #aeb9d4;
    --accent: #6df7ff;
    --accent-2: #15e29a;
    --violet: #8a6dff;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
    --heading-font: Manrope, Inter, Arial, sans-serif;
}

:root[data-theme="light"] {
    --bg: #f5f8ff;
    --panel: rgba(10, 22, 42, 0.055);
    --panel-strong: rgba(10, 22, 42, 0.09);
    --line: rgba(10, 22, 42, 0.14);
    --text: #06111f;
    --muted: #5d6b83;
    --accent: #087dff;
    --accent-2: #00b881;
    --violet: #6b55ee;
    --shadow: 0 24px 70px rgba(31, 58, 94, 0.16);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: Inter, Arial, sans-serif;
    background:
        radial-gradient(circle at 18% 0%, rgba(109, 247, 255, 0.15), transparent 30rem),
        radial-gradient(circle at 86% 6%, rgba(138, 109, 255, 0.2), transparent 32rem),
        #050814;
}

:root[data-theme="light"] body {
    background:
        radial-gradient(circle at 18% 0%, rgba(8, 125, 255, 0.16), transparent 30rem),
        radial-gradient(circle at 86% 6%, rgba(107, 85, 238, 0.14), transparent 32rem),
        #f5f8ff;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    content: "";
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.033) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.033) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to bottom, black, transparent 82%);
}

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

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.nav {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(5, 8, 20, 0.76);
    backdrop-filter: blur(20px);
}

:root[data-theme="light"] .nav {
    background: rgba(245, 248, 255, 0.82);
}

.nav-inner {
    display: flex;
    min-height: 78px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--heading-font);
    font-size: 2rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.025em;
}

.brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    overflow: hidden;
    border-radius: 14px;
    color: #07111c;
    background: linear-gradient(135deg, var(--accent), var(--violet));
    box-shadow: 0 0 32px rgba(109, 247, 255, 0.28);
}

.brand-mark img {
    display: block;
    width: 42px !important;
    max-width: 42px !important;
    height: 42px !important;
    max-height: 42px !important;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

.nav-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045)),
        rgba(5, 8, 20, 0.38);
    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(18px) saturate(150%);
}

.button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: var(--text);
    font-weight: 900;
    background: rgba(255, 255, 255, 0.08);
}

.button-primary {
    border: 0;
    color: #031019;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

:root[data-theme="light"] .button-primary {
    color: #ffffff;
}

:root[data-theme="light"] .button-primary:hover {
    color: #ffffff;
}

:root[data-theme="light"] .nav-actions {
    border-color: rgba(10, 22, 42, 0.16);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(242, 247, 255, 0.78)),
        rgba(255, 255, 255, 0.84);
    box-shadow:
        0 18px 42px rgba(31, 58, 94, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.language-switch {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.language-switch a {
    display: inline-flex;
    min-width: 42px;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.03em;
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.language-switch a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.09);
}

.language-switch a.active {
    color: #031019;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 10px 22px rgba(109, 247, 255, 0.22);
    transform: translateY(-1px);
}

.theme-toggle {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 999px;
    color: var(--text);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 900;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05)),
        rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nav-icon-button {
    width: 46px;
    min-width: 46px;
    height: 46px;
    min-height: 46px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: var(--text);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.055)),
        rgba(255, 255, 255, 0.07);
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nav-icon-button svg,
.nav-icon-button img {
    display: block;
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.nav-icon-button svg {
    fill: currentColor;
}

.theme-img-dark,
:root[data-theme="light"] .theme-img-dark,
:root[data-theme="dark"] .theme-img-light {
    display: none;
}

:root[data-theme="light"] .theme-img-light,
:root[data-theme="dark"] .theme-img-dark {
    display: block;
}

.login-icon-button img {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 6px 12px rgba(109, 247, 255, 0.18));
}

.theme-toggle img {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 6px 12px rgba(21, 226, 154, 0.18));
}

.login-icon-button {
    color: var(--accent);
}

.login-icon-button.active {
    border-color: rgba(109, 247, 255, 0.34);
    background:
        linear-gradient(145deg, rgba(109, 247, 255, 0.2), rgba(138, 109, 255, 0.12)),
        rgba(109, 247, 255, 0.1);
    box-shadow:
        0 14px 30px rgba(109, 247, 255, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.theme-toggle {
    color: var(--accent-2);
}

.nav-icon-button:hover {
    color: var(--accent);
    border-color: rgba(109, 247, 255, 0.42);
    background:
        linear-gradient(145deg, rgba(109, 247, 255, 0.18), rgba(138, 109, 255, 0.12)),
        rgba(109, 247, 255, 0.08);
    box-shadow: 0 12px 26px rgba(109, 247, 255, 0.14);
    transform: translateY(-1px);
}

.theme-toggle:hover {
    color: var(--accent-2);
    border-color: rgba(21, 226, 154, 0.42);
    background:
        linear-gradient(145deg, rgba(21, 226, 154, 0.18), rgba(109, 247, 255, 0.1)),
        rgba(21, 226, 154, 0.08);
}

:root[data-theme="light"] .language-switch,
:root[data-theme="light"] .theme-toggle {
    border-color: rgba(10, 22, 42, 0.12);
    background: rgba(255, 255, 255, 0.72);
}

:root[data-theme="light"] .nav-icon-button {
    border-color: rgba(10, 22, 42, 0.18);
    background:
        linear-gradient(145deg, #ffffff, #edf4ff),
        rgba(255, 255, 255, 0.9);
    box-shadow:
        0 14px 34px rgba(31, 58, 94, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

:root[data-theme="light"] .login-icon-button {
    color: #087dff;
}

:root[data-theme="light"] .theme-toggle {
    color: #00a977;
}

:root[data-theme="light"] .login-icon-button.active {
    border-color: rgba(8, 125, 255, 0.34);
    background:
        linear-gradient(145deg, rgba(8, 125, 255, 0.16), rgba(107, 85, 238, 0.1)),
        #ffffff;
    box-shadow:
        0 16px 34px rgba(8, 125, 255, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

:root[data-theme="light"] .nav-icon-button:hover {
    border-color: rgba(8, 125, 255, 0.35);
    color: #087dff;
    background: #ffffff;
}

.page-hero {
    padding: 76px 0 44px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    font-family: var(--heading-font);
    max-width: 880px;
    margin-bottom: 22px;
    font-size: clamp(2.55rem, 5.4vw, 4.95rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.018em;
}

h2 {
    font-family: var(--heading-font);
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.014em;
}

.lead {
    max-width: 760px;
    color: var(--muted);
    font-size: 1.15rem;
    line-height: 1.75;
}

.section {
    padding: 48px 0;
}

.grid {
    display: grid;
    gap: 18px;
}

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

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

.card {
    position: relative;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background:
        linear-gradient(145deg, var(--panel-strong), rgba(255, 255, 255, 0.035)),
        radial-gradient(circle at 90% 15%, rgba(109, 247, 255, 0.12), transparent 14rem);
    box-shadow: var(--shadow);
    overflow: hidden;
}

:root[data-theme="light"] .card,
:root[data-theme="light"] .pricing-group,
:root[data-theme="light"] .faq-category,
:root[data-theme="light"] .auth-form,
:root[data-theme="light"] .contact-form,
:root[data-theme="light"] .admin-table-wrap {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.66)),
        radial-gradient(circle at 90% 15%, rgba(8, 125, 255, 0.08), transparent 14rem);
}

.card h3 {
    font-family: var(--heading-font);
    margin-bottom: 12px;
    font-size: 1.35rem;
    letter-spacing: -0.006em;
}

.card p,
.card li {
    color: var(--muted);
    line-height: 1.65;
}

.icon {
    display: grid;
    width: 58px;
    height: 58px;
    margin-bottom: 22px;
    place-items: center;
    border: 1px solid rgba(109, 247, 255, 0.25);
    border-radius: 20px;
    color: var(--accent);
    background: rgba(109, 247, 255, 0.08);
    transition: transform 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

:root[data-theme="light"] .icon {
    border-color: rgba(8, 125, 255, 0.18);
    color: #087dff;
    background:
        radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.48) 46%, transparent 70%),
        linear-gradient(145deg, rgba(8, 125, 255, 0.13), rgba(0, 184, 129, 0.09)),
        rgba(255, 255, 255, 0.86);
    box-shadow:
        0 16px 30px rgba(8, 125, 255, 0.13),
        0 8px 18px rgba(31, 58, 94, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

:root[data-theme="light"] .card:hover .icon {
    border-color: rgba(0, 184, 129, 0.28);
    color: #00a977;
    transform: translateY(-2px);
    box-shadow:
        0 20px 38px rgba(0, 184, 129, 0.15),
        0 10px 22px rgba(31, 58, 94, 0.09),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.icon svg {
    width: 29px;
    height: 29px;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.list {
    display: grid;
    gap: 10px;
    padding-left: 18px;
    margin-bottom: 0;
}

.price {
    font-family: var(--heading-font);
    margin: 18px 0 18px;
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.price span {
    color: var(--muted);
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: 0;
}

.pricing-stack {
    display: grid;
    gap: 0;
}

.pricing-group {
    position: relative;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 34px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.032)),
        radial-gradient(circle at 96% 0%, rgba(109, 247, 255, 0.12), transparent 18rem);
    box-shadow: var(--shadow);
}

.pricing-group + .pricing-group {
    margin-top: 74px;
}

.pricing-group + .pricing-group::before {
    position: absolute;
    top: -39px;
    left: 0;
    right: 0;
    height: 2px;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(109, 247, 255, 0.82), rgba(138, 109, 255, 0.72), transparent);
    box-shadow: 0 0 22px rgba(109, 247, 255, 0.34);
}

.pricing-group-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.pricing-group-head h2 {
    margin-bottom: 0;
}

.pricing-group-head p {
    max-width: 430px;
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.65;
}

.pricing-group .card {
    display: flex;
    flex-direction: column;
    box-shadow: none;
}

/* Акция Start: угловая лента, без изменения сетки карточек */
#remote-desktop-base.card {
    overflow: visible;
}

#remote-desktop-base h3 {
    padding-right: 6.8rem;
}

/* Бейдж «7 дней · бесплатный тест» — единая компактная фигура */
.pricing-trial-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    max-width: calc(100% - 20px);
    pointer-events: none;
    filter: drop-shadow(0 8px 16px rgba(8, 125, 255, 0.34));
}

.pricing-trial-badge-body {
    display: inline-flex;
    align-items: stretch;
    max-width: 100%;
    min-height: 34px;
    border-radius: 9px;
    overflow: hidden;
    background: linear-gradient(105deg, #087dff 0%, #1692eb 42%, #22d3ee 100%);
}

.pricing-trial-badge-label {
    display: flex;
    align-items: center;
    padding: 6px 9px 6px 10px;
    color: #fff;
    font-size: 0.54rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.2;
    white-space: nowrap;
}

.pricing-trial-badge-days {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 40px;
    min-width: 40px;
    padding: 4px 5px 4px 10px;
    flex-shrink: 0;
    background: #ffffff;
    clip-path: polygon(18% 0, 100% 0, 100% 100%, 18% 100%, 0 50%);
}

.pricing-trial-badge-num {
    font-family: var(--heading-font);
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: #087dff;
}

.pricing-trial-badge-line {
    display: block;
    width: 18px;
    height: 2px;
    margin: 2px 0;
    border-radius: 2px;
    background: #087dff;
}

.pricing-trial-badge-unit {
    font-size: 0.46rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1;
    color: #083d72;
}

:root[data-theme="light"] .pricing-trial-badge {
    filter: drop-shadow(0 8px 14px rgba(8, 125, 255, 0.22));
}

:root[data-theme="light"] .pricing-trial-badge-num {
    color: #0668c9;
}

@media (max-width: 520px) {
    .pricing-trial-badge {
        transform: scale(0.9);
        transform-origin: top right;
    }

    #remote-desktop-base h3 {
        padding-right: 6rem;
    }

    .pricing-trial-badge-label {
        font-size: 0.5rem;
        letter-spacing: 0.06em;
    }
}

.pricing-group .list {
    margin-bottom: 28px;
}

.pricing-group .button {
    width: 100%;
    min-height: 52px;
    margin-top: auto;
    border-radius: 18px;
    font-size: 0.95rem;
    box-shadow: 0 16px 34px rgba(21, 226, 154, 0.2);
}

.faq-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.faq-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
        rgba(5, 8, 20, 0.58);
    box-shadow: var(--shadow);
}

.faq-sidebar a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.045);
}

.faq-sidebar a:hover {
    color: #06111f;
    border-color: rgba(109, 247, 255, 0.7);
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.faq-content {
    display: grid;
    gap: 0;
}

.faq-category {
    position: relative;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background:
        linear-gradient(145deg, var(--panel-strong), rgba(255, 255, 255, 0.035)),
        radial-gradient(circle at 96% 0%, rgba(109, 247, 255, 0.14), transparent 16rem);
    box-shadow: var(--shadow);
}

.faq-category + .faq-category {
    margin-top: 76px;
}

.faq-category + .faq-category::before {
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    height: 2px;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(109, 247, 255, 0.82), rgba(138, 109, 255, 0.72), transparent);
    box-shadow: 0 0 22px rgba(109, 247, 255, 0.34);
}

.faq-category + .faq-category::after {
    position: absolute;
    top: -47px;
    left: 50%;
    width: 16px;
    height: 16px;
    border: 3px solid #050814;
    border-radius: 999px;
    content: "";
    background: var(--accent);
    box-shadow: 0 0 26px rgba(109, 247, 255, 0.62);
    transform: translateX(-50%);
}

.faq-category-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.faq-category-head .icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin-bottom: 0;
    border-radius: 16px;
}

.faq-category-head .icon svg {
    width: 23px;
    height: 23px;
}

.faq-category h2 {
    margin-bottom: 8px;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.faq-category p {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.65;
}

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

.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.045);
    overflow: hidden;
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    color: var(--text);
    cursor: pointer;
    font-weight: 900;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    display: inline-flex;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #06111f;
    content: "+";
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    background: var(--accent);
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-answer {
    padding: 8px 20px 22px;
    color: var(--muted);
    line-height: 1.7;
}

.faq-answer ul {
    display: grid;
    gap: 8px;
    padding-left: 18px;
    margin: 12px 0 0;
}

.contact-box {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 22px;
    align-items: start;
}

.auth-section {
    min-height: calc(100vh - 160px);
    display: grid;
    align-items: center;
    padding: 72px 0;
}

.auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
    gap: 28px;
    align-items: stretch;
}

.auth-card {
    padding: 34px;
}

.auth-card h1 {
    margin-bottom: 14px;
    font-size: clamp(2.4rem, 4vw, 4rem);
}

.auth-card .lead {
    margin-bottom: 0;
}

.auth-form {
    display: grid;
    gap: 16px;
    padding: 30px;
    border: 1px solid rgba(109, 247, 255, 0.18);
    border-radius: 30px;
    background:
        radial-gradient(circle at 100% 0%, rgba(109, 247, 255, 0.14), transparent 15rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
        rgba(5, 8, 20, 0.7);
    box-shadow: var(--shadow);
}

.auth-form h2 {
    margin-bottom: 4px;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.auth-actions {
    display: grid;
    gap: 12px;
    margin-top: 4px;
}

.auth-actions--stack,
.auth-actions--login {
    gap: 14px;
    margin-top: 10px;
}

.auth-actions--stack .button,
.auth-actions--login .button {
    width: 100%;
    min-height: 48px;
    border-radius: 999px;
    font-size: 0.98rem;
    letter-spacing: -0.01em;
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease,
        color 0.18s ease;
}

.auth-form .auth-action-primary,
.auth-form .button-primary.auth-action-primary,
.auth-actions--stack .button-primary,
.auth-actions--login .auth-action-primary {
    border: 0;
    color: #041017;
    background: linear-gradient(135deg, #67f4ff 0%, #2ee6b5 100%);
    box-shadow: 0 16px 34px rgba(46, 230, 181, 0.18);
}

.auth-form .auth-action-secondary,
.auth-actions--stack .auth-action-secondary,
.auth-actions--login .auth-action-secondary,
.auth-actions--login .auth-forgot-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #f7fbff;
    border-color: rgba(255, 255, 255, 0.18);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
        rgba(255, 255, 255, 0.04);
}

.auth-actions--stack .button-primary:hover,
.auth-actions--login .auth-action-primary:hover,
.auth-form .auth-action-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 38px rgba(46, 230, 181, 0.24);
}

.auth-actions--stack .auth-action-secondary:hover,
.auth-actions--login .auth-action-secondary:hover,
.auth-actions--login .auth-forgot-button:hover {
    color: #ffffff;
    border-color: rgba(109, 247, 255, 0.32);
    background:
        linear-gradient(135deg, rgba(109, 247, 255, 0.18), rgba(46, 230, 181, 0.08)),
        rgba(255, 255, 255, 0.06);
    box-shadow: 0 18px 38px rgba(46, 230, 181, 0.16);
    transform: translateY(-1px);
}

:root[data-theme="light"] .auth-form {
    border-color: rgba(10, 22, 42, 0.12);
    box-shadow: 0 22px 58px rgba(31, 58, 94, 0.14);
}

:root[data-theme="light"] .auth-form .auth-action-primary,
:root[data-theme="light"] .auth-form .button-primary.auth-action-primary,
:root[data-theme="light"] .auth-actions--stack .button-primary,
:root[data-theme="light"] .auth-actions--login .auth-action-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #0077ff 0%, #00b783 100%);
    box-shadow: 0 16px 34px rgba(0, 119, 255, 0.22);
}

:root[data-theme="light"] .auth-form .auth-action-primary:hover,
:root[data-theme="light"] .auth-actions--stack .button-primary:hover,
:root[data-theme="light"] .auth-actions--login .auth-action-primary:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #006eea 0%, #00a977 100%);
    box-shadow: 0 20px 42px rgba(0, 119, 255, 0.28);
}

:root[data-theme="light"] .auth-form .auth-action-secondary,
:root[data-theme="light"] .auth-actions--stack .auth-action-secondary,
:root[data-theme="light"] .auth-actions--login .auth-action-secondary,
:root[data-theme="light"] .auth-actions--login .auth-forgot-button {
    color: #08213f;
    border-color: rgba(10, 22, 42, 0.14);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(242, 247, 255, 0.88));
    box-shadow: 0 14px 34px rgba(28, 61, 102, 0.1);
}

:root[data-theme="light"] .auth-form .auth-action-secondary:hover,
:root[data-theme="light"] .auth-actions--stack .auth-action-secondary:hover,
:root[data-theme="light"] .auth-actions--login .auth-action-secondary:hover,
:root[data-theme="light"] .auth-actions--login .auth-forgot-button:hover {
    color: #0077ff;
    border-color: rgba(0, 119, 255, 0.38);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 38px rgba(0, 119, 255, 0.14);
}

.auth-step-lead {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

.auth-step-lead strong {
    color: var(--text);
    font-weight: 800;
}

.auth-otp-field {
    margin-top: 2px;
}

.auth-otp-input {
    text-align: center;
    font-size: clamp(1.6rem, 4vw, 2rem);
    font-weight: 800;
    letter-spacing: 0.42em;
    font-variant-numeric: tabular-nums;
    padding-left: 0.42em;
}

.auth-otp-input::placeholder {
    color: var(--muted);
    font-weight: 700;
    letter-spacing: 0.2em;
    opacity: 0.55;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:root[data-theme="light"] .auth-form .form-alert.success {
    border-color: rgba(0, 184, 129, 0.28);
    color: #0b5f45;
    background: rgba(0, 184, 129, 0.1);
}

:root[data-theme="light"] .auth-form .form-alert.error {
    border-color: rgba(220, 53, 69, 0.28);
    color: #8f1f2d;
    background: rgba(220, 53, 69, 0.08);
}

.auth-meta {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.6;
    text-align: center;
}

.auth-meta a {
    color: var(--accent);
    font-weight: 900;
}

.password-rules {
    display: grid;
    gap: 7px;
    padding: 14px 16px;
    border: 1px solid rgba(109, 247, 255, 0.16);
    border-radius: 18px;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.45;
    background: rgba(109, 247, 255, 0.055);
}

.password-rules strong {
    color: #dffbff;
}

.password-rules ul {
    display: grid;
    gap: 5px;
    padding-left: 18px;
    margin: 0;
}

.admin-table-wrap {
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.055);
    box-shadow: var(--shadow);
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.admin-table th,
.admin-table td {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    text-align: left;
}

.admin-table th {
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.admin-table td {
    color: var(--muted);
}

.admin-table tr:last-child td {
    border-bottom: 0;
}

.form {
    display: grid;
    gap: 14px;
}

.contact-form {
    position: relative;
    display: grid;
    gap: 18px;
    padding: 28px;
    border: 1px solid rgba(109, 247, 255, 0.18);
    border-radius: 32px;
    background:
        radial-gradient(circle at 100% 0%, rgba(109, 247, 255, 0.14), transparent 16rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
        rgba(5, 8, 20, 0.7);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
    overflow: hidden;
}

.contact-form::before {
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(109, 247, 255, 0.65), transparent);
}

:root[data-theme="light"] .contact-form {
    border-color: rgba(10, 22, 42, 0.13);
    background:
        radial-gradient(circle at 100% 0%, rgba(0, 184, 129, 0.12), transparent 16rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 255, 0.9));
    box-shadow:
        0 26px 62px rgba(31, 58, 94, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

:root[data-theme="light"] .contact-form::before {
    background: linear-gradient(90deg, transparent, rgba(8, 125, 255, 0.44), rgba(0, 184, 129, 0.38), transparent);
}

.form-heading,
.form-grid,
.form-footer {
    position: relative;
    z-index: 1;
}

.form-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.form-heading strong {
    display: block;
    font-family: var(--heading-font);
    font-size: 1.18rem;
}

.form-heading span {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.88rem;
}

.form-heading .form-badge {
    display: inline-flex;
    flex: 0 0 auto;
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    color: #02111a;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    background: linear-gradient(135deg, #f3feff, #63f6ff 48%, #25eaa7);
    box-shadow: 0 12px 30px rgba(109, 247, 255, 0.22);
}

:root[data-theme="light"] .form-heading .form-badge {
    border-color: rgba(0, 184, 129, 0.22);
    color: #ffffff;
    background: linear-gradient(135deg, #087dff 0%, #00b881 100%);
    box-shadow: 0 14px 28px rgba(0, 184, 129, 0.2);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.field {
    display: grid;
    gap: 8px;
}

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

.field label {
    color: #dce8ff;
    font-size: 0.86rem;
    font-weight: 800;
}

:is(.field label, .field-label) {
    color: #dce8ff;
    font-size: 0.86rem;
    font-weight: 800;
}

:root[data-theme="light"] .field label,
:root[data-theme="light"] .field-label,
:root[data-theme="light"] .service-option span {
    color: var(--text);
}

.field-hint {
    margin-top: -2px;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.4;
}

.field input,
.field textarea {
    width: 100%;
    min-height: 54px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    outline: none;
    color: var(--text);
    font: inherit;
    background: rgba(255, 255, 255, 0.075);
}

:root[data-theme="light"] .field input,
:root[data-theme="light"] .field textarea,
:root[data-theme="light"] .service-option span,
:root[data-theme="light"] .faq-item {
    border-color: rgba(10, 22, 42, 0.12);
    background: rgba(10, 22, 42, 0.055);
}

:root[data-theme="light"] .field input,
:root[data-theme="light"] .field textarea {
    border-color: rgba(10, 22, 42, 0.16);
    color: #06111f;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.92));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.98),
        0 10px 24px rgba(31, 58, 94, 0.07);
}

:root[data-theme="light"] .field input:focus,
:root[data-theme="light"] .field textarea:focus {
    border-color: rgba(8, 125, 255, 0.5);
    background: #ffffff;
    box-shadow:
        0 0 0 4px rgba(8, 125, 255, 0.12),
        0 14px 30px rgba(31, 58, 94, 0.1);
}

.field input:focus,
.field textarea:focus {
    border-color: rgba(109, 247, 255, 0.62);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 4px rgba(109, 247, 255, 0.1);
}

.account-type-toggle {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.account-type-option {
    position: relative;
    display: block;
    cursor: pointer;
}

.account-type-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.account-type-option span {
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    color: var(--text);
    font-weight: 900;
    background: rgba(255, 255, 255, 0.075);
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.account-type-option input:checked + span {
    border-color: rgba(109, 247, 255, 0.72);
    color: #031019;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.account-type-option input:focus-visible + span {
    box-shadow: 0 0 0 4px rgba(109, 247, 255, 0.1);
}

.account-type-option:hover span {
    border-color: rgba(109, 247, 255, 0.46);
    transform: translateY(-1px);
}

.telegram-code-field {
    gap: 10px;
}

.code-input-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 10px;
    align-items: stretch;
}

.code-input-wrap input {
    min-width: 0;
    padding-right: 16px;
}

.code-request-button {
    width: 100%;
    min-height: 54px;
    padding: 0 14px;
    border-radius: 18px;
    font-size: 0.84rem;
    letter-spacing: -0.01em;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
}

.code-request-button:hover {
    border-color: rgba(109, 247, 255, 0.5);
    background: rgba(109, 247, 255, 0.14);
}

@media (max-width: 360px) {
    .code-input-wrap {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .code-request-button {
        min-height: 48px;
    }
}

:root[data-theme="light"] .account-type-option span {
    border-color: rgba(10, 22, 42, 0.16);
    color: #06111f;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.92));
}

:root[data-theme="light"] .account-type-option input:checked + span {
    border-color: rgba(8, 125, 255, 0.5);
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent), var(--violet));
}

.service-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.service-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.service-option span {
    display: flex;
    min-height: 54px;
    align-items: center;
    gap: 10px;
    padding: 13px 15px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    color: #dce8ff;
    font-size: 0.92rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.055);
    cursor: pointer;
}

.service-option span::before {
    display: grid;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    place-items: center;
    border: 1px solid rgba(109, 247, 255, 0.28);
    border-radius: 999px;
    color: #06111f;
    font-size: 0.72rem;
    content: "";
    background: rgba(109, 247, 255, 0.06);
}

.service-option input:checked + span {
    border-color: rgba(109, 247, 255, 0.68);
    color: #06111f;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 14px 32px rgba(21, 226, 154, 0.18);
}

.service-option input:checked + span::before {
    border-color: rgba(6, 17, 31, 0.22);
    content: "✓";
    background: rgba(6, 17, 31, 0.12);
}

:root[data-theme="light"] .service-option span {
    border-color: rgba(10, 22, 42, 0.14);
    color: #24344c;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.9));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.96),
        0 10px 22px rgba(31, 58, 94, 0.06);
}

:root[data-theme="light"] .service-option span::before {
    border-color: rgba(8, 125, 255, 0.26);
    background: rgba(8, 125, 255, 0.08);
}

:root[data-theme="light"] .service-option span:hover {
    border-color: rgba(8, 125, 255, 0.32);
    color: #06111f;
    background: #ffffff;
    box-shadow:
        0 0 0 3px rgba(8, 125, 255, 0.08),
        0 14px 30px rgba(31, 58, 94, 0.1);
}

:root[data-theme="light"] .service-option input:checked + span {
    border-color: rgba(8, 125, 255, 0.46);
    color: #ffffff;
    background: linear-gradient(135deg, #087dff 0%, #00b881 100%);
    box-shadow:
        0 16px 34px rgba(8, 125, 255, 0.2),
        0 8px 20px rgba(0, 184, 129, 0.14);
}

:root[data-theme="light"] .service-option input:checked + span::before {
    border-color: rgba(255, 255, 255, 0.54);
    color: #06111f;
    background: rgba(255, 255, 255, 0.82);
}

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

.form-note {
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.5;
}

.form-alert {
    padding: 14px 16px;
    border-radius: 18px;
    font-weight: 800;
    line-height: 1.45;
}

.form-alert.success {
    border: 1px solid rgba(21, 226, 154, 0.35);
    color: #d9fff1;
    background: rgba(21, 226, 154, 0.12);
}

.form-alert.error {
    border: 1px solid rgba(255, 121, 121, 0.35);
    color: #ffe0e0;
    background: rgba(255, 121, 121, 0.1);
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.field textarea {
    min-height: 150px;
    padding: 16px;
    resize: vertical;
}

.site-footer {
    padding: 30px 0 48px;
    color: var(--muted);
}

.site-footer-shell {
    position: relative;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 34px;
    background:
        radial-gradient(circle at 0% 0%, rgba(109, 247, 255, 0.12), transparent 22rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.026));
    box-shadow: var(--shadow);
    overflow: hidden;
}

:root[data-theme="light"] .site-footer-shell {
    border-color: rgba(10, 22, 42, 0.13);
    background:
        radial-gradient(circle at 0% 0%, rgba(8, 125, 255, 0.12), transparent 22rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 255, 0.82));
    box-shadow: 0 22px 58px rgba(31, 58, 94, 0.14);
}

.site-footer-main {
    display: grid;
    grid-template-columns: minmax(280px, 1.45fr) repeat(2, minmax(170px, 0.8fr));
    gap: 30px;
}

.site-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.site-footer-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    overflow: hidden;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 0 28px rgba(109, 247, 255, 0.22);
}

.site-footer-mark img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.site-footer-brand p {
    max-width: 380px;
    margin: 18px 0;
    line-height: 1.7;
}

.site-footer-telegram {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    color: #ffffff;
    font-weight: 900;
    background: linear-gradient(135deg, #2aa8ea 0%, #0077c8 100%);
    box-shadow: 0 16px 34px rgba(0, 136, 204, 0.24);
}

.site-footer-telegram svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
}

.site-footer-column {
    display: grid;
    align-content: start;
    gap: 10px;
}

.site-footer-column h3 {
    margin: 0 0 8px;
    color: var(--text);
    font-family: var(--heading-font);
    font-size: 1rem;
}

.site-footer-column a,
.site-footer-column span {
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.45;
}

.site-footer-logo,
.site-footer-telegram,
.site-footer-column a {
    transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer-telegram:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(0, 136, 204, 0.32);
}

.site-footer-column a:hover {
    color: var(--accent);
    transform: translateX(3px);
}

.site-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--muted);
    font-size: 0.9rem;
}

.site-footer-bottom-start {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
}

.site-footer-legal-link {
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-footer-legal-link:hover {
    color: var(--accent);
}

:root[data-theme="light"] .site-footer-bottom {
    border-top-color: rgba(10, 22, 42, 0.1);
}

.legal-page .section {
    padding: 48px 0 72px;
}

.legal-document {
    max-width: 860px;
    margin: 0 auto;
    padding: 36px 40px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.legal-document__head h1 {
    margin: 10px 0 16px;
    font-family: var(--heading-font);
    font-size: clamp(2rem, 4vw, 2.6rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.legal-document__lead {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.legal-document__updated {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.legal-document__toc {
    margin: 28px 0 10px;
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
}

.legal-document__toc ol {
    margin: 0;
    padding-left: 20px;
    display: grid;
    gap: 8px;
}

.legal-document__toc a {
    color: var(--muted);
    font-size: 0.95rem;
}

.legal-document__toc a:hover {
    color: var(--accent);
}

.legal-section {
    padding-top: 28px;
    margin-top: 28px;
    border-top: 1px solid var(--line);
}

.legal-section h2 {
    margin: 0 0 14px;
    font-family: var(--heading-font);
    font-size: 1.25rem;
    line-height: 1.35;
}

.legal-section p,
.legal-section li {
    color: var(--muted);
    line-height: 1.75;
}

.legal-section p {
    margin: 0 0 12px;
}

.legal-section ul {
    margin: 0 0 12px;
    padding-left: 22px;
}

.legal-section li + li {
    margin-top: 8px;
}

.dashboard-page {
    min-height: 100vh;
    color: #111827;
    background:
        radial-gradient(circle at 18% 0%, rgba(124, 58, 237, 0.13), transparent 28rem),
        radial-gradient(circle at 82% 6%, rgba(8, 125, 255, 0.12), transparent 30rem),
        #f5f6fb;
}

.dashboard-page::before {
    display: none;
}

.dashboard-shell {
    display: grid;
    min-height: 100vh;
    grid-template-columns: 252px minmax(0, 1fr);
}

.dashboard-sidebar {
    position: sticky;
    top: 0;
    display: flex;
    height: 100vh;
    flex-direction: column;
    gap: 22px;
    padding: 24px 18px;
    border-right: 1px solid rgba(226, 232, 240, 0.86);
    background:
        radial-gradient(circle at 0% 0%, rgba(59, 130, 246, 0.07), transparent 13rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.92));
    box-shadow: 16px 0 44px rgba(15, 23, 42, 0.07);
    backdrop-filter: blur(20px);
}

.dashboard-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 2px 8px 8px;
    color: #111827;
    font-family: var(--heading-font);
    font-size: 1.28rem;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.dashboard-brand-mark {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    overflow: hidden;
    border-radius: 14px;
    background: linear-gradient(135deg, #111827, #7c3aed);
    box-shadow: 0 14px 28px rgba(124, 58, 237, 0.2);
}

.dashboard-brand-mark img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.dashboard-menu {
    display: grid;
    gap: 8px;
    padding: 6px 0;
}

.dashboard-menu a {
    position: relative;
    display: flex;
    min-height: 52px;
    align-items: center;
    gap: 12px;
    padding: 0 15px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.04);
    border-radius: 16px;
    color: #5f6b80;
    font-size: 1.08rem;
    font-weight: 900;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition:
        border-color 0.18s ease,
        color 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

.dashboard-menu a span {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    flex-shrink: 0;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 12px;
    color: #2563eb;
    background:
        radial-gradient(circle at 100% 0%, rgba(56, 189, 248, 0.18), transparent 1.8rem),
        #eef6ff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.dashboard-menu a span.menu-icon::before {
    width: 17px;
    height: 17px;
    background: currentColor;
    content: "";
    mask: var(--menu-icon) center / contain no-repeat;
    -webkit-mask: var(--menu-icon) center / contain no-repeat;
}

.menu-icon-home {
    --menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 11.2 12 3l9 8.2v8.3A1.5 1.5 0 0 1 19.5 21h-4A1.5 1.5 0 0 1 14 19.5V15h-4v4.5A1.5 1.5 0 0 1 8.5 21h-4A1.5 1.5 0 0 1 3 19.5v-8.3Z'/%3E%3C/svg%3E");
}

.menu-icon-profile {
    --menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Zm0 2c-4.1 0-7.5 2.2-7.5 5v.5A1.5 1.5 0 0 0 6 21h12a1.5 1.5 0 0 0 1.5-1.5V19c0-2.8-3.4-5-7.5-5Z'/%3E%3C/svg%3E");
}

.menu-icon-security {
    --menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2 5 5v6c0 4.8 2.9 9.2 7 11 4.1-1.8 7-6.2 7-11V5l-7-3Zm0 5.5a2.5 2.5 0 0 1 1 4.8V16h-2v-3.7a2.5 2.5 0 0 1 1-4.8Z'/%3E%3C/svg%3E");
}

.menu-icon-notifications {
    --menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 22a2.5 2.5 0 0 0 2.45-2h-4.9A2.5 2.5 0 0 0 12 22Zm7-6v-5a7 7 0 0 0-5-6.7V3a2 2 0 1 0-4 0v1.3A7 7 0 0 0 5 11v5l-2 2v1h18v-1l-2-2Z'/%3E%3C/svg%3E");
}

.menu-icon-billing {
    --menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M5 3h14a1 1 0 0 1 1 1v17l-3-1.5-3 1.5-3-1.5L8 21l-3-1.5L2 21V4a1 1 0 0 1 1-1h2Zm3 5v2h8V8H8Zm0 4v2h8v-2H8Zm0 4v2h5v-2H8Z'/%3E%3C/svg%3E");
}

.menu-icon-pricing {
    --menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h7.5L21 13.5 13.5 21 4 11.5V4Zm4 3a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Z'/%3E%3C/svg%3E");
}

.menu-icon-remote {
    --menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-6v2h3v2H7v-2h3v-2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Zm0 2v10h16V6H4Z'/%3E%3C/svg%3E");
}

.menu-icon-websites {
    --menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Zm0 5v9h16V9H4Zm2-3v1h2V6H6Zm4 0v1h2V6h-2Z'/%3E%3C/svg%3E");
}

.menu-icon-email {
    --menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 5h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2Zm0 3.2V17h16V8.2l-8 5.3-8-5.3Zm1.6-1.2 6.4 4.2L18.4 7H5.6Z'/%3E%3C/svg%3E");
}

.menu-icon-crm {
    --menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2Zm2 4v3h3V7H7Zm5 0v2h5V7h-5Zm0 4v2h5v-2h-5Zm-5 2v3h3v-3H7Zm5 2v2h5v-2h-5Z'/%3E%3C/svg%3E");
}

.menu-icon-vpn {
    --menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a7 7 0 0 1 7 7v3h1a1 1 0 0 1 1 1v8H3v-8a1 1 0 0 1 1-1h1V9a7 7 0 0 1 7-7Zm0 2a5 5 0 0 0-5 5v3h10V9a5 5 0 0 0-5-5Zm-1 12v3h2v-3h-2Z'/%3E%3C/svg%3E");
}

.menu-icon-requests {
    --menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2 14.3 8l6.2 2.2-6.2 2.3L12 19l-2.3-6.5-6.2-2.3L9.7 8 12 2Z'/%3E%3C/svg%3E");
}

.menu-icon-projects {
    --menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h7v7H4V4Zm9 0h7v7h-7V4ZM4 13h7v7H4v-7Zm9 0h7v7h-7v-7Z'/%3E%3C/svg%3E");
}

.menu-icon-infrastructure {
    --menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M5 3h14a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2Zm0 10h14a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2Zm2-7v2h2V6H7Zm0 10v2h2v-2H7Z'/%3E%3C/svg%3E");
}

.menu-icon-admin {
    --menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19.4 13.5a7.8 7.8 0 0 0 0-3l2-1.5-2-3.5-2.4 1a8 8 0 0 0-2.6-1.5L14 2h-4l-.4 3A8 8 0 0 0 7 6.5l-2.4-1-2 3.5 2 1.5a7.8 7.8 0 0 0 0 3l-2 1.5 2 3.5 2.4-1a8 8 0 0 0 2.6 1.5l.4 3h4l.4-3a8 8 0 0 0 2.6-1.5l2.4 1 2-3.5-2-1.5ZM12 15.5A3.5 3.5 0 1 1 12 8a3.5 3.5 0 0 1 0 7.5Z'/%3E%3C/svg%3E");
}

.menu-icon-clients {
    --menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M8.5 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm7 0a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7ZM2 20.5C2 16.9 4.9 14 8.5 14S15 16.9 15 20.5V21H2v-.5Zm13.4.5H22v-.4c0-3-2.3-5.6-5.3-6.1a7.6 7.6 0 0 0-2.7.3 8.5 8.5 0 0 1 1.4 4.7V21Z'/%3E%3C/svg%3E");
}

.menu-icon-servers {
    --menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M5 3h14a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2Zm1 3v2h2V6H6Zm4 0v2h8V6h-8ZM5 13h14a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2Zm1 3v2h2v-2H6Zm4 0v2h8v-2h-8Z'/%3E%3C/svg%3E");
}

.dashboard-menu a:hover,
.dashboard-menu a.active {
    border-color: rgba(15, 23, 42, 0.08);
    color: #0f172a;
    background:
        radial-gradient(circle at 100% 0%, rgba(56, 189, 248, 0.10), transparent 7rem),
        #ffffff;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
    transform: translateX(2px);
}

.dashboard-menu a.active {
    border-color: rgba(30, 41, 59, 0.18);
    color: #ffffff;
    background:
        radial-gradient(circle at 100% 0%, rgba(56, 189, 248, 0.18), transparent 7rem),
        linear-gradient(145deg, #172033, #213b55);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.14);
}

.dashboard-menu a.active span {
    border-color: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.13);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.dashboard-menu a:not(.active):hover span {
    color: #0ea5e9;
    background: #e0f2fe;
}

.dashboard-sidebar-card {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 12px;
    margin-top: auto;
    padding: 16px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 24px;
    background:
        radial-gradient(circle at 100% 0%, rgba(56, 189, 248, 0.24), transparent 8rem),
        radial-gradient(circle at 0% 100%, rgba(124, 58, 237, 0.20), transparent 8rem),
        linear-gradient(145deg, #111827, #1e293b);
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.18);
}

.dashboard-sidebar-card h2,
.dashboard-panel h2 {
    margin: 6px 0 8px;
    color: #111827;
    font-family: var(--heading-font);
    font-size: 1.15rem;
    letter-spacing: -0.02em;
}

.dashboard-sidebar-card h2 {
    margin: 0;
    color: #ffffff;
    font-size: 1.08rem;
    line-height: 1.15;
}

.dashboard-support-status {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 7px;
    padding: 6px 9px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 999px;
    color: #cbd5e1;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.07);
}

.dashboard-support-status i {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.16);
}

.dashboard-sidebar-card a,
.dashboard-primary-button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 900;
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    box-shadow: 0 14px 30px rgba(79, 70, 229, 0.22);
}

.dashboard-sidebar-card a {
    width: 100%;
    gap: 10px;
    border: 1px solid rgba(56, 189, 248, 0.24);
    color: #ffffff;
    text-decoration: none;
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.28);
}

.dashboard-sidebar-card a svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.dashboard-sidebar-card a:hover {
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.36);
    transform: translateY(-1px);
}

.dashboard-chip,
.dashboard-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: #7c3aed;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.dashboard-workspace {
    min-width: 0;
}

.dashboard-impersonation-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 18px;
    padding: 10px 30px;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
    background: linear-gradient(135deg, #7c2d12 0%, #c2410c 55%, #ea580c 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.dashboard-impersonation-banner strong {
    color: #ffffff;
}

.dashboard-impersonation-banner__exit {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 0 14px;
    border-radius: 999px;
    color: #7c2d12;
    font-weight: 800;
    text-decoration: none;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.dashboard-impersonation-banner__exit:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.dashboard-topbar {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    min-height: 78px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 30px;
    border-bottom: 1px solid rgba(229, 231, 240, 0.86);
    background: rgba(245, 246, 251, 0.82);
    backdrop-filter: blur(18px);
}

.dashboard-search {
    position: relative;
    display: flex;
    width: min(560px, 100%);
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid #e3e6f0;
    border-radius: 16px;
    color: #8b93a7;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(31, 41, 55, 0.06);
}

.dashboard-search input {
    width: 100%;
    border: 0;
    outline: 0;
    color: #111827;
    font: inherit;
    font-size: 0.95rem;
    background: transparent;
}

.dashboard-search-suggestions {
    position: absolute;
    z-index: 200;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: grid;
    gap: 6px;
    min-width: min(640px, calc(100vw - 32px));
    max-height: min(430px, calc(100vh - 130px));
    overflow: auto;
    padding: 8px;
    border: 1px solid rgba(226, 232, 240, 0.96);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow:
        0 24px 58px rgba(15, 23, 42, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.dashboard-search-suggestions[hidden] {
    display: none !important;
}

.dashboard-search-suggestion,
.dashboard-search-suggestions__empty {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 14px;
    align-items: flex-start;
    padding: 13px 14px;
    border-radius: 14px;
}

.dashboard-search-suggestion {
    color: inherit;
    text-decoration: none;
}

.dashboard-search-suggestion:hover,
.dashboard-search-suggestion.is-active {
    background: #f7f5ff;
}

.dashboard-search-suggestion span {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.dashboard-search-suggestion strong {
    color: #111827;
    font-size: 0.96rem;
    font-weight: 900;
    line-height: 1.15;
}

.dashboard-search-suggestion small {
    color: #667085;
    font-size: 0.82rem;
    font-weight: 650;
    line-height: 1.4;
}

.dashboard-search-suggestion em {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    color: #4338ca;
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 900;
    white-space: nowrap;
    background: #eef2ff;
}

.dashboard-search-suggestion--all {
    margin-top: 4px;
    border-top: 1px solid #eef1f7;
    border-radius: 0 0 14px 14px;
}

.dashboard-search-suggestions__empty {
    grid-template-columns: 1fr;
    color: #667085;
    font-size: 0.9rem;
    font-weight: 800;
}

.dashboard-topbar-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.dashboard-outline-button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 15px;
    border: 1px solid #dddff0;
    border-radius: 999px;
    color: #4f46e5;
    font-size: 0.88rem;
    font-weight: 900;
    background: #ffffff;
}

.dashboard-outline-button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dashboard-avatar {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 999px;
    color: #ffffff;
    font-weight: 900;
    background: linear-gradient(135deg, #111827, #7c3aed);
    box-shadow: 0 14px 28px rgba(17, 24, 39, 0.16);
}

.dashboard-user-menu {
    position: relative;
}

.dashboard-user-menu summary {
    list-style: none;
    cursor: pointer;
}

.dashboard-user-menu summary::-webkit-details-marker {
    display: none;
}

.dashboard-user-menu[open] .dashboard-avatar {
    box-shadow:
        0 0 0 4px rgba(124, 58, 237, 0.13),
        0 16px 32px rgba(17, 24, 39, 0.18);
}

.dashboard-user-dropdown {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    z-index: 20;
    width: 300px;
    padding: 14px 10px;
    border: 1px solid #e4e7f0;
    border-radius: 18px;
    background: #ffffff;
    box-shadow:
        0 24px 70px rgba(31, 41, 55, 0.18),
        0 8px 24px rgba(31, 41, 55, 0.08);
}

.dashboard-user-dropdown::before {
    position: absolute;
    top: -7px;
    right: 20px;
    width: 14px;
    height: 14px;
    border-top: 1px solid #e4e7f0;
    border-left: 1px solid #e4e7f0;
    content: "";
    background: #ffffff;
    transform: rotate(45deg);
}

.dashboard-user-dropdown-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 6px 10px 12px;
    border-bottom: 1px solid #edf0f7;
}

.dashboard-user-dropdown-head div {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.dashboard-user-dropdown-head strong {
    color: #111827;
    font-size: 1rem;
}

.dashboard-user-dropdown-head span {
    color: #667085;
    font-size: 0.9rem;
}

.dashboard-user-dropdown-head b {
    flex: 0 0 auto;
    padding: 10px 16px;
    border-radius: 999px;
    color: #4f46e5;
    font-size: 1.35rem;
    line-height: 1;
    background: #f1edff;
}

.dashboard-user-dropdown-list {
    display: grid;
    padding-top: 8px;
}

.dashboard-user-dropdown-list > a {
    display: grid;
    min-height: 46px;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    border-radius: 12px;
    color: #111827;
    font-size: 0.94rem;
    font-weight: 700;
}

.dashboard-language-row {
    display: grid;
    min-height: 46px;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    border-radius: 12px;
    color: #111827;
    border: 0;
    font-size: 0.94rem;
    font-weight: 700;
    font-family: inherit;
    text-align: left;
    background: transparent;
    cursor: pointer;
}

.dashboard-language-row:hover {
    color: #4f46e5;
    background: #f7f5ff;
}

.dashboard-user-dropdown-list > a:last-child {
    margin-top: 8px;
    border-top: 1px solid #edf0f7;
    border-radius: 0;
}

.dashboard-user-dropdown-list > a:last-child {
    padding-top: 8px;
}

.dashboard-user-dropdown-list > a:hover {
    color: #4f46e5;
    background: #f7f5ff;
}

.dashboard-user-dropdown-list svg,
.dashboard-language-row > svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: #606776;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dashboard-user-dropdown-list > a:hover svg {
    stroke: #4f46e5;
}

.dashboard-user-dropdown-list em,
.dashboard-language-row em {
    color: #606776;
    font-style: normal;
    font-weight: 700;
}

.dashboard-language-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 50;
    visibility: hidden;
    background: rgba(17, 24, 39, 0.52);
    opacity: 0;
    transition: opacity 0.18s ease, visibility 0.18s ease;
}

.dashboard-language-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 51;
    visibility: hidden;
    width: min(800px, calc(100% - 36px));
    padding: 36px 40px 42px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 34px 100px rgba(17, 24, 39, 0.28);
    opacity: 0;
    transform: translate(-50%, -46%) scale(0.98);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.dashboard-language-modal-open .dashboard-language-modal,
.dashboard-language-modal-open .dashboard-language-modal-backdrop {
    visibility: visible;
    opacity: 1;
}

.dashboard-language-modal-open .dashboard-language-modal {
    transform: translate(-50%, -50%) scale(1);
}

.dashboard-language-modal-close {
    position: absolute;
    top: 22px;
    right: 26px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    color: #667085;
    font: inherit;
    font-size: 1.7rem;
    line-height: 1;
    background: transparent;
    cursor: pointer;
}

.dashboard-language-modal-close:hover {
    color: #111827;
    background: #f3f4f8;
}

.dashboard-language-modal h2 {
    margin: 0 0 14px;
    color: #171923;
    font-family: Inter, Arial, sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
}

.dashboard-language-modal p {
    margin: 0 0 26px;
    color: #667085;
    font-size: 0.95rem;
}

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

.dashboard-language-modal-grid a {
    display: flex;
    min-height: 48px;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    border-radius: 8px;
    color: #4b5565;
}

.dashboard-language-modal-grid a:hover,
.dashboard-language-modal-grid a.active {
    color: #6d3df5;
    background: #f1edff;
}

.dashboard-language-modal-grid strong {
    color: inherit;
    font-size: 0.94rem;
    font-weight: 700;
}

.dashboard-language-modal-grid span {
    color: #9aa3b5;
    font-size: 0.82rem;
}

.dashboard-avatar-large {
    width: 58px;
    height: 58px;
    font-size: 1.2rem;
}

.dashboard-avatar svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #ffffff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dashboard-avatar-large svg {
    width: 27px;
    height: 27px;
}

.dashboard-main {
    display: grid;
    gap: 22px;
    padding: 28px 30px 44px;
}

.dashboard-hero-card,
.dashboard-panel,
.dashboard-stats-grid article {
    border: 1px solid #e4e7f0;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 20px 50px rgba(31, 41, 55, 0.08);
}

.dashboard-hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 28px;
    background:
        radial-gradient(circle at 90% 0%, rgba(124, 58, 237, 0.16), transparent 18rem),
        linear-gradient(145deg, #ffffff, #f7f8ff);
}

.dashboard-hero-card h1 {
    max-width: none;
    margin: 8px 0 10px;
    color: #111827;
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.dashboard-hero-card p {
    max-width: 680px;
    margin-bottom: 0;
    color: #667085;
    font-size: 1rem;
    line-height: 1.7;
}

.dashboard-profile-card {
    display: grid;
    min-width: 210px;
    justify-items: center;
    gap: 8px;
    padding: 22px;
    border: 1px solid #e4e7f0;
    border-radius: 24px;
    background: #ffffff;
}

.dashboard-profile-card strong {
    color: #111827;
}

.dashboard-profile-card span:last-child {
    color: #667085;
    font-size: 0.9rem;
}

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

.dashboard-stats-grid article {
    padding: 20px;
}

.dashboard-stats-grid span,
.dashboard-stats-grid p {
    color: #667085;
    font-size: 0.9rem;
}

.dashboard-stats-grid strong {
    display: block;
    margin: 10px 0 6px;
    color: #111827;
    font-family: var(--heading-font);
    font-size: 1.8rem;
    letter-spacing: -0.03em;
}

.dashboard-stats-grid p {
    margin: 0;
    line-height: 1.45;
}

.dashboard-stats-grid .dashboard-ad-card {
    position: relative;
    display: flex;
    min-height: 156px;
    align-items: stretch;
    justify-content: space-between;
    gap: 18px;
    overflow: hidden;
    padding: 22px;
    border: 0;
    color: #ffffff;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.22), transparent 9rem),
        radial-gradient(circle at 0% 100%, rgba(21, 226, 154, 0.2), transparent 8rem),
        linear-gradient(135deg, #111827 0%, #4f46e5 58%, #7c3aed 100%);
    box-shadow: 0 24px 55px rgba(79, 70, 229, 0.24);
}

.dashboard-stats-grid .dashboard-ad-card-vpn {
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.24), transparent 9rem),
        radial-gradient(circle at 0% 100%, rgba(109, 247, 255, 0.18), transparent 8rem),
        linear-gradient(135deg, #05233b 0%, #087dff 58%, #15e29a 100%);
    box-shadow: 0 24px 55px rgba(8, 125, 255, 0.22);
}

.dashboard-ad-copy {
    position: relative;
    z-index: 1;
    display: grid;
    max-width: 260px;
    align-content: start;
    gap: 8px;
}

.dashboard-stats-grid .dashboard-ad-card span {
    display: inline-flex;
    width: fit-content;
    min-height: 26px;
    align-items: center;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.12);
}

.dashboard-stats-grid .dashboard-ad-card strong {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    line-height: 1.12;
}

.dashboard-stats-grid .dashboard-ad-card p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.88rem;
}

.dashboard-stats-grid .dashboard-ad-card a {
    display: inline-flex;
    width: fit-content;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    padding: 0 15px;
    border-radius: 999px;
    color: #07111f;
    font-size: 0.82rem;
    font-weight: 900;
    background: #ffffff;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

.dashboard-stats-grid .dashboard-ad-card-vpn a {
    color: #05233b;
    background: #ffffff;
}

.dashboard-stats-grid .dashboard-ad-card i {
    position: relative;
    z-index: 1;
    display: grid;
    width: 74px;
    height: 74px;
    flex: 0 0 auto;
    place-items: center;
    align-self: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 24px;
    color: rgba(255, 255, 255, 0.92);
    font-style: normal;
    font-weight: 900;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
}

.dashboard-stats-grid .dashboard-ad-card::after {
    position: absolute;
    right: -34px;
    bottom: -44px;
    width: 130px;
    height: 130px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    content: "";
}

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

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

.dashboard-panel {
    padding: 22px;
}

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

.dashboard-panel-head a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 0 14px;
    border-radius: 999px;
    color: #4f46e5;
    font-size: 0.84rem;
    font-weight: 900;
    background: #f1edff;
}

.dashboard-warning {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding: 14px 16px;
    border: 1px solid #f6dfb3;
    border-radius: 18px;
    color: #7c4a03;
    background: #fff6df;
}

.dashboard-warning span {
    display: grid;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    place-items: center;
    border-radius: 999px;
    color: #8a5a00;
    font-weight: 900;
    background: #ffe6a3;
}

.dashboard-warning p {
    margin: 0;
    color: inherit;
    line-height: 1.5;
}

.dashboard-service-list,
.dashboard-action-list,
.dashboard-profile-list {
    display: grid;
    gap: 12px;
}

.dashboard-service-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 16px;
    border: 1px solid #edf0f7;
    border-radius: 20px;
    background: #fbfcff;
}

.dashboard-service-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 15px;
    color: #4f46e5;
    font-size: 0.72rem;
    font-weight: 900;
    background: #ede9fe;
}

.dashboard-service-row strong {
    color: #111827;
}

.dashboard-service-row p {
    margin: 4px 0 0;
    color: #667085;
    line-height: 1.45;
}

.dashboard-service-row a {
    color: #4f46e5;
    font-size: 0.86rem;
    font-weight: 900;
}

.dashboard-profile-list {
    margin: 0;
}

.dashboard-profile-list div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #eef0f6;
}

.dashboard-profile-list div:last-child {
    border-bottom: 0;
}

.dashboard-profile-list dt {
    color: #667085;
    font-weight: 800;
}

.dashboard-profile-list dd {
    margin: 0;
    color: #111827;
    font-weight: 900;
    text-align: right;
}

.dashboard-action-list a {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    border: 1px solid #edf0f7;
    border-radius: 16px;
    color: #111827;
    font-weight: 900;
    background: #fbfcff;
}

.dashboard-action-list a::after {
    color: #9aa3b5;
    content: "→";
}

.account-page {
    width: min(940px, calc(100% - 40px));
    margin: 0 auto;
    padding: 34px 0 64px;
}

.account-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    color: #737b8c;
    font-size: 0.86rem;
    font-weight: 600;
}

.account-breadcrumbs a,
.account-breadcrumbs strong {
    color: #111827;
}

.account-breadcrumbs strong {
    font-weight: 700;
}

.account-breadcrumbs svg {
    display: block;
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.account-page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.account-page-head h1 {
    margin: 0;
    color: #111827;
    font-size: clamp(1.65rem, 3vw, 2.1rem);
    font-weight: 700;
}

.account-card {
    margin-top: 18px;
    overflow: hidden;
    border: 1px solid #dedfea;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 16px 36px rgba(31, 41, 55, 0.06);
}

.account-card-head {
    display: flex;
    min-height: 56px;
    align-items: center;
    gap: 10px;
    padding: 0 20px;
    border-bottom: 1px solid #e7e9f0;
}

.account-card-head svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: #7c3aed;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.account-card-head h2 {
    margin: 0;
    color: #111827;
    font-family: Inter, Arial, sans-serif;
    font-size: 1rem;
    font-weight: 900;
}

.account-card-note {
    margin: 0;
    padding: 18px 20px;
    border-bottom: 1px solid #eceef4;
    color: #737b8c;
    font-size: 0.86rem;
}

.account-info-list {
    display: grid;
}

.account-info-list a,
.account-info-list div,
.account-info-list label,
.account-edit-trigger {
    display: grid;
    min-height: 48px;
    grid-template-columns: minmax(160px, 1fr) minmax(220px, 1fr) 24px;
    align-items: center;
    gap: 14px;
    padding: 0 20px;
    border-bottom: 1px solid #eceef4;
    color: #111827;
}

.account-info-list div,
.account-info-list label,
.account-edit-trigger {
    grid-template-columns: minmax(160px, 1fr) minmax(220px, 1fr) 24px;
}

.account-info-list a:last-child,
.account-info-list div:last-child,
.account-info-list label:last-child {
    border-bottom: 0;
}

.account-info-list a:hover {
    background: #f8f7ff;
}

.account-edit-trigger {
    width: 100%;
    border-top: 0;
    border-right: 0;
    border-left: 0;
    font: inherit;
    text-align: left;
    background: transparent;
    cursor: pointer;
}

.account-edit-trigger:hover {
    background: #f8f7ff;
}

.account-info-list span {
    color: #5f6878;
    font-size: 0.88rem;
}

.account-info-list strong {
    display: inline-flex;
    align-items: center;
    color: #4b5565;
    font-size: 0.88rem;
    font-weight: 700;
}

.account-edit-list input {
    width: 100%;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 10px;
    outline: none;
    color: #4b5565;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    background: transparent;
}

.account-edit-list input:hover,
.account-edit-list input:focus {
    border-color: #dddff0;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.08);
}

.account-form-actions {
    display: flex !important;
    min-height: auto !important;
    justify-content: flex-end;
    padding: 14px 20px !important;
    background: #fbfcff;
}

.account-password-form {
    border-top: 1px solid #eceef4;
}

.account-alert {
    position: fixed;
    top: 92px;
    right: 22px;
    z-index: 2200;
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0 18px;
    border-radius: 18px;
    color: #0f172a;
    font-size: 0.92rem;
    font-weight: 900;
    line-height: 1;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(18px);
    animation:
        nexora-toast-in 0.28s ease-out both,
        nexora-toast-out 0.26s ease-in 3s forwards;
}

.account-alert.form-alert {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.94);
}

.account-alert::before {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    flex-shrink: 0;
    border-radius: 10px;
    color: #ffffff;
    font-size: 1rem;
}

.account-alert.success {
    border: 1px solid rgba(16, 185, 129, 0.22);
}

.account-alert.success::before {
    content: '✓';
    background: linear-gradient(135deg, #10b981, #059669);
}

.account-alert.error {
    border: 1px solid rgba(239, 68, 68, 0.22);
}

.account-alert.error::before {
    content: '!';
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.account-info-list em {
    color: #6d55c8;
    font-style: normal;
    font-size: 1.35rem;
    line-height: 1;
    text-align: right;
}

.account-status-dot {
    position: relative;
    display: inline-grid;
    width: 18px;
    height: 18px;
    place-items: center;
    margin-right: 8px;
    border-radius: 999px;
    flex: 0 0 18px;
    background: #11966f;
}

.account-status-dot.disabled {
    background: #98a2b3;
}

.account-status-dot::after {
    display: block;
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    content: "✓";
}

.account-status-dot.disabled::after {
    width: 8px;
    height: 8px;
    content: "";
    background:
        linear-gradient(45deg, transparent 42%, #ffffff 42%, #ffffff 58%, transparent 58%),
        linear-gradient(-45deg, transparent 42%, #ffffff 42%, #ffffff 58%, transparent 58%);
}

.account-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 40;
    visibility: hidden;
    background: rgba(17, 24, 39, 0.48);
    opacity: 0;
    transition: opacity 0.18s ease, visibility 0.18s ease;
}

.account-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 41;
    display: grid;
    visibility: hidden;
    width: min(600px, calc(100% - 32px));
    gap: 24px;
    padding: 36px 40px 40px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 30px 90px rgba(17, 24, 39, 0.28);
    opacity: 0;
    transform: translate(-50%, -46%) scale(0.98);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.account-modal.active,
.account-modal-open .account-modal-backdrop {
    visibility: visible;
    opacity: 1;
}

.account-modal-open .account-modal-backdrop {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(15, 23, 42, 0.52);
}

.account-modal.active {
    transform: translate(-50%, -50%) scale(1);
}

.account-modal h2 {
    margin: 0 0 2px;
    color: #171923;
    font-family: Inter, Arial, sans-serif;
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.account-modal-field {
    position: relative;
    display: grid;
}

.account-modal-field span {
    position: absolute;
    top: -9px;
    left: 14px;
    padding: 0 8px;
    color: #667085;
    font-size: 0.82rem;
    font-weight: 700;
    background: #ffffff;
}

.account-modal-field input {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid #cfd5df;
    border-radius: 10px;
    outline: none;
    color: #344054;
    font: inherit;
    font-size: 0.98rem;
    font-weight: 600;
    background: #ffffff;
}

.account-modal-field input:focus {
    border-color: #7c3aed;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

.account-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 2px;
}

.account-modal-actions button {
    min-height: 40px;
    padding: 0 16px;
    border: 0;
    border-radius: 9px;
    color: #6d3df5;
    font: inherit;
    font-weight: 900;
    background: transparent;
    cursor: pointer;
}

.account-modal-actions button[type="submit"] {
    min-width: 96px;
    color: #ffffff;
    background: #6d3df5;
    box-shadow: 0 12px 24px rgba(109, 61, 245, 0.22);
}

.account-modal-field textarea {
    width: 100%;
    min-height: 108px;
    padding: 16px;
    padding-top: 18px;
    border: 1px solid #cfd5df;
    border-radius: 10px;
    outline: none;
    color: #344054;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.45;
    background: #ffffff;
    resize: vertical;
}

.account-modal-field textarea:focus {
    border-color: #7c3aed;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

.account-modal-intro {
    margin: 0;
    color: #667085;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.5;
}

.rd-order-modal-product {
    margin: 0;
    padding: 18px 20px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 16px;
    color: #0f172a;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.58;
    background: linear-gradient(165deg, #f8fafc 0%, #f1f5f9 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 4px 16px rgba(15, 23, 42, 0.04);
    white-space: pre-line;
}

.account-modal.rd-order-modal {
    display: flex;
    flex-direction: column;
    width: min(1320px, calc(100% - 28px));
    max-height: calc(100dvh - 18px);
    padding: 0;
    gap: 0;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background:
        radial-gradient(circle at 16% 0%, rgba(124, 58, 237, 0.24), transparent 34%),
        radial-gradient(circle at 86% 8%, rgba(14, 165, 233, 0.16), transparent 32%),
        linear-gradient(180deg, #0b1120 0%, #101827 100%);
    box-shadow:
        0 32px 76px -12px rgba(2, 6, 23, 0.78),
        0 18px 48px rgba(124, 58, 237, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.account-modal.rd-order-modal::before {
    display: none;
}

.rd-order-modal__shell {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px 18px 18px;
    max-height: calc(100dvh - 30px);
    overflow: auto;
}

.rd-tariff-order {
    --rd-order-accent-rgb: 124, 58, 237;
}

.rd-tariff-order[data-rd-tier='standard'] {
    --rd-order-accent-rgb: 59, 130, 246;
}

.rd-tariff-order[data-rd-tier='team'] {
    --rd-order-accent-rgb: 20, 184, 166;
}

.rd-tariff-order[data-rd-tier='business'] {
    --rd-order-accent-rgb: 124, 58, 237;
}

.rd-order-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.rd-order-modal__header h2 {
    flex: 1;
    margin: 0;
    padding-top: 2px;
    color: #f8fafc;
    font-family: Inter, Arial, sans-serif;
    font-size: 1.4375rem;
    font-weight: 850;
    letter-spacing: -0.035em;
    line-height: 1.22;
}

.rd-order-modal__close {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    border: 0;
    border-radius: 13px;
    color: #cbd5e1;
    font-family: inherit;
    padding: 0 0 2px;
    font-size: 1.55rem;
    line-height: 1;
    font-weight: 300;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(15, 23, 42, 0.72);
    cursor: pointer;
    transition:
        background 0.16s ease,
        color 0.16s ease,
        transform 0.14s ease;
    text-align: center;
}

.rd-order-modal__close:hover {
    background: rgba(30, 41, 59, 0.92);
    color: #ffffff;
}

.rd-order-modal__close:active {
    transform: scale(0.96);
}

.rd-order-modal__intro:not([hidden]) {
    margin: -10px 0 0;
    padding-bottom: 2px;
}

.rd-order-config {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rd-order-modal .rd-config-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
    align-items: start;
    margin: 0;
    padding: 12px 13px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 18px;
    background:
        linear-gradient(155deg, rgba(17, 24, 39, 0.92), rgba(15, 23, 42, 0.84)),
        rgba(255, 255, 255, 0.04);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.08) inset,
        0 16px 34px rgba(2, 6, 23, 0.26);
    backdrop-filter: blur(18px);
}

.rd-order-modal .rd-config-card--seats {
    padding: 18px 18px 14px !important;
    background:
        radial-gradient(circle at 9% 12%, rgba(99, 102, 241, 0.28), transparent 30%),
        linear-gradient(145deg, rgba(17, 24, 39, 0.94), rgba(15, 23, 42, 0.9)) !important;
}

.rd-config-card__main {
    min-width: 0;
}

.rd-tariff-tier-card {
    gap: 0 !important;
    padding: 14px !important;
    background:
        radial-gradient(circle at 50% 0%, rgba(124, 58, 237, 0.18), transparent 48%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(17, 24, 39, 0.92)) !important;
}

.rd-volume-tier-buttons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.rd-volume-tier-option {
    min-width: 0;
    cursor: pointer;
}

.rd-volume-tier-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.rd-volume-tier-option span {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-content: center;
    min-height: 118px;
    padding: 17px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 20px;
    background:
        linear-gradient(145deg, rgba(17, 24, 39, 0.92), rgba(15, 23, 42, 0.74)),
        rgba(255, 255, 255, 0.04);
    transition:
        border-color 0.22s cubic-bezier(0.2, 0.8, 0.2, 1),
        background 0.22s cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 0.22s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.rd-volume-tier-option input:checked + span {
    border-color: rgba(var(--rd-tier-accent-rgb, 124, 58, 237), 0.72);
    background:
        radial-gradient(circle at 18% 12%, rgba(var(--rd-tier-accent-rgb, 124, 58, 237), 0.28), transparent 38%),
        linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(17, 24, 39, 0.94));
    box-shadow:
        0 18px 40px rgba(var(--rd-tier-accent-rgb, 124, 58, 237), 0.25),
        0 0 0 1px rgba(var(--rd-tier-accent-rgb, 124, 58, 237), 0.28) inset;
    transform: translateY(-2px) scale(1.03);
}

.rd-volume-tier-option:hover span {
    transform: translateY(-2px);
    border-color: rgba(var(--rd-tier-accent-rgb, 124, 58, 237), 0.46);
}

.rd-volume-tier-option--standard {
    --rd-tier-accent-rgb: 59, 130, 246;
}

.rd-volume-tier-option--team {
    --rd-tier-accent-rgb: 20, 184, 166;
}

.rd-volume-tier-option--business {
    --rd-tier-accent-rgb: 124, 58, 237;
}

.rd-volume-tier-option i {
    grid-row: 1 / 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(var(--rd-tier-accent-rgb, 124, 58, 237), 0.38);
    border-radius: 13px;
    color: rgb(var(--rd-tier-accent-rgb, 124, 58, 237));
    background: rgba(var(--rd-tier-accent-rgb, 124, 58, 237), 0.12);
    box-shadow: 0 0 22px rgba(var(--rd-tier-accent-rgb, 124, 58, 237), 0.18);
}

.rd-volume-tier-option svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rd-volume-tier-option strong {
    color: #f8fafc;
    font-size: 1.02rem;
    font-weight: 950;
    line-height: 1.15;
}

.rd-volume-tier-option small,
.rd-volume-tier-option em {
    color: rgba(203, 213, 225, 0.72);
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 800;
    line-height: 1.25;
}

.rd-volume-tier-option em {
    margin-top: 8px;
    color: rgba(226, 232, 240, 0.88);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    letter-spacing: -0.02em;
}

#rd-volume-tier-note {
    display: none;
}

.rd-tariff-picker {
    gap: 12px !important;
}

.rd-tariff-picker legend {
    padding: 0;
    color: #f8fafc;
    font-size: 0.92rem;
    font-weight: 900;
}

.rd-tariff-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.rd-tariff-option {
    display: block;
    min-width: 0;
    cursor: pointer;
}

.rd-tariff-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.rd-tariff-option__main {
    --rd-plan-accent: #64748b;
    --rd-plan-accent-rgb: 100, 116, 139;
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 14px;
    min-height: 270px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    color: #ffffff;
    background:
        radial-gradient(circle at 78% 0%, rgba(var(--rd-plan-accent-rgb), 0.3), transparent 34%),
        linear-gradient(155deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
        #0f172a;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    transition:
        border-color 0.24s cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 0.24s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1),
        background 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.rd-tariff-option input:checked + .rd-tariff-option__main {
    border-color: rgba(var(--rd-plan-accent-rgb), 0.72);
    background:
        radial-gradient(circle at 78% 0%, rgba(var(--rd-plan-accent-rgb), 0.42), transparent 38%),
        linear-gradient(155deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
        #111827;
    box-shadow:
        0 20px 54px rgba(var(--rd-plan-accent-rgb), 0.26),
        0 14px 34px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(var(--rd-plan-accent-rgb), 0.22) inset,
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transform: translateY(-2px) scale(1.03);
}

.rd-tariff-option:hover .rd-tariff-option__main {
    transform: translateY(-4px);
    border-color: rgba(var(--rd-plan-accent-rgb), 0.54);
    box-shadow:
        0 22px 52px rgba(0, 0, 0, 0.32),
        0 0 0 1px rgba(var(--rd-plan-accent-rgb), 0.1);
}

.rd-tariff-option--basic .rd-tariff-option__main {
    --rd-plan-accent: #60a5fa;
    --rd-plan-accent-rgb: 96, 165, 250;
}

.rd-tariff-option--standard .rd-tariff-option__main {
    --rd-plan-accent: #22d3ee;
    --rd-plan-accent-rgb: 34, 211, 238;
}

.rd-tariff-option--business .rd-tariff-option__main,
.rd-tariff-option--business_plus .rd-tariff-option__main {
    --rd-plan-accent: #a78bfa;
    --rd-plan-accent-rgb: 167, 139, 250;
}

.rd-tariff-option--pro .rd-tariff-option__main,
.rd-tariff-option--ultra .rd-tariff-option__main {
    --rd-plan-accent: #fb923c;
    --rd-plan-accent-rgb: 251, 146, 60;
}

.rd-tariff-option--enterprise .rd-tariff-option__main {
    --rd-plan-accent: #facc15;
    --rd-plan-accent-rgb: 250, 204, 21;
}

.rd-tariff-option--recommended .rd-tariff-option__main {
    transform: scale(1.015);
}

.rd-tariff-option__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.rd-tariff-option__head strong {
    overflow: hidden;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 950;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rd-tariff-option__head small {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    padding: 4px 8px;
    border: 1px solid rgba(var(--rd-plan-accent-rgb), 0.4);
    border-radius: 999px;
    color: var(--rd-plan-accent);
    font-size: 0.62rem;
    font-weight: 950;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: rgba(var(--rd-plan-accent-rgb), 0.12);
}

.rd-tariff-option__fit {
    min-height: 36px;
    color: rgba(226, 232, 240, 0.78);
    font-size: 0.78rem;
    font-weight: 750;
    line-height: 1.4;
}

.rd-tariff-option__specs {
    display: grid;
    gap: 8px;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.78rem;
    font-weight: 850;
    line-height: 1.35;
}

.rd-tariff-option__specs span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.rd-tariff-option__specs i {
    display: inline-flex;
    min-width: 38px;
    align-items: center;
    justify-content: center;
    padding: 3px 6px;
    border-radius: 999px;
    color: var(--rd-plan-accent);
    font-size: 0.58rem;
    font-style: normal;
    font-weight: 950;
    letter-spacing: 0.05em;
    background: rgba(var(--rd-plan-accent-rgb), 0.12);
}

.rd-tariff-option__footer {
    display: grid;
    margin-top: auto;
}

.rd-tariff-option__price {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    color: var(--rd-plan-accent);
}

.rd-tariff-option__price em {
    font-size: 2rem;
    font-style: normal;
    font-weight: 950;
    letter-spacing: -0.06em;
}

.rd-tariff-option__price small {
    color: rgba(226, 232, 240, 0.7);
    font-size: 0.72rem;
    font-weight: 900;
}


.rd-order-total {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    width: auto;
    min-height: 46px;
    margin: 0;
    padding: 7px 10px;
    border-radius: 13px;
    border: 0;
    background: transparent;
    box-shadow: none;
}

button.rd-order-total {
    font: inherit;
    cursor: pointer;
}

.rd-order-total__icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(160deg, #10b981 0%, #059669 100%);
    box-shadow:
        0 4px 10px rgba(5, 150, 105, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.rd-order-total__icon svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.rd-order-total__text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rd-order-total__label {
    font-size: 0.52rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6b7280;
}

.rd-order-total__value {
    margin: 0;
    font-size: clamp(0.98rem, 2.6vw, 1.18rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
    color: #0f172a;
}

.rd-order-total--error {
    border-color: #fecaca;
    background: #fef2f2;
}

.rd-order-total--error .rd-order-total__label {
    color: #b91c1c;
}

.rd-order-total--error .rd-order-total__value {
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.45;
    color: #b91c1c;
}

.rd-order-total--error .rd-order-total__icon {
    background: linear-gradient(160deg, #ef4444 0%, #dc2626 100%);
    box-shadow:
        0 4px 10px rgba(220, 38, 38, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.rd-order-modal .rd-slider-block {
    margin-top: 0;
}

.rd-order-modal .rd-slider-head {
    align-items: center;
    margin-bottom: 12px;
}

.rd-order-modal .rd-slider-caption {
    color: rgba(203, 213, 225, 0.72);
    font-size: 0.74rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rd-order-modal .rd-slider-value-chip {
    flex-shrink: 0;
}

.rd-order-modal .rd-slider-value-chip,
.rd-order-modal .rd-slider-value-chip--seats,
.rd-order-modal .rd-slider-value-chip--teal,
.rd-order-modal .rd-slider-value-chip--slate {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 0;
    min-width: auto;
    max-width: none;
    padding: 0;
    margin-left: 18px;
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 900;
    line-height: 1.3;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.rd-order-modal .rd-slider-value-input {
    width: 170px;
    outline: none;
    text-align: right;
    font: inherit;
    color: #f8fafc;
    font-size: 1.5rem;
    font-weight: 950;
    letter-spacing: -0.055em;
}

.rd-order-modal .rd-slider-value-input:focus {
    box-shadow: 0 2px 0 rgba(167, 139, 250, 0.72);
}

.rd-order-modal .rd-slider-value-input::-webkit-outer-spin-button,
.rd-order-modal .rd-slider-value-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.rd-order-modal .rd-slider-value-input[type='number'] {
    appearance: textfield;
    -moz-appearance: textfield;
}

.rd-order-modal .rd-slider-value-chip--seats {
    color: #e0e7ff;
}

.rd-order-modal .rd-slider-value-chip--teal {
    color: #0f766e;
}

.rd-order-modal .rd-slider-value-chip--slate {
    color: #334155;
}

.rd-order-modal .rd-slider-shell {
    position: relative;
    padding: 32px 18px 16px;
    margin: 0;
    overflow: visible;
    border-radius: 20px;
    background:
        radial-gradient(circle at var(--rd-fill, 0%) 42%, rgba(var(--rd-order-accent-rgb, 124, 58, 237), 0.24), transparent 24%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(17, 24, 39, 0.86));
    border: 1px solid rgba(var(--rd-order-accent-rgb, 124, 58, 237), 0.24);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 18px 42px rgba(2, 6, 23, 0.26),
        0 0 34px rgba(var(--rd-order-accent-rgb, 124, 58, 237), 0.08);
}

.rd-order-modal .rd-slider-shell:focus-within {
    border-color: rgba(124, 58, 237, 0.48);
    box-shadow:
        0 0 0 3px rgba(124, 58, 237, 0.18),
        0 18px 36px rgba(124, 58, 237, 0.14);
}

.rd-order-modal .rd-slider-bubble {
    position: absolute;
    top: 9px;
    left: 0;
    z-index: 2;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 26px;
    padding: 0 10px;
    border: 1px solid rgba(167, 139, 250, 0.48);
    border-radius: 999px;
    color: #f8fafc;
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: -0.02em;
    background:
        linear-gradient(135deg, rgba(var(--rd-order-accent-rgb, 124, 58, 237), 0.98), rgba(56, 189, 248, 0.92));
    box-shadow:
        0 10px 22px rgba(var(--rd-order-accent-rgb, 124, 58, 237), 0.32),
        0 0 28px rgba(56, 189, 248, 0.18);
    pointer-events: none;
    white-space: nowrap;
}

.rd-order-modal .rd-slider-bubble::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 9px;
    height: 9px;
    border-right: 1px solid rgba(167, 139, 250, 0.42);
    border-bottom: 1px solid rgba(167, 139, 250, 0.42);
    background: rgba(var(--rd-order-accent-rgb, 124, 58, 237), 0.94);
    transform: translateX(-50%) rotate(45deg);
}

.rd-order-modal .rd-slider-shell--ram:focus-within {
    border-color: rgba(13, 148, 136, 0.38);
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.09);
}

.rd-order-modal .rd-slider-shell--storage:focus-within {
    border-color: rgba(100, 116, 139, 0.45);
    box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.12);
}

.rd-order-modal .rd-slider-shell--ram:not(:focus-within),
.rd-order-modal .rd-slider-shell--storage:not(:focus-within) {
    box-shadow: none;
}

.rd-order-modal .rd-slider-scale {
    margin-top: 7px;
    margin-right: 18px;
    margin-left: 18px;
    padding-top: 0;
}

.rd-order-modal .rd-slider-marks {
    padding: 2px 0 0;
    color: #90a0b7;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: none;
}

.rd-order-modal .rd-slider-marks > span {
    display: inline-flex;
    align-items: center;
    text-align: center;
}

.rd-order-modal .rd-slider-marks--seats {
    position: relative;
    height: 22px;
    margin-top: 3px;
}

.rd-order-modal .rd-slider-marks--seats > span {
    position: absolute;
    left: 0;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    min-width: 0;
    margin: 0;
    color: rgba(203, 213, 225, 0.62);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    text-align: center;
}

.rd-order-modal .rd-slider-marks--seats > span::before {
    content: none;
    position: absolute;
    top: -12px;
    width: 2px;
    height: 5px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.26);
}

.rd-order-modal .rd-slider-marks--seats > span:nth-child(1) {
    left: 0;
}

.rd-order-modal .rd-slider-marks--seats > span:nth-child(2) {
    left: 50%;
}

.rd-order-modal .rd-slider-marks--seats > span:nth-child(3) {
    left: 100%;
}

.rd-order-modal .rd-slider-marks--gpu-seats > span:nth-child(1) {
    left: 0;
}

.rd-order-modal .rd-slider-marks--gpu-seats > span:nth-child(2) {
    left: 22.22%;
}

.rd-order-modal .rd-slider-marks--gpu-seats > span:nth-child(3) {
    left: 44.44%;
}

.rd-order-modal .rd-slider-marks--gpu-seats > span:nth-child(4) {
    left: 66.67%;
}

.rd-order-modal .rd-slider-marks--gpu-seats > span:nth-child(5) {
    left: 100%;
}

.rd-order-modal .rd-gpu-discount-row {
    position: relative;
    height: 24px;
    margin: 4px 10px 6px;
}

.rd-order-modal .rd-gpu-discount-row span {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    padding: 3px 10px;
    border: 1px solid #86efac;
    border-radius: 999px;
    color: #047857;
    font-size: 0.67rem;
    font-weight: 900;
    line-height: 1.15;
    background: linear-gradient(180deg, #eafff1 0%, #dcfce7 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
    white-space: nowrap;
}

.rd-order-modal .rd-gpu-discount-row span:nth-child(1) {
    left: 22.22%;
}

.rd-order-modal .rd-gpu-discount-row span:nth-child(2) {
    left: 44.44%;
}

.rd-order-modal .rd-gpu-discount-row span:nth-child(3) {
    left: 100%;
}

.rd-order-modal .rd-seat-mark-note {
    position: relative;
    top: -72px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0;
    min-width: 46px;
    padding: 2px 9px;
    border: 1px solid #86efac;
    border-radius: 999px;
    color: #047857;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.015em;
    line-height: 1.2;
    background: linear-gradient(180deg, #eafff1 0%, #dcfce7 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
    vertical-align: baseline;
}

.rd-order-modal .rd-seat-mark-value {
    display: block;
    margin-top: -10px;
    font-size: 0.82rem;
    font-weight: 900;
    line-height: 1;
    color: #70829a;
}

.rd-order-modal .rd-slider-marks--gpu-seats > span {
    margin-top: 0;
    font-size: 0.78rem;
    line-height: 1.2;
}

.rd-order-modal .rd-range {
    height: 34px;
}

.rd-order-modal .rd-range::-webkit-slider-runnable-track {
    height: 14px;
    border-radius: 999px;
    background:
        linear-gradient(90deg, rgb(var(--rd-order-accent-rgb, 124, 58, 237)) 0%, #38bdf8 var(--rd-fill), rgba(51, 65, 85, 0.82) var(--rd-fill), rgba(30, 41, 59, 0.9) 100%);
    box-shadow:
        inset 0 1px 2px rgba(2, 6, 23, 0.55),
        0 0 26px rgba(var(--rd-order-accent-rgb, 124, 58, 237), 0.16);
}

.rd-order-modal .rd-range::-moz-range-track,
.rd-order-modal .rd-range::-moz-range-progress {
    height: 14px;
    border-radius: 999px;
}

.rd-order-modal .rd-range::-moz-range-track {
    background: rgba(30, 41, 59, 0.9);
}

.rd-order-modal .rd-range::-moz-range-progress {
    background: linear-gradient(90deg, rgb(var(--rd-order-accent-rgb, 124, 58, 237)), #38bdf8);
}

.rd-order-modal .rd-range::-webkit-slider-thumb {
    margin-top: -8px;
    width: 30px;
    height: 30px;
    border: 3px solid #eff6ff;
    background: radial-gradient(circle at 35% 28%, #ffffff 0 10%, #a78bfa 28%, rgb(var(--rd-order-accent-rgb, 124, 58, 237)) 76%);
    box-shadow:
        0 10px 28px rgba(var(--rd-order-accent-rgb, 124, 58, 237), 0.54),
        0 0 0 9px rgba(var(--rd-order-accent-rgb, 124, 58, 237), 0.14),
        0 0 28px rgba(56, 189, 248, 0.28);
}

.rd-order-modal .rd-range::-moz-range-thumb {
    width: 30px;
    height: 30px;
    border: 3px solid #eff6ff;
    background: radial-gradient(circle at 35% 28%, #ffffff 0 10%, #a78bfa 28%, rgb(var(--rd-order-accent-rgb, 124, 58, 237)) 76%);
    box-shadow:
        0 10px 28px rgba(var(--rd-order-accent-rgb, 124, 58, 237), 0.54),
        0 0 0 9px rgba(var(--rd-order-accent-rgb, 124, 58, 237), 0.14),
        0 0 28px rgba(56, 189, 248, 0.28);
}

.rd-order-modal .rd-range--teal::-webkit-slider-runnable-track {
    background:
        linear-gradient(90deg, #22c6b8 0%, #22c6b8 var(--rd-fill), #d8e6e7 var(--rd-fill), #d8e6e7 100%);
}

.rd-order-modal .rd-range--teal::-moz-range-progress {
    background: #22c6b8;
}

.rd-order-modal .rd-range--slate::-webkit-slider-runnable-track {
    background:
        linear-gradient(90deg, #64748b 0%, #64748b var(--rd-fill), #d8e0ec var(--rd-fill), #d8e0ec 100%);
}

.rd-order-modal .rd-range--slate::-moz-range-progress {
    background: #64748b;
}

.rd-order-modal .rd-order-modal__comment textarea {
    min-height: 82px;
    border-radius: 14px;
    border-color: #dce3ee;
}

.rd-order-modal__actions {
    margin-top: 0;
    width: fit-content;
    margin-left: auto;
    padding: 5px;
    border: 1px solid #dbe3ef;
    border-radius: 17px;
    align-items: center;
    gap: 0;
    justify-content: flex-end;
    background: #f8fafc;
    box-shadow:
        0 14px 30px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.rd-order-purchase {
    position: relative;
    min-width: 164px;
    min-height: 50px;
    padding: 7px 34px 7px 9px;
    border: 1px solid rgba(203, 213, 225, 0.95);
    border-radius: 16px;
    color: inherit;
    background:
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow:
        0 12px 28px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    transition:
        transform 0.12s ease,
        border-color 0.16s ease,
        background 0.16s ease,
        box-shadow 0.16s ease;
}

.rd-order-purchase::after {
    content: '›';
    position: absolute;
    top: 50%;
    right: 12px;
    color: #94a3b8;
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1;
    transform: translateY(-53%);
}

.rd-order-purchase .rd-order-total__icon {
    width: 30px;
    height: 30px;
    border-radius: 11px;
    background: linear-gradient(160deg, #22c55e 0%, #16a34a 100%);
    box-shadow:
        0 7px 14px rgba(22, 163, 74, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.rd-order-purchase .rd-order-total__label {
    color: #64748b;
    font-size: 0.5rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.rd-order-purchase .rd-order-total__value {
    color: #0f172a;
    font-size: clamp(1rem, 2.4vw, 1.14rem);
    font-weight: 900;
    letter-spacing: -0.035em;
}

.rd-order-purchase:hover {
    border-color: rgba(34, 197, 94, 0.42);
    background:
        linear-gradient(180deg, #ffffff 0%, #f3f8f5 100%);
    box-shadow:
        0 16px 32px rgba(15, 23, 42, 0.1),
        0 0 0 4px rgba(34, 197, 94, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.rd-order-purchase:active {
    transform: translateY(1px);
}

.account-modal-actions button.rd-order-purchase[type="submit"] {
    min-width: 164px;
    min-height: 50px;
    padding: 7px 34px 7px 9px;
    border: 1px solid rgba(203, 213, 225, 0.95);
    border-radius: 16px;
    color: inherit;
    background:
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow:
        0 12px 28px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.account-modal-actions button.rd-order-purchase[type="submit"]:hover {
    border-color: rgba(34, 197, 94, 0.42);
    background:
        linear-gradient(180deg, #ffffff 0%, #f3f8f5 100%);
    box-shadow:
        0 16px 32px rgba(15, 23, 42, 0.1),
        0 0 0 4px rgba(34, 197, 94, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.rd-order-modal .rd-order-modal__btn-cancel {
    min-height: 44px;
    padding: 0 22px !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
    font-weight: 800 !important;
    background: #ffffff !important;
    box-shadow: none !important;
    transition:
        border-color 0.16s ease,
        background 0.16s ease;
}

.rd-order-modal .rd-order-modal__btn-cancel:hover {
    border-color: #cbd5e1 !important;
    background: #f8fafc !important;
}

.rd-order-modal .rd-order-modal__btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0 0 150px;
    width: 150px;
    min-height: 46px;
    padding: 0 14px 0 10px !important;
    border-radius: 13px !important;
    border: 1px solid #dbe3ef !important;
    color: #0f172a !important;
    font-weight: 900 !important;
    letter-spacing: -0.02em;
    background: #ffffff !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    transition:
        transform 0.12s ease,
        border-color 0.16s ease,
        background 0.16s ease;
}

.rd-order-modal .rd-order-modal__btn-submit::before {
    content: '✓';
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.82rem;
    line-height: 1;
    background: linear-gradient(160deg, #10b981 0%, #059669 100%);
    box-shadow:
        0 4px 10px rgba(5, 150, 105, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.rd-order-modal .rd-order-modal__btn-submit:hover {
    border-color: #cbd5e1 !important;
    background: #f1f5f9 !important;
}

.rd-order-modal .rd-order-modal__btn-submit:active {
    transform: translateY(1px);
}

/* Premium light Remote Desktop configurator */
.account-modal.rd-order-modal {
    border-radius: 28px;
    border: 1px solid rgba(226, 232, 240, 0.86);
    color: #111827;
    background:
        radial-gradient(circle at 16% -10%, rgba(124, 58, 237, 0.11), transparent 32%),
        radial-gradient(circle at 92% 4%, rgba(59, 130, 246, 0.12), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.92));
    box-shadow:
        0 42px 100px -28px rgba(15, 23, 42, 0.34),
        0 22px 54px rgba(99, 102, 241, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(22px);
}

.rd-order-modal__shell {
    gap: 18px;
    padding: 24px;
    background: linear-gradient(180deg, rgba(245, 247, 251, 0.48), rgba(255, 255, 255, 0.2));
}

.rd-order-modal__header {
    align-items: center;
    padding: 2px 2px 4px;
}

.rd-order-modal__header > div {
    display: grid;
    gap: 5px;
    flex: 1;
    min-width: 0;
}

.rd-order-modal__header h2 {
    color: #111827;
    font-size: clamp(1.45rem, 2.8vw, 2rem);
    font-weight: 850;
    letter-spacing: -0.055em;
}

.rd-order-modal__header p {
    margin: 0;
    color: #6b7280;
    font-size: 0.96rem;
    font-weight: 650;
    letter-spacing: -0.015em;
}

.rd-order-modal__close {
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 16px;
    color: #64748b;
    background: rgba(255, 255, 255, 0.82);
    box-shadow:
        0 12px 30px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
}

.rd-order-modal__close:hover {
    color: #111827;
    background: #ffffff;
    box-shadow:
        0 18px 36px rgba(15, 23, 42, 0.12),
        0 0 0 4px rgba(99, 102, 241, 0.08);
}

.rd-tariff-order {
    --rd-order-accent-rgb: 99, 102, 241;
}

.rd-tariff-order[data-rd-tier='standard'] {
    --rd-order-accent-rgb: 59, 130, 246;
}

.rd-tariff-order[data-rd-tier='team'] {
    --rd-order-accent-rgb: 99, 102, 241;
}

.rd-tariff-order[data-rd-tier='business'] {
    --rd-order-accent-rgb: 124, 58, 237;
}

.rd-order-config {
    gap: 16px;
}

.rd-order-modal .rd-config-card {
    border: 1px solid rgba(226, 232, 240, 0.82);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82)),
        rgba(255, 255, 255, 0.72);
    box-shadow:
        0 18px 48px rgba(15, 23, 42, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
}

.rd-order-modal .rd-config-card--seats {
    padding: 24px !important;
    background:
        radial-gradient(circle at 12% 0%, rgba(var(--rd-order-accent-rgb), 0.12), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.92)) !important;
}

.rd-order-modal .rd-slider-head {
    margin-bottom: 18px;
}

.rd-order-modal .rd-slider-caption {
    color: #6b7280;
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.12em;
}

.rd-order-modal .rd-slider-value-input {
    width: 180px;
    color: #111827;
    font-size: 1.65rem;
    font-weight: 850;
}

.rd-order-modal .rd-slider-value-chip--seats {
    color: #111827;
}

.rd-order-modal .rd-slider-shell {
    padding: 34px 18px 18px;
    border-radius: 22px;
    border: 1px solid rgba(226, 232, 240, 0.94);
    background:
        radial-gradient(circle at var(--rd-fill, 0%) 45%, rgba(var(--rd-order-accent-rgb), 0.12), transparent 25%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.92));
    box-shadow:
        0 16px 38px rgba(15, 23, 42, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.rd-order-modal .rd-slider-shell:focus-within {
    border-color: rgba(var(--rd-order-accent-rgb), 0.36);
    box-shadow:
        0 18px 44px rgba(15, 23, 42, 0.08),
        0 0 0 5px rgba(var(--rd-order-accent-rgb), 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.rd-order-modal .rd-slider-bubble {
    top: 8px;
    min-width: 44px;
    height: 28px;
    border: 1px solid rgba(var(--rd-order-accent-rgb), 0.24);
    color: #ffffff;
    background: linear-gradient(135deg, rgb(var(--rd-order-accent-rgb)), #8b5cf6);
    box-shadow:
        0 12px 22px rgba(var(--rd-order-accent-rgb), 0.22),
        0 0 0 5px rgba(var(--rd-order-accent-rgb), 0.08);
}

.rd-order-modal .rd-slider-bubble::after {
    border-color: rgba(var(--rd-order-accent-rgb), 0.24);
    background: rgb(var(--rd-order-accent-rgb));
}

.rd-order-modal .rd-slider-marks--seats > span {
    color: #94a3b8;
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.1em;
}

.rd-order-modal .rd-range::-webkit-slider-runnable-track {
    height: 15px;
    background:
        linear-gradient(90deg, #6366f1 0%, #8b5cf6 var(--rd-fill), #e8edf6 var(--rd-fill), #eef2f7 100%);
    box-shadow:
        inset 0 1px 2px rgba(15, 23, 42, 0.08),
        0 8px 18px rgba(var(--rd-order-accent-rgb), 0.12);
}

.rd-order-modal .rd-range::-moz-range-track,
.rd-order-modal .rd-range::-moz-range-progress {
    height: 15px;
}

.rd-order-modal .rd-range::-moz-range-track {
    background: #eef2f7;
}

.rd-order-modal .rd-range::-moz-range-progress {
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
}

.rd-order-modal .rd-range::-webkit-slider-thumb {
    margin-top: -9px;
    width: 33px;
    height: 33px;
    border: 5px solid #ffffff;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    box-shadow:
        0 14px 26px rgba(var(--rd-order-accent-rgb), 0.25),
        0 0 0 8px rgba(var(--rd-order-accent-rgb), 0.1);
}

.rd-order-modal .rd-range::-moz-range-thumb {
    width: 33px;
    height: 33px;
    border: 5px solid #ffffff;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    box-shadow:
        0 14px 26px rgba(var(--rd-order-accent-rgb), 0.25),
        0 0 0 8px rgba(var(--rd-order-accent-rgb), 0.1);
}

.rd-tariff-tier-card {
    padding: 16px !important;
    background: transparent !important;
    box-shadow: none !important;
}

.rd-volume-tier-buttons {
    gap: 12px;
}

.rd-volume-tier-option span {
    min-height: 128px;
    padding: 20px;
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.92));
    box-shadow:
        0 14px 34px rgba(15, 23, 42, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.rd-volume-tier-option input:checked + span {
    border-color: transparent;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, rgba(var(--rd-tier-accent-rgb, 99, 102, 241), 0.86), rgba(139, 92, 246, 0.62)) border-box;
    box-shadow:
        0 22px 48px rgba(var(--rd-tier-accent-rgb, 99, 102, 241), 0.18),
        0 0 0 5px rgba(var(--rd-tier-accent-rgb, 99, 102, 241), 0.08);
    transform: translateY(-3px) scale(1.015);
}

.rd-volume-tier-option:hover span {
    border-color: rgba(var(--rd-tier-accent-rgb, 99, 102, 241), 0.24);
    transform: translateY(-3px);
    box-shadow:
        0 22px 44px rgba(15, 23, 42, 0.1),
        0 0 0 5px rgba(var(--rd-tier-accent-rgb, 99, 102, 241), 0.06);
}

.rd-volume-tier-option i {
    width: 38px;
    height: 38px;
    border-color: rgba(var(--rd-tier-accent-rgb, 99, 102, 241), 0.16);
    color: rgb(var(--rd-tier-accent-rgb, 99, 102, 241));
    background: rgba(var(--rd-tier-accent-rgb, 99, 102, 241), 0.08);
    box-shadow: none;
}

.rd-volume-tier-option strong {
    color: #111827;
    font-size: 1.06rem;
    letter-spacing: -0.03em;
}

.rd-volume-tier-option small {
    color: #6b7280;
    font-weight: 700;
}

.rd-volume-tier-option em {
    color: #475569;
    font-size: 0.76rem;
    font-weight: 850;
    font-family: Inter, Arial, sans-serif;
}

.rd-tariff-picker {
    gap: 16px !important;
    padding: 18px !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(248, 250, 252, 0.72)) !important;
}

.rd-tariff-picker legend {
    color: #111827;
    font-size: 1.05rem;
    font-weight: 850;
    letter-spacing: -0.035em;
}

.rd-tariff-grid {
    gap: 14px;
}

.rd-tariff-option__main {
    min-height: 286px;
    padding: 20px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 24px;
    color: #111827;
    background:
        radial-gradient(circle at 85% 0%, rgba(var(--rd-plan-accent-rgb), 0.1), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94));
    box-shadow:
        0 16px 40px rgba(15, 23, 42, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.rd-tariff-option input:checked + .rd-tariff-option__main {
    border-color: transparent;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 252, 0.96)) padding-box,
        linear-gradient(135deg, rgba(var(--rd-plan-accent-rgb), 0.9), rgba(99, 102, 241, 0.52)) border-box;
    box-shadow:
        0 24px 58px rgba(var(--rd-plan-accent-rgb), 0.18),
        0 0 0 5px rgba(var(--rd-plan-accent-rgb), 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.98);
    transform: translateY(-3px) scale(1.02);
}

.rd-tariff-option:hover .rd-tariff-option__main {
    border-color: rgba(var(--rd-plan-accent-rgb), 0.24);
    box-shadow:
        0 24px 54px rgba(15, 23, 42, 0.11),
        0 0 0 5px rgba(var(--rd-plan-accent-rgb), 0.06);
    transform: translateY(-5px);
}

.rd-tariff-option--recommended .rd-tariff-option__main {
    box-shadow:
        0 24px 58px rgba(124, 58, 237, 0.16),
        0 0 0 5px rgba(124, 58, 237, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.rd-tariff-option__head strong {
    color: #111827;
    font-size: 1.05rem;
    letter-spacing: -0.035em;
}

.rd-tariff-option__head small {
    border: 0;
    color: #6d28d9;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(59, 130, 246, 0.1));
}

.rd-tariff-option__fit {
    color: #6b7280;
    font-size: 0.82rem;
    font-weight: 650;
}

.rd-tariff-option__specs {
    gap: 9px;
    border-color: rgba(226, 232, 240, 0.88);
    color: #334155;
    font-size: 0.8rem;
}

.rd-tariff-option__specs span {
    justify-content: flex-start;
}

.rd-tariff-option__specs i {
    min-width: 42px;
    color: #475569;
    background: #f1f5f9;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.rd-tariff-option__price em {
    color: #111827;
    font-size: 2.15rem;
    letter-spacing: -0.07em;
}

.rd-tariff-option__price small {
    color: #6b7280;
    font-size: 0.78rem;
    font-weight: 750;
}

.rd-order-modal__actions {
    position: sticky;
    bottom: 0;
    z-index: 4;
    width: min(620px, 100%);
    margin: 4px auto 0;
    padding: 8px;
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow:
        0 24px 58px rgba(15, 23, 42, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(18px);
}

.rd-order-checkout-total {
    padding-left: 20px;
}

.rd-order-checkout-total .rd-order-total__label {
    color: #94a3b8;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.rd-order-checkout-total .rd-order-total__value {
    color: #111827;
    font-size: 1.22rem;
    font-weight: 900;
    letter-spacing: -0.045em;
}

.rd-order-modal .rd-order-modal__btn-submit {
    flex: 0 0 168px;
    width: 168px;
    min-height: 52px;
    border: 0 !important;
    border-radius: 999px !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #22c55e, #16a34a) !important;
    box-shadow:
        0 16px 34px rgba(22, 163, 74, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}

.rd-order-modal .rd-order-modal__btn-submit:hover {
    background: linear-gradient(135deg, #16a34a, #15803d) !important;
    box-shadow:
        0 18px 38px rgba(22, 163, 74, 0.32),
        0 0 0 6px rgba(34, 197, 94, 0.12) !important;
    transform: translateY(-1px);
}

.rd-order-modal .rd-order-modal__btn-submit::before {
    background: rgba(255, 255, 255, 0.18);
    box-shadow: none;
}

.account-modal.rd-control-modal {
    width: min(420px, calc(100% - 24px));
    padding: 0;
    gap: 0;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #ffffff;
}

.account-modal.rd-connection-guide-modal {
    width: min(680px, calc(100% - 24px));
    max-height: min(94vh, 980px);
}

.rd-connection-guide-modal .rd-control-modal__shell {
    max-height: min(88vh, 900px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.rd-connection-guide-modal .rd-control-modal__header h2 {
    margin: 0;
    font-size: 1.28rem;
}

.rd-connection-guide-lead {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 600;
}

.rd-connection-guide-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rd-guide-intro {
    margin: 0;
    color: #334155;
    line-height: 1.55;
    font-size: 0.95rem;
}

.rd-guide-stage {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px 16px;
    background: #f8fafc;
}

.rd-guide-stage h3 {
    margin: 0 0 10px;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.rd-guide-stage p {
    margin: 0 0 10px;
    color: #334155;
    line-height: 1.55;
    font-size: 0.93rem;
}

.rd-guide-stage p:last-of-type {
    margin-bottom: 0;
}

ol.rd-guide-list {
    margin: 0 0 10px;
    padding-left: 1.25rem;
    color: #334155;
    line-height: 1.55;
    font-size: 0.93rem;
}

ol.rd-guide-list li {
    margin-bottom: 6px;
}

.rd-guide-server-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 4px 0 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #fff;
    border: 1px dashed #cbd5e1;
}

.rd-guide-server-line span {
    font-weight: 700;
    color: #475569;
    font-size: 0.9rem;
}

.rd-guide-value {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    word-break: break-all;
}

.rd-guide-shot {
    margin: 12px 0 0;
}

.rd-guide-shot img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f1f5f9;
    min-height: 100px;
}

.rd-guide-shot figcaption {
    margin-top: 8px;
    font-size: 0.87rem;
    color: #64748b;
    line-height: 1.45;
}

.rd-guide-footnote,
.rd-guide-images-hint {
    margin: 0;
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.5;
}

.rd-guide-images-hint {
    color: #94a3b8;
    font-size: 0.82rem;
}

.rd-connection-guide-modal .account-modal-actions {
    padding: 0 20px 18px;
}

.rd-connection-guide-close-btn {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: none !important;
}

.rd-connection-guide-close-btn:hover {
    background: #e2e8f0 !important;
}

.rd-control-modal__shell {
    display: grid;
    gap: 18px;
    padding: 20px;
}

.rd-control-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.rd-control-modal__eyebrow {
    display: block;
    margin-bottom: 6px;
    color: #7c3aed;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rd-control-modal__header h2 {
    margin: 0;
    color: #0f172a;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.rd-control-modal__target {
    margin: 6px 0 0;
    color: #667085;
    font-size: 0.92rem;
    font-weight: 700;
}

.rd-control-actions {
    display: grid;
    gap: 10px;
}

.rd-control-action {
    display: flex;
    min-height: 54px;
    align-items: center;
    gap: 12px;
    padding: 0 14px;
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    color: #0f172a;
    font: inherit;
    font-weight: 900;
    background: #f8fafc;
    cursor: pointer;
    transition:
        border-color 0.16s ease,
        background 0.16s ease,
        transform 0.12s ease;
}

.rd-control-action svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rd-control-action:hover {
    background: #eef2ff;
    border-color: #c7d2fe;
}

.rd-control-action:active {
    transform: translateY(1px);
}

.rd-control-action--start {
    color: #047857;
}

.rd-control-action--stop {
    color: #be123c;
}

.rd-control-action--restart {
    color: #4338ca;
}

.rd-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.rd-modal-field {
    display: grid;
    gap: 8px;
}

.rd-modal-field span {
    color: #667085;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rd-modal-field input,
.rd-modal-field select {
    width: 100%;
    min-height: 52px;
    padding: 0 14px;
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    color: #0f172a;
    font: inherit;
    font-weight: 800;
    background: #f8fafc;
    outline: none;
    transition:
        border-color 0.16s ease,
        background 0.16s ease,
        box-shadow 0.16s ease;
}

.rd-modal-field select {
    padding-right: 46px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%230f172a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 14px 14px;
}

.rd-password-field {
    position: relative;
    display: block;
}

.rd-modal-field .rd-password-field input {
    padding-right: 52px;
}

.rd-password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 10px;
    color: #667085;
    background: transparent;
    cursor: pointer;
    transform: translateY(-50%);
    transition:
        background 0.16s ease,
        color 0.16s ease;
}

.rd-password-toggle:hover,
.rd-password-toggle[aria-pressed="true"] {
    color: #344054;
    background: #eef2f7;
}

.rd-password-toggle svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rd-modal-field input:focus,
.rd-modal-field select:focus {
    border-color: #a5b4fc;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}

.rd-modal-submit {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    border: 1px solid #d3dbe8;
    border-radius: 14px;
    color: #0f172a;
    font: inherit;
    font-weight: 900;
    background: #eef2f7;
    cursor: pointer;
    transition:
        border-color 0.16s ease,
        background 0.16s ease,
        transform 0.12s ease;
}

.rd-modal-submit:hover {
    border-color: #b9c5d5;
    background: #e8edf5;
}

.rd-modal-submit:active {
    transform: translateY(1px);
}

.rd-modal-submit:disabled {
    color: #98a2b3;
    background: #f2f4f7;
    cursor: not-allowed;
    transform: none;
}

.rd-modal-submit--danger:not(:disabled) {
    color: #ffffff;
    border-color: rgba(190, 18, 60, 0.2);
    background: linear-gradient(160deg, #f43f5e 0%, #be123c 100%);
}

.rd-modal-submit--danger:not(:disabled):hover {
    border-color: rgba(190, 18, 60, 0.36);
    background: linear-gradient(160deg, #e11d48 0%, #9f1239 100%);
}

.rd-reinstall-warning {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 14px;
    border: 1px solid rgba(244, 63, 94, 0.18);
    border-radius: 14px;
    text-align: center;
    color: #9f1239;
    background: rgba(244, 63, 94, 0.08);
}

.rd-reinstall-warning svg {
    width: 136px;
    height: 136px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rd-reinstall-warning p {
    margin: 0;
    color: #0f172a;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.45;
}

.rd-shutdown-all-modal .rd-control-modal__shell {
    max-width: 430px;
}

.rd-shutdown-all-warning {
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(239, 68, 68, 0.18);
    border-radius: 16px;
    text-align: center;
    color: #dc2626;
    background:
        radial-gradient(circle at 50% 0%, rgba(254, 202, 202, 0.58), transparent 7rem),
        rgba(254, 242, 242, 0.92);
}

.rd-shutdown-all-warning svg {
    width: 54px;
    height: 54px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.45;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rd-shutdown-all-warning p {
    margin: 0;
    color: #111827;
    font-size: 0.94rem;
    font-weight: 650;
    line-height: 1.45;
}

.rd-shutdown-all-modal .rd-modal-actions {
    justify-content: center;
}

.rd-shutdown-all-modal .rd-modal-submit--danger {
    min-width: 154px;
}

.rd-reinstall-confirm {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    color: #344054;
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.35;
    background: #f8fafc;
    cursor: pointer;
}

.rd-reinstall-confirm input {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin: 0;
    accent-color: #be123c;
    cursor: pointer;
}

.rd-backup-list {
    display: grid;
    gap: 10px;
}

.rd-backup-item {
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px;
    border: 1px solid #e1e7ef;
    border-radius: 14px;
    background: #f9fafb;
}

.rd-backup-item__meta {
    display: grid;
    gap: 3px;
}

.rd-backup-item__meta span {
    color: #667085;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rd-backup-item__meta strong {
    color: #0f172a;
    font-size: 0.96rem;
    font-weight: 700;
}

.rd-backup-restore {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid #d6dee8;
    border-radius: 12px;
    color: #344054;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    background: #f3f6fa;
    cursor: pointer;
    transition:
        border-color 0.16s ease,
        background 0.16s ease,
        transform 0.12s ease;
}

.rd-backup-restore svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rd-backup-restore:hover {
    border-color: #c8d2df;
    background: #eef2f7;
}

.rd-backup-restore:active {
    transform: translateY(1px);
}

@media (max-height: 760px) {
    .account-modal.rd-order-modal {
        max-height: calc(100dvh - 10px);
    }

    .rd-order-modal__shell {
        gap: 10px;
        padding: 12px;
        max-height: calc(100dvh - 16px);
    }

    .rd-order-modal .rd-config-card {
        padding: 10px 11px;
    }

    .rd-order-modal .rd-slider-value-chip,
    .rd-order-modal .rd-slider-value-chip--seats,
    .rd-order-modal .rd-slider-value-chip--teal,
    .rd-order-modal .rd-slider-value-chip--slate {
        min-width: auto;
        min-height: 0;
        font-size: 0.82rem;
    }

    .rd-order-modal .rd-order-modal__comment textarea {
        min-height: 70px;
    }
}

.rd-order-fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

.rd-order-fieldset > legend {
    padding: 0;
    margin: 0 0 2px;
    color: #111827;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.rd-order-help {
    margin: 0 0 10px;
    color: #667085;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.5;
}

.rd-order-help strong {
    color: #474e61;
}

.rd-order-panel[hidden],
.rd-order-panel.is-hidden {
    display: none !important;
}

.rd-storage-grid {
    display: grid;
    gap: 8px;
}

.rd-storage-option {
    position: relative;
    display: block;
    cursor: pointer;
}

.rd-storage-option input {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: auto;
}

.rd-storage-card {
    padding: 10px 12px;
    border: 1px solid #d5dbe8;
    border-radius: 10px;
    color: #374151;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.35;
    background: #ffffff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.rd-storage-option input:focus-visible + .rd-storage-card {
    outline: 2px solid #7c3aed;
    outline-offset: 2px;
}

.rd-storage-option input:checked + .rd-storage-card {
    border-color: #7c3aed;
    background: rgba(124, 58, 237, 0.06);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.rd-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 640px) {
    .rd-volume-tier-buttons,
    .rd-tariff-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 641px) and (max-width: 980px) {
    .rd-tariff-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.rd-slider-block {
    margin-top: 4px;
}

.rd-slider-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 8px;
}

.rd-slider-caption {
    flex: 1;
    min-width: 0;
    padding-top: 2px;
    color: #111827;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    cursor: pointer;
}

.rd-slider-value-chip {
    flex-shrink: 0;
    max-width: min(260px, 52vw);
    padding: 6px 12px;
    border-radius: 999px;
    color: #4c1d95;
    font-size: 0.88rem;
    font-weight: 900;
    text-align: right;
    letter-spacing: -0.02em;
    line-height: 1.35;
    background: linear-gradient(135deg, rgba(237, 233, 254, 1), rgba(224, 231, 255, 0.88));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.75),
        0 2px 8px rgba(99, 102, 241, 0.12);
}

.rd-slider-value-chip--teal {
    color: #0f766e;
    background: linear-gradient(135deg, rgba(204, 251, 241, 1), rgba(167, 243, 208, 0.88));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.75),
        0 2px 10px rgba(13, 148, 136, 0.16);
}

.rd-slider-value-chip--slate {
    color: #334155;
    background: linear-gradient(135deg, rgba(241, 245, 249, 1), rgba(226, 232, 240, 0.92));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.75),
        0 2px 10px rgba(71, 85, 105, 0.12);
}

.rd-slider-shell {
    padding: 6px 0 12px;
    border-radius: 14px;
    transition: box-shadow 0.2s ease;
}

.rd-slider-shell:focus-within {
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}

.rd-slider-marks {
    display: flex;
    justify-content: space-between;
    padding: 4px 2px 0;
    color: #9ca3af;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.rd-slider-marks--ram span {
    min-width: 1.75rem;
    text-align: center;
}

.rd-slider-marks--ram span:first-child {
    margin-left: -4px;
    text-align: left;
}

.rd-slider-marks--ram span:last-child {
    margin-right: -4px;
    text-align: right;
}

.rd-slider-marks--seats > span {
    min-width: 1.75rem;
    text-align: center;
}

.rd-slider-marks--seats:not(.rd-order-modal .rd-slider-marks--seats) > span:first-child {
    margin-left: -4px;
    text-align: left;
}

.rd-slider-marks--seats:not(.rd-order-modal .rd-slider-marks--seats) > span:last-child {
    margin-right: -4px;
    text-align: right;
}

.rd-seat-mark-note {
    display: inline;
    color: #059669;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.01em;
    text-transform: none;
    vertical-align: baseline;
    white-space: nowrap;
}

.rd-slider-marks--storage span {
    min-width: 1.75rem;
    text-align: center;
}

.rd-slider-marks--storage span:first-child {
    margin-left: -4px;
    text-align: left;
}

.rd-slider-marks--storage span:last-child {
    margin-right: -4px;
    text-align: right;
}

.rd-range {
    --rd-fill: 0%;
    width: 100%;
    height: 32px;
    margin: 0;
    accent-color: #6366f1;
    background: transparent;
    cursor: pointer;
}

.rd-range:focus {
    outline: none;
}

.rd-range::-webkit-slider-runnable-track {
    height: 10px;
    border-radius: 999px;
    background:
        linear-gradient(90deg, #6366f1 0%, #7c3aed var(--rd-fill), #dde0ee var(--rd-fill), #eaebf3 100%);
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.08);
}

.rd-range::-moz-range-track {
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: #dde0ee;
}

.rd-range::-moz-range-progress {
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, #6366f1, #7c3aed);
}

.rd-range::-webkit-slider-thumb {
    margin-top: -6px;
    width: 24px;
    height: 24px;
    border: 4px solid #ffffff;
    border-radius: 50%;
    appearance: none;
    background: linear-gradient(145deg, #c4b5fd 10%, #6366f1 55%, #4f46e5 100%);
    box-shadow:
        0 4px 14px rgba(79, 70, 229, 0.4),
        0 1px 0 rgba(255, 255, 255, 0.65) inset;
    transition:
        transform 0.14s ease,
        box-shadow 0.14s ease;
}

.rd-range:active::-webkit-slider-thumb {
    transform: scale(1.06);
    box-shadow:
        0 6px 18px rgba(79, 70, 229, 0.45),
        0 1px 0 rgba(255, 255, 255, 0.65) inset;
}

.rd-range::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border: 4px solid #ffffff;
    border-radius: 50%;
    background: linear-gradient(145deg, #c4b5fd 10%, #6366f1 55%, #4f46e5 100%);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.38);
}

.rd-range::-moz-range-thumb:active {
    transform: scale(1.06);
}

.rd-range--teal::-webkit-slider-thumb {
    background: linear-gradient(145deg, #5eead4 12%, #0d9488 55%, #0f766e 100%);
    box-shadow:
        0 4px 14px rgba(13, 148, 136, 0.4),
        0 1px 0 rgba(255, 255, 255, 0.55) inset;
}

.rd-range--teal::-moz-range-thumb {
    background: linear-gradient(145deg, #5eead4 12%, #0d9488 55%, #0f766e 100%);
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.38);
}

.rd-range--teal::-webkit-slider-runnable-track {
    background:
        linear-gradient(90deg, #0d9488 0%, #14b8a6 var(--rd-fill), #dbe6e9 var(--rd-fill), #e8eef0 100%);
}

.rd-range--teal::-moz-range-progress {
    background: linear-gradient(90deg, #0d9488, #14b8a6);
}

.rd-range--slate::-webkit-slider-thumb {
    background: linear-gradient(145deg, #cbd5e1 12%, #64748b 55%, #475569 100%);
    box-shadow:
        0 4px 14px rgba(71, 85, 105, 0.35),
        0 1px 0 rgba(255, 255, 255, 0.55) inset;
}

.rd-range--slate::-moz-range-thumb {
    background: linear-gradient(145deg, #cbd5e1 12%, #64748b 55%, #475569 100%);
    box-shadow: 0 4px 14px rgba(71, 85, 105, 0.32);
}

.rd-range--slate::-webkit-slider-runnable-track {
    background:
        linear-gradient(90deg, #475569 0%, #64748b var(--rd-fill), #dfe3e9 var(--rd-fill), #e8ecf0 100%);
}

.rd-range--slate::-moz-range-progress {
    background: linear-gradient(90deg, #475569, #64748b);
}

.rd-slider-shell--storage:focus-within {
    box-shadow: 0 0 0 4px rgba(71, 85, 105, 0.12);
}

.rd-slider-shell--ram:focus-within {
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.14);
}

.account-modal-field select {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid #cfd5df;
    border-radius: 10px;
    outline: none;
    color: #344054;
    font: inherit;
    font-size: 0.98rem;
    font-weight: 600;
    background: #ffffff;
}

.account-modal-field select:focus {
    border-color: #7c3aed;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

.security-page {
    width: min(1050px, calc(100% - 40px));
}

.security-card {
    overflow: hidden;
    border: 1px solid #dedfea;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 16px 36px rgba(31, 41, 55, 0.06);
}

.security-method-row {
    display: grid;
    min-height: 76px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 18px 24px;
    border-bottom: 1px solid #eceef4;
}

.security-method-row:last-child {
    border-bottom: 0;
}

.security-method-row-disabled {
    opacity: 0.58;
}

.security-method-row-disabled,
.security-method-row-disabled * {
    cursor: not-allowed;
}

.security-method-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 999px;
    color: #3f4654;
    background: #f5f6f8;
}

.security-method-icon.telegram {
    color: #ffffff;
    background: linear-gradient(135deg, #2aa8ea 0%, #0077c8 100%);
}

.security-method-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.security-method-icon.telegram svg {
    fill: currentColor;
    stroke: none;
}

.security-method-copy h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 5px;
    color: #111827;
    font-family: Inter, Arial, sans-serif;
    font-size: 1rem;
    font-weight: 900;
}

.security-method-copy h2 span {
    display: inline-flex;
    min-height: 22px;
    align-items: center;
    padding: 0 8px;
    border-radius: 999px;
    color: #5f6878;
    font-size: 0.72rem;
    font-weight: 900;
    background: #f1f2f6;
}

.security-method-copy p {
    margin: 0;
    color: #667085;
    font-size: 0.9rem;
    line-height: 1.45;
}

.security-method-copy p strong {
    color: #4b5565;
    font-weight: 900;
}

.security-action-button {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid #dddff0;
    border-radius: 8px;
    color: #6d55c8;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 900;
    background: #ffffff;
    cursor: pointer;
}

.security-action-button.primary {
    border-color: transparent;
    color: #ffffff;
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    box-shadow: 0 12px 26px rgba(79, 70, 229, 0.18);
}

.security-action-button:disabled {
    color: #8b93a3;
    background: #f4f5f8;
    box-shadow: none;
    cursor: not-allowed;
}

.notifications-page {
    width: min(1050px, calc(100% - 40px));
}

.notifications-lead {
    max-width: 980px;
    margin: -4px 0 24px;
    color: #667085;
    font-size: 0.95rem;
    line-height: 1.55;
}

.notifications-card {
    overflow: hidden;
    border: 1px solid #dedfea;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 16px 36px rgba(31, 41, 55, 0.06);
}

.notifications-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 100px 100px 120px;
    align-items: center;
    gap: 16px;
}

.notifications-grid-head {
    min-height: 48px;
    padding: 0 22px;
    border-bottom: 1px solid #eceef4;
}

.notifications-grid-head strong {
    color: #111827;
    font-size: 0.88rem;
    font-weight: 800;
    text-align: center;
}

.notifications-row {
    min-height: 72px;
    padding: 14px 22px;
    border-bottom: 1px solid #eceef4;
}

.notifications-row:last-of-type {
    border-bottom: 0;
}

.notifications-row > span {
    display: grid;
    gap: 4px;
}

.notifications-row > span strong {
    color: #111827;
    font-size: 0.92rem;
    font-weight: 800;
}

.notifications-row > span em {
    color: #667085;
    font-style: normal;
    font-size: 0.88rem;
    line-height: 1.45;
}

.notifications-row input {
    width: 20px;
    height: 20px;
    justify-self: center;
    accent-color: #6d3df5;
    cursor: pointer;
}

.notifications-row input:disabled {
    cursor: not-allowed;
    opacity: 0.35;
}

.notifications-channel {
    display: inline-grid;
    justify-items: center;
    gap: 6px;
}

.notifications-channel small {
    display: none;
    color: #94a3b8;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.notifications-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 16px 22px;
    border-top: 1px solid #eceef4;
    background: #fbfcff;
}

.notifications-actions .security-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.billing-page {
    width: calc(100% - 48px);
    max-width: none;
}

.account-page:not(.billing-page):not(.dashboard-main),
.security-page,
.notifications-page {
    width: calc(100% - 48px);
    max-width: none;
}

.remote-desktop-section {
    position: relative;
    margin-top: 8px;
}

.remote-desktop-section + .remote-desktop-section {
    margin-top: 42px;
    padding-top: 36px;
    border-top: 1px solid rgba(229, 231, 240, 0.95);
}

.remote-desktop-section-title {
    margin: 0 0 14px;
    color: #111827;
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: none;
}

.remote-desktop-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.remote-desktop-section-head .remote-desktop-section-title {
    margin: 0;
}

.rd-shutdown-all-form {
    margin: 0;
}

.rd-shutdown-all {
    display: inline-flex;
    width: 36px;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: #7f1d1d;
    font: inherit;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    transition:
        transform 0.14s ease,
        border-color 0.16s ease,
        background 0.16s ease,
        box-shadow 0.16s ease;
}

.rd-shutdown-all:hover {
    transform: translateY(-1px);
}

.rd-shutdown-all:active {
    transform: translateY(0);
}

.rd-shutdown-all__icon {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    flex-shrink: 0;
    border-radius: 13px;
    color: #ffffff;
    background: linear-gradient(145deg, #ef4444, #dc2626);
    box-shadow:
        0 8px 18px rgba(220, 38, 38, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.rd-shutdown-all__icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rd-shutdown-all__text {
    display: grid;
    gap: 1px;
    text-align: left;
}

.rd-shutdown-all__text strong {
    color: #991b1b;
    font-size: 0.84rem;
    font-weight: 950;
    line-height: 1.1;
}

.rd-shutdown-all__text small {
    color: #b45309;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1.1;
    text-transform: uppercase;
}

.rd-widget-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 18px;
    width: 100%;
    align-items: stretch;
}

.rd-widget {
    overflow: hidden;
    border: 1px solid #dedfea;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 16px 36px rgba(31, 41, 55, 0.06);
    min-height: 0;
}

.rd-widget--order {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-style: dashed;
    border-color: rgba(124, 58, 237, 0.35);
    background:
        radial-gradient(120% 80% at 100% 0%, rgba(124, 58, 237, 0.09), transparent 55%),
        #ffffff;
    box-shadow: 0 12px 28px rgba(124, 58, 237, 0.08);
}

.rd-widget-order-inner {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 16px 18px 18px;
    min-height: 0;
    text-align: center;
    box-sizing: border-box;
}

.rd-widget-order-icon {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    align-self: center;
    width: 144px;
    height: 144px;
    border-radius: 30px;
    color: #6d28d9;
    background: rgba(124, 58, 237, 0.14);
}

.rd-widget-order-icon svg {
    display: block;
    width: 112px;
    height: 112px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rd-widget-order-spec {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin: 0;
    max-width: min(280px, 100%);
}

.rd-widget-order-spec-line {
    display: block;
    text-align: center;
    line-height: 1.4;
}

.rd-widget-order-spec-line--title {
    color: #111827;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.rd-widget-order-spec-line--meta {
    color: #667085;
    font-size: 0.86rem;
    font-weight: 600;
    white-space: pre-line;
}

.rd-widget-title {
    margin: 0 0 6px;
    color: #111827;
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.rd-widget-text {
    margin: 0 0 14px;
    color: #667085;
    font-size: 0.93rem;
    font-weight: 600;
    line-height: 1.55;
}

.rd-widget-order-cta {
    display: inline-flex;
    align-self: center;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 310px;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 900;
    text-decoration: none;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    box-shadow: 0 10px 26px rgba(79, 70, 229, 0.32);
}

.rd-widget-order-cta:hover {
    filter: brightness(1.06);
}

button.rd-widget-order-cta {
    border: 0;
    cursor: pointer;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 900;
    text-decoration: none;
    box-sizing: border-box;
}

.rd-widget--order-gpu {
    border-color: rgba(13, 148, 136, 0.38);
    background:
        radial-gradient(120% 80% at 100% 0%, rgba(13, 148, 136, 0.09), transparent 55%),
        #ffffff;
    box-shadow: 0 12px 28px rgba(13, 148, 136, 0.08);
}

.rd-widget-order-icon--gpu {
    color: #0f766e;
    background: rgba(13, 148, 136, 0.16);
}

.rd-widget-order-cta--gpu {
    background: linear-gradient(135deg, #0d9488, #6366f1);
    box-shadow: 0 10px 26px rgba(13, 148, 136, 0.3);
}

.rd-widget--placeholder {
    display: grid;
    min-height: 254px;
    place-items: center;
    border-style: dashed;
    border-width: 1.5px;
    border-color: rgba(124, 58, 237, 0.2);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: none;
    backdrop-filter: blur(10px);
}

.rd-widget--placeholder-gpu {
    border-color: rgba(13, 148, 136, 0.22);
    background: rgba(255, 255, 255, 0.16);
}

.rd-widget-placeholder-icon {
    display: grid;
    width: 86px;
    height: 86px;
    place-items: center;
    border: 1px dashed rgba(124, 58, 237, 0.18);
    border-radius: 24px;
    color: rgba(124, 58, 237, 0.22);
    background: rgba(124, 58, 237, 0.025);
}

.rd-widget-placeholder-icon--gpu {
    border-color: rgba(13, 148, 136, 0.2);
    color: rgba(13, 148, 136, 0.24);
    background: rgba(13, 148, 136, 0.025);
}

.rd-widget-placeholder-icon svg {
    width: 52px;
    height: 52px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rd-widget-placeholder-icon svg * {
    fill: none;
    stroke: currentColor;
}

.service-request-page .remote-desktop-section {
    margin-top: 8px;
}

.service-request-page {
    width: calc(100% - 48px);
    max-width: none;
}

.service-request-order {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-style: dashed;
    border-color: rgba(124, 58, 237, 0.2);
    background:
        radial-gradient(circle at 50% 0%, rgba(124, 58, 237, 0.06), transparent 58%),
        rgba(255, 255, 255, 0.2);
    box-shadow: none;
    backdrop-filter: blur(10px);
}

.service-request-order .rd-widget-order-inner {
    align-items: center;
    justify-content: center;
    text-align: center;
}

.service-request-order .rd-widget-order-spec {
    align-items: center;
    text-align: center;
}

.service-request-order .rd-widget-order-cta {
    align-self: center;
    max-width: 310px;
}

.service-request-order__icon {
    width: 108px;
    height: 108px;
    border-radius: 24px;
    color: #7c3aed;
    background: rgba(124, 58, 237, 0.12);
}

.service-request-order__icon svg {
    width: 82px;
    height: 82px;
}

.service-request-order__cta {
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    box-shadow: 0 10px 26px rgba(79, 70, 229, 0.28);
}

.service-request-placeholder {
    min-height: 254px;
}

.service-request-placeholder-icon {
    color: rgba(124, 58, 237, 0.22);
}

.service-request-placeholder-icon svg,
.service-request-placeholder-icon svg * {
    fill: none;
    stroke: currentColor;
}

.service-request-instance {
    border-color: rgba(124, 58, 237, 0.14);
    background:
        radial-gradient(120% 80% at 100% 0%, rgba(124, 58, 237, 0.045), transparent 54%),
        rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.service-request-instance__text {
    display: -webkit-box;
    margin-top: 12px;
    overflow: hidden;
    color: #667085;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    line-clamp: 4;
    -webkit-line-clamp: 4;
}

.service-email-actions {
    margin-top: 0;
}

.service-email-open-placeholder:disabled {
    opacity: 0.72;
    cursor: not-allowed;
}

.rd-order-alert {
    position: fixed;
    top: 92px;
    right: 22px;
    z-index: 2200;
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0 18px;
    border: 1px solid #dbe3ef;
    border-radius: 18px;
    color: #0f172a;
    font-size: 0.92rem;
    font-weight: 900;
    line-height: 1;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(18px);
    animation:
        nexora-toast-in 0.28s ease-out both,
        nexora-toast-out 0.26s ease-in 3s forwards;
}

.rd-order-alert::before {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    flex-shrink: 0;
    border-radius: 10px;
    color: #ffffff;
    font-size: 1rem;
}

.rd-order-alert--success {
    border-color: rgba(16, 185, 129, 0.22);
}

.rd-order-alert--success::before {
    content: '✓';
    background: linear-gradient(135deg, #10b981, #059669);
}

.rd-order-alert--error {
    border-color: rgba(239, 68, 68, 0.22);
}

.rd-order-alert--error::before {
    content: '!';
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

@keyframes nexora-toast-in {
    from {
        opacity: 0;
        transform: translate3d(16px, -8px, 0) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes nexora-toast-out {
    from {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }

    to {
        opacity: 0;
        transform: translate3d(16px, -8px, 0) scale(0.98);
        visibility: hidden;
    }
}

.service-request-modal__field {
    display: grid;
    gap: 9px;
}

.service-request-modal__field span {
    color: #667085;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.service-request-modal__field textarea {
    width: 100%;
    min-height: 160px;
    padding: 16px;
    resize: vertical;
    border: 1px solid #dbe3ef;
    border-radius: 18px;
    color: #0f172a;
    font: inherit;
    font-weight: 700;
    line-height: 1.55;
    background: #f8fafc;
    outline: none;
    transition:
        border-color 0.16s ease,
        background 0.16s ease,
        box-shadow 0.16s ease;
}

.service-request-modal__field input,
.service-request-modal__field select {
    width: 100%;
    min-height: 52px;
    padding: 0 14px;
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    color: #0f172a;
    font: inherit;
    font-weight: 800;
    background: #f8fafc;
    outline: none;
    transition:
        border-color 0.16s ease,
        background 0.16s ease,
        box-shadow 0.16s ease;
}

.service-request-modal__field select {
    padding-right: 46px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%230f172a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 14px 14px;
}

.service-request-modal__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 12px;
}

.service-website-order {
    display: grid;
    gap: 14px;
}

.service-website-domain-grid {
    grid-template-columns: minmax(0, 1fr);
}

.service-website-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.service-website-choice {
    position: relative;
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 10px;
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    color: #344054;
    font-size: 0.78rem;
    font-weight: 900;
    background: #f8fafc;
    cursor: pointer;
    transition:
        border-color 0.16s ease,
        background 0.16s ease,
        box-shadow 0.16s ease,
        color 0.16s ease;
}

.service-website-choice:hover {
    border-color: #c4b5fd;
    background: #ffffff;
}

.service-website-choice input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.service-website-choice:has(input:checked) {
    border-color: #dbe3ef;
    color: #344054;
    background: #f8fafc;
    box-shadow: none;
}

.service-website-choice:has(input:focus-visible) {
    outline: 3px solid rgba(124, 58, 237, 0.18);
    outline-offset: 3px;
}

.service-website-choice__control {
    position: relative;
    flex-shrink: 0;
    order: 2;
    width: 42px;
    height: 24px;
    border-radius: 999px;
    background: #d8e0ec;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.16);
    transition:
        background 0.16s ease,
        box-shadow 0.16s ease;
}

.service-website-choice__control::before {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    content: '';
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.18);
    transition: transform 0.16s ease;
}

.service-website-choice input:checked + .service-website-choice__control {
    background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
    box-shadow: 0 8px 18px rgba(79, 70, 229, 0.22);
}

.service-website-choice input:checked + .service-website-choice__control::before {
    transform: translateX(18px);
}

.service-website-choice__text {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 6px;
    line-height: 1.15;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.service-website-choice__text svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    fill: currentColor;
    stroke: none;
}

.service-request-instance .rd-widget-instance-icon svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-website-choice__text span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.service-website-toggle-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.service-website-toggle {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 10px;
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    color: #344054;
    font-size: 0.78rem;
    font-weight: 900;
    background: #f8fafc;
    cursor: pointer;
    transition:
        border-color 0.16s ease,
        background 0.16s ease,
        box-shadow 0.16s ease,
        color 0.16s ease;
}

.service-website-toggle:hover {
    border-color: #c4b5fd;
    background: #ffffff;
}

.service-website-toggle input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.service-website-toggle__control {
    position: relative;
    flex-shrink: 0;
    order: 2;
    width: 42px;
    height: 24px;
    border-radius: 999px;
    background: #d8e0ec;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.16);
    transition:
        background 0.16s ease,
        box-shadow 0.16s ease;
}

.service-website-toggle__control::before {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    content: '';
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.18);
    transition: transform 0.16s ease;
}

.service-website-toggle input:checked + .service-website-toggle__control {
    background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
    box-shadow: 0 8px 18px rgba(79, 70, 229, 0.22);
}

.service-website-toggle input:checked + .service-website-toggle__control::before {
    transform: translateX(18px);
}

.service-website-toggle input:focus-visible + .service-website-toggle__control {
    outline: 3px solid rgba(124, 58, 237, 0.18);
    outline-offset: 3px;
}

.service-website-toggle__text {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 6px;
    line-height: 1.15;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.service-website-toggle__text svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    fill: currentColor;
    stroke: none;
}

.service-website-choice__text span,
.service-website-toggle__text span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.service-email-order {
    display: grid;
    gap: 14px;
}

.service-email-mode-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.service-email-mode-panel {
    display: grid;
    gap: 12px;
}

.service-email-mode-panel[hidden] {
    display: none;
}

.service-email-domain-grid {
    grid-template-columns: minmax(0, 1fr);
}

.service-email-zone-buttons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.service-email-zone-option {
    position: relative;
    display: block;
    cursor: pointer;
}

.service-email-zone-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.service-email-zone-option span {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid #dbe3ef;
    border-radius: 16px;
    color: #344054;
    font-size: 0.86rem;
    font-weight: 950;
    background: #f8fafc;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
    transition:
        border-color 0.16s ease,
        background 0.16s ease,
        box-shadow 0.16s ease,
        transform 0.16s ease;
}

.service-email-zone-option:hover span {
    border-color: #c4b5fd;
    background: #ffffff;
}

.service-email-zone-option input:checked + span {
    border-color: #7c3aed;
    color: #4c1d95;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(79, 70, 229, 0.08));
    box-shadow: 0 10px 22px rgba(124, 58, 237, 0.12);
    transform: translateY(-1px);
}

.service-email-zone-option input:focus-visible + span {
    outline: 3px solid rgba(124, 58, 237, 0.18);
    outline-offset: 3px;
}

@media (max-width: 560px) {
    .service-email-zone-buttons {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.service-email-note {
    margin: -2px 0 0;
    padding: 12px 14px;
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    color: #667085;
    font-size: 0.82rem;
    font-weight: 750;
    line-height: 1.45;
    background: #f8fafc;
}

.service-email-note[hidden] {
    display: none;
}

.service-email-total {
    min-width: 132px;
    padding-right: 14px;
}

.rd-order-modal .service-email-submit {
    position: relative;
    flex: 0 0 154px;
    width: 154px;
    min-height: 52px;
    justify-content: flex-start;
    padding: 0 34px 0 10px !important;
    border-radius: 16px !important;
    border-color: rgba(203, 213, 225, 0.95) !important;
    background:
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    box-shadow:
        0 12px 28px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}

.rd-order-modal .service-email-submit::before {
    width: 30px;
    height: 30px;
    border-radius: 11px;
    background: linear-gradient(160deg, #22c55e 0%, #16a34a 100%);
    box-shadow:
        0 7px 14px rgba(22, 163, 74, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.rd-order-modal .service-email-submit::after {
    content: '›';
    position: absolute;
    top: 50%;
    right: 12px;
    color: #94a3b8;
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1;
    transform: translateY(-53%);
}

.rd-order-modal .service-email-submit:hover {
    border-color: rgba(34, 197, 94, 0.42) !important;
    background:
        linear-gradient(180deg, #ffffff 0%, #f3f8f5 100%) !important;
    box-shadow:
        0 16px 32px rgba(15, 23, 42, 0.1),
        0 0 0 4px rgba(34, 197, 94, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}

.rd-order-modal .service-vpn-submit {
    position: relative;
    flex: 0 0 154px;
    width: 154px;
    min-height: 52px;
    justify-content: flex-start;
    padding: 0 34px 0 10px !important;
    border-radius: 16px !important;
    border-color: rgba(203, 213, 225, 0.95) !important;
    background:
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    box-shadow:
        0 12px 28px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}

.rd-order-modal .service-vpn-submit::before {
    content: '';
    width: 30px;
    height: 30px;
    border-radius: 11px;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23ffffff' d='M11.354 6.354a.5.5 0 0 0-.708-.708L8 8.293 6.854 7.146a.5.5 0 1 0-.708.708l1.5 1.5a.5.5 0 0 0 .708 0z'/%3E%3Cpath fill='%23ffffff' d='M.5 1a.5.5 0 0 0 0 1h1.11l.401 1.607 1.498 7.985A.5.5 0 0 0 4 12h1a2 2 0 1 0 0 4 2 2 0 0 0 0-4h7a2 2 0 1 0 0 4 2 2 0 0 0 0-4h1a.5.5 0 0 0 .491-.408l1.5-8A.5.5 0 0 0 14.5 3H2.89l-.405-1.621A.5.5 0 0 0 2 1zm3.915 10L3.102 4h10.796l-1.313 7zM6 14a1 1 0 1 1-2 0 1 1 0 0 1 2 0m7 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0'/%3E%3C/svg%3E") center / 16px 16px no-repeat,
        linear-gradient(160deg, #22c55e 0%, #16a34a 100%);
    box-shadow:
        0 7px 14px rgba(22, 163, 74, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.rd-order-modal .service-vpn-submit::after {
    content: '›';
    position: absolute;
    top: 50%;
    right: 12px;
    color: #94a3b8;
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1;
    transform: translateY(-53%);
}

.rd-order-modal .service-vpn-submit:hover {
    border-color: rgba(34, 197, 94, 0.42) !important;
    background:
        linear-gradient(180deg, #ffffff 0%, #f3f8f5 100%) !important;
    box-shadow:
        0 16px 32px rgba(15, 23, 42, 0.1),
        0 0 0 4px rgba(34, 197, 94, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}

.rd-order-modal .nexora-checkout-submit {
    position: relative;
    flex: 0 0 154px;
    width: 154px;
    min-height: 52px;
    justify-content: flex-start;
    padding: 0 34px 0 10px !important;
    border-radius: 16px !important;
    border-color: rgba(203, 213, 225, 0.95) !important;
    background:
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    box-shadow:
        0 12px 28px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}

.rd-order-modal .nexora-checkout-submit::before {
    content: '';
    width: 30px;
    height: 30px;
    border-radius: 11px;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23ffffff' d='M11.354 6.354a.5.5 0 0 0-.708-.708L8 8.293 6.854 7.146a.5.5 0 1 0-.708.708l1.5 1.5a.5.5 0 0 0 .708 0z'/%3E%3Cpath fill='%23ffffff' d='M.5 1a.5.5 0 0 0 0 1h1.11l.401 1.607 1.498 7.985A.5.5 0 0 0 4 12h1a2 2 0 1 0 0 4 2 2 0 0 0 0-4h7a2 2 0 1 0 0 4 2 2 0 0 0 0-4h1a.5.5 0 0 0 .491-.408l1.5-8A.5.5 0 0 0 14.5 3H2.89l-.405-1.621A.5.5 0 0 0 2 1zm3.915 10L3.102 4h10.796l-1.313 7zM6 14a1 1 0 1 1-2 0 1 1 0 0 1 2 0m7 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0'/%3E%3C/svg%3E") center / 16px 16px no-repeat,
        linear-gradient(160deg, #22c55e 0%, #16a34a 100%);
    box-shadow:
        0 7px 14px rgba(22, 163, 74, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.rd-order-modal .nexora-checkout-submit::after {
    content: '›';
    position: absolute;
    top: 50%;
    right: 12px;
    color: #94a3b8;
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1;
    transform: translateY(-53%);
}

.rd-order-modal .nexora-checkout-submit:hover {
    border-color: rgba(34, 197, 94, 0.42) !important;
    background:
        linear-gradient(180deg, #ffffff 0%, #f3f8f5 100%) !important;
    box-shadow:
        0 16px 32px rgba(15, 23, 42, 0.1),
        0 0 0 4px rgba(34, 197, 94, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}

.service-website-total {
    min-width: 180px;
}

.service-website-price-note {
    margin: -2px 0 0;
    color: #667085;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.45;
    text-align: right;
}

.service-website-instance-summary {
    display: grid;
    gap: 5px;
    margin-top: 16px;
}

.service-website-domain {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    color: #0f172a;
    font-size: 1.03rem;
    font-weight: 900;
    line-height: 1.25;
    text-decoration: none;
    word-break: break-word;
}

.service-website-domain:hover {
    color: #5b21b6;
}

.service-website-type {
    display: none;
}

.service-website-feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
    margin-bottom: 0;
}

.service-website-feature {
    display: flex;
    min-height: 34px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 10px;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    color: #344054;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    background: #f8fafc;
    cursor: pointer;
    transition:
        border-color 0.16s ease,
        color 0.16s ease,
        background 0.16s ease,
        transform 0.12s ease;
}

.service-website-feature:hover:not(:disabled) {
    border-color: rgba(124, 58, 237, 0.34);
    color: #5b21b6;
    background: #f3e8ff;
}

.service-website-feature:active:not(:disabled) {
    transform: translateY(1px);
}

.service-website-feature:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.service-website-feature.is-enabled {
    border-color: #dbe3ef;
    color: #344054;
    background: #f8fafc;
}

.service-website-feature svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-website-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0 20px 20px;
}

.service-website-action {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    color: #344054;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 900;
    text-decoration: none;
    background: #f8fafc;
    cursor: pointer;
    transition:
        border-color 0.16s ease,
        background 0.16s ease,
        color 0.16s ease,
        transform 0.12s ease;
}

.service-website-action:hover,
.service-website-action[aria-expanded="true"] {
    border-color: rgba(124, 58, 237, 0.34);
    color: #5b21b6;
    background: #f3e8ff;
}

.service-website-action:disabled {
    cursor: not-allowed;
    opacity: 0.46;
    transform: none;
    box-shadow: none;
}

.service-website-action:active {
    transform: translateY(1px);
}

.service-website-action svg {
    width: 21px;
    height: 21px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.15;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-website-action--open {
    grid-column: 1 / -1;
}

.service-email-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-email-address {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 20px 8px;
    padding: 12px 14px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.92)),
        radial-gradient(circle at 12% 0%, rgba(79, 70, 229, 0.12), transparent 32%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease,
        background 0.18s ease;
}

.service-email-address--copyable {
    cursor: pointer;
}

.service-email-address--copyable:hover {
    border-color: rgba(14, 165, 233, 0.28);
    box-shadow:
        0 12px 28px rgba(14, 165, 233, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.service-email-address strong {
    display: block;
    width: 100%;
    overflow: hidden;
    color: #0f172a;
    max-width: 100%;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.service-email-address.is-copied {
    border-color: rgba(16, 185, 129, 0.36);
    background:
        linear-gradient(135deg, rgba(236, 253, 245, 0.98), rgba(240, 253, 250, 0.94)),
        radial-gradient(circle at 12% 0%, rgba(16, 185, 129, 0.18), transparent 34%);
    box-shadow:
        0 14px 30px rgba(16, 185, 129, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.86);
    animation: service-email-copied-pulse 0.55s ease;
}

.service-email-address.is-copied::after {
    content: "Copied";
    position: absolute;
    top: -10px;
    right: 14px;
    padding: 4px 8px;
    border-radius: 999px;
    color: #047857;
    font-size: 0.68rem;
    font-weight: 950;
    background: #d1fae5;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.18);
    animation: service-email-copied-badge 1.2s ease forwards;
}

@keyframes service-email-copied-pulse {
    0% {
        transform: scale(1);
    }
    42% {
        transform: scale(1.018);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes service-email-copied-badge {
    0% {
        opacity: 0;
        transform: translateY(6px) scale(0.94);
    }
    18%,
    72% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-4px) scale(0.98);
    }
}

.service-email-open-placeholder {
    grid-column: 1 / -1;
    width: 100%;
}

.service-email-action--settings {
    grid-column: 1 / 2;
}

.service-email-action--download {
    grid-column: 2 / 3;
}

.service-generic-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: auto;
}

.service-generic-action--panel {
    grid-column: 1 / -1;
    min-height: 44px;
    color: #6d28d9;
    border-color: rgba(124, 58, 237, 0.22);
    background: #f5f3ff;
}

.service-generic-action--settings,
.service-generic-action--tariff,
.service-generic-action--open {
    min-width: 0;
    min-height: 42px;
    padding: 0 8px;
}

.service-generic-actions .service-website-action span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.service-generic-action--tariff {
    color: #7c2d12;
    border-color: rgba(249, 115, 22, 0.22);
    background: #fff7ed;
}

.service-generic-action--open {
    color: #0369a1;
    border-color: rgba(14, 165, 233, 0.22);
    background: #f0f9ff;
}

.service-email-panel label {
    grid-column: 1 / -1;
}

.service-email-panel input[readonly] {
    color: #475569;
    background: #f8fafc;
}

.service-website-action--open span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.service-website-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(86px, 0.45fr);
    gap: 8px;
    padding: 0 20px 20px;
}

.service-website-panel[hidden] {
    display: none;
}

.service-website-panel label {
    display: grid;
    gap: 6px;
}

.service-website-panel label span {
    color: #667085;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.service-website-panel input,
.service-website-panel select {
    min-height: 42px;
    width: 100%;
    padding: 0 12px;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    color: #0f172a;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    background: #ffffff;
    outline: none;
}

.service-website-panel select {
    padding-right: 30px;
}

.service-website-panel button {
    grid-column: 1 / -1;
    align-self: end;
    min-height: 42px;
    padding: 0 12px;
    border: 0;
    border-radius: 12px;
    color: #ffffff;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 900;
    background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
    cursor: pointer;
}

.service-website-panel--control {
    grid-template-columns: 1fr;
}

.service-website-panel--control button {
    width: 100%;
    color: #991b1b;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.service-website-panel--control button:disabled {
    color: #94a3b8;
    background: #f8fafc;
    border-color: #e2e8f0;
    cursor: not-allowed;
}

.service-website-disable-modal {
    max-width: 440px;
}

.service-website-disable-warning {
    display: grid;
    justify-items: center;
    gap: 12px;
    margin-top: 4px;
    padding: 18px 16px;
    border: 1px solid #fed7aa;
    border-radius: 18px;
    color: #7c2d12;
    text-align: center;
    background: #fff7ed;
}

.service-website-disable-warning svg {
    width: 42px;
    height: 42px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-website-disable-warning p {
    max-width: 340px;
    margin: 0;
    font-size: 0.92rem;
    font-weight: 750;
    line-height: 1.5;
}

.service-website-disable-warning strong {
    color: #0f172a;
    font-size: 0.92rem;
    font-weight: 900;
}

.service-website-disable-cancel {
    color: #344054;
    background: #f8fafc;
    box-shadow: none;
}

.service-website-disable-confirm {
    background: linear-gradient(135deg, #f97316 0%, #dc2626 100%);
}

.service-vpn-order {
    display: grid;
    gap: 14px;
}

.service-vpn-card {
    padding: 16px 18px;
}

.service-vpn-card .rd-slider-block {
    margin-top: 0;
}

.service-vpn-card .rd-slider-head {
    margin-bottom: 10px;
}

.service-vpn-card .rd-slider-caption {
    font-size: 0.92rem;
    font-weight: 800;
}

.service-vpn-users-head-value {
    display: inline-flex;
    align-items: baseline;
    gap: 12px;
    margin-left: 16px;
}

.service-vpn-rate-note {
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 900;
    white-space: nowrap;
}

.service-vpn-card .rd-slider-shell {
    padding: 8px 10px;
    border: 1px solid #e4eaf3;
    border-radius: 11px;
    background: #f8fafc;
}

.service-vpn-card .rd-range {
    height: 22px;
}

.service-vpn-card .rd-range::-webkit-slider-runnable-track {
    height: 7px;
    border-radius: 999px;
    background:
        linear-gradient(90deg, #6366f1 0%, #6366f1 var(--rd-fill), #d8e0ec var(--rd-fill), #d8e0ec 100%);
}

.service-vpn-card .rd-range::-moz-range-track {
    height: 7px;
    border-radius: 999px;
    background: #d8e0ec;
}

.service-vpn-card .rd-range::-moz-range-progress {
    height: 7px;
    border-radius: 999px;
    background: #6366f1;
}

.service-vpn-card .rd-range::-webkit-slider-thumb {
    margin-top: -5px;
    width: 17px;
    height: 17px;
}

.service-vpn-card .rd-slider-scale {
    margin: 4px 10px 0;
}

.service-vpn-card .rd-slider-marks--vpn-users {
    position: relative;
    height: 24px;
}

.service-vpn-card .rd-slider-marks--vpn-users span {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: #8a9ab3;
    font-size: 0.7rem;
    font-weight: 900;
    line-height: 1.1;
    white-space: nowrap;
}

.service-vpn-card .rd-slider-marks--vpn-users span:nth-child(1) {
    left: 0;
    transform: translateX(0);
    align-items: flex-start;
}

.service-vpn-card .rd-slider-marks--vpn-users span:nth-child(2) {
    left: 24.24%;
}

.service-vpn-card .rd-slider-marks--vpn-users span:nth-child(3) {
    left: 49.49%;
}

.service-vpn-card .rd-slider-marks--vpn-users span:nth-child(4) {
    left: 74.75%;
}

.service-vpn-card .rd-slider-marks--vpn-users span:nth-child(5) {
    left: 100%;
    transform: translateX(-100%);
    align-items: flex-end;
}

.service-vpn-location-buttons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.service-vpn-location {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 12px;
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    color: #344054;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 900;
    background: #f8fafc;
    cursor: pointer;
    transition:
        border-color 0.16s ease,
        background 0.16s ease,
        box-shadow 0.16s ease,
        color 0.16s ease;
}

.service-vpn-location:hover {
    border-color: #c4b5fd;
    background: #ffffff;
}

.service-vpn-location.is-active {
    border-color: rgba(124, 58, 237, 0.38);
    color: #5b21b6;
    background: #f3e8ff;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

.service-vpn-flag {
    display: block;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    object-fit: cover;
    object-position: center center;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow:
        0 2px 5px rgba(15, 23, 42, 0.16),
        0 0 0 1px rgba(15, 23, 42, 0.08);
}

.service-vpn-instance-flag-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
}

.service-vpn-instance-flag-icon .service-vpn-flag {
    width: 38px;
    height: 38px;
    border-width: 3px;
    box-shadow:
        0 8px 18px rgba(15, 23, 42, 0.18),
        0 0 0 1px rgba(15, 23, 42, 0.08);
}

.service-vpn-instance-summary {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
    margin: auto 18px 12px;
}

.service-vpn-instance-summary span {
    display: grid;
    gap: 4px;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
    text-align: left;
}

.service-vpn-instance-summary .service-vpn-location-flag {
    place-items: center;
    padding: 8px;
}

.service-vpn-location-flag .service-vpn-flag {
    width: 42px;
    height: 42px;
    border-width: 3px;
}

.service-vpn-instance-summary em {
    overflow: hidden;
    color: #8090a6;
    font-size: 0.62rem;
    font-style: normal;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.service-vpn-instance-summary strong {
    overflow: hidden;
    color: #0f172a;
    font-size: 0.82rem;
    font-weight: 950;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.service-vpn-actions {
    display: grid;
    grid-template-columns: 1fr 46px;
    gap: 8px;
    padding: 0 18px 16px;
}

.service-vpn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    color: #344054;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 900;
    background: #f8fafc;
    cursor: pointer;
    transition:
        border-color 0.16s ease,
        background 0.16s ease,
        color 0.16s ease;
}

.service-vpn-action:hover,
.service-vpn-action[aria-expanded="true"] {
    border-color: rgba(124, 58, 237, 0.34);
    color: #5b21b6;
    background: #f3e8ff;
}

.service-vpn-action svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-vpn-connect-panel {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 0 20px 20px;
}

.service-vpn-connect-panel[hidden] {
    display: none;
}

.service-vpn-connect-panel a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    color: #344054;
    text-decoration: none;
    background: #ffffff;
    transition:
        border-color 0.16s ease,
        background 0.16s ease,
        color 0.16s ease,
        transform 0.12s ease;
}

.service-vpn-connect-panel a:hover {
    border-color: rgba(16, 185, 129, 0.36);
    color: #047857;
    background: #ecfdf5;
}

.service-vpn-connect-panel a:active {
    transform: translateY(1px);
}

.service-vpn-connect-panel svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    stroke: none;
}

.service-request-modal__field textarea:focus {
    border-color: #a5b4fc;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}

.service-request-modal__field input:focus,
.service-request-modal__field select:focus {
    border-color: #a5b4fc;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}

.service-request-modal__actions {
    justify-content: flex-end;
}

.service-vpn-total {
    min-width: 132px;
    padding-right: 14px;
}

.rd-widget-instance-head {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 14px;
    padding: 20px 20px 12px;
}

.rd-widget-instance-main {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
}

.rd-widget-instance-icon {
    display: grid;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(160deg, #4f46e5 0%, #7c3aed 100%);
    box-shadow:
        0 8px 18px rgba(79, 70, 229, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.rd-widget-instance-icon--pending,
.rd-widget-instance-icon--setup {
    background: linear-gradient(160deg, #f59e0b 0%, #d97706 100%);
    box-shadow:
        0 8px 18px rgba(217, 119, 6, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.rd-widget-instance-icon--status-pending {
    background: linear-gradient(160deg, #f59e0b 0%, #f97316 100%);
    box-shadow:
        0 8px 18px rgba(249, 115, 22, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.rd-widget-instance-icon--status-payment {
    background: linear-gradient(160deg, #8b5cf6 0%, #4f46e5 100%);
    box-shadow:
        0 8px 18px rgba(79, 70, 229, 0.26),
        0 0 0 0 rgba(139, 92, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    animation: rd-payment-pulse 1.55s ease-out infinite;
}

.rd-widget-instance-icon--status-configuration {
    background: linear-gradient(160deg, #6366f1 0%, #8b5cf6 100%);
    box-shadow:
        0 8px 18px rgba(99, 102, 241, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.rd-widget-instance-icon--status-configuration svg {
    animation: rd-configuration-spin 3.2s linear infinite;
    transform-origin: 50% 50%;
}

.rd-widget-instance-icon--status-active {
    background: linear-gradient(160deg, #10b981 0%, #059669 100%);
    box-shadow:
        0 8px 18px rgba(5, 150, 105, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.rd-widget-instance-icon--status-blocked {
    background: linear-gradient(160deg, #ef4444 0%, #b91c1c 100%);
    box-shadow:
        0 8px 18px rgba(185, 28, 28, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

@keyframes rd-payment-pulse {
    0% {
        box-shadow:
            0 8px 18px rgba(79, 70, 229, 0.26),
            0 0 0 0 rgba(139, 92, 246, 0.32),
            inset 0 1px 0 rgba(255, 255, 255, 0.22);
    }
    70% {
        box-shadow:
            0 8px 18px rgba(79, 70, 229, 0.26),
            0 0 0 9px rgba(139, 92, 246, 0),
            inset 0 1px 0 rgba(255, 255, 255, 0.22);
    }
    100% {
        box-shadow:
            0 8px 18px rgba(79, 70, 229, 0.26),
            0 0 0 0 rgba(139, 92, 246, 0),
            inset 0 1px 0 rgba(255, 255, 255, 0.22);
    }
}

@keyframes rd-configuration-spin {
    to {
        transform: rotate(360deg);
    }
}

.rd-widget-instance-icon--active {
    background: linear-gradient(160deg, #10b981 0%, #059669 100%);
    box-shadow:
        0 8px 18px rgba(5, 150, 105, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.rd-widget-instance-icon--suspended {
    background: linear-gradient(160deg, #f43f5e 0%, #be123c 100%);
    box-shadow:
        0 8px 18px rgba(190, 18, 60, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.rd-widget-instance-icon--power-on {
    background: linear-gradient(160deg, #10b981 0%, #059669 100%);
    box-shadow:
        0 8px 18px rgba(5, 150, 105, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.rd-widget-instance-icon--power-off {
    color: #64748b;
    background: linear-gradient(160deg, #f1f5f9 0%, #e2e8f0 100%);
    box-shadow:
        0 8px 18px rgba(100, 116, 139, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.rd-widget-instance-icon--restarting {
    background: linear-gradient(160deg, #10b981 0%, #059669 100%);
    box-shadow:
        0 8px 18px rgba(5, 150, 105, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.service-request-instance--vpn .service-vpn-instance-flag-icon {
    background: transparent;
    box-shadow: none;
}

.rd-widget-instance-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rd-widget-instance-icon__spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.44);
    border-top-color: #ffffff;
    border-radius: 999px;
    animation: rd-spin 0.8s linear infinite;
}

.rd-widget-instance-icon--restarting svg {
    display: none;
}

.rd-widget-instance-icon--restarting .rd-widget-instance-icon__spinner {
    display: block;
}

.rd-widget-instance-meta {
    min-width: 0;
    flex: 1;
}

.rd-widget-instance-detail {
    margin: 0;
    text-align: center;
}

.rd-widget-payment-info {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    padding: 0 12px;
    border: 1px solid rgba(16, 185, 129, 0.18);
    border-radius: 12px;
    color: #047857;
    font-size: 0.78rem;
    font-weight: 500;
    background: rgba(16, 185, 129, 0.08);
}

.rd-widget-payment-info.warning {
    border-color: rgba(245, 158, 11, 0.26);
    color: #b45309;
    background: rgba(245, 158, 11, 0.11);
}

.rd-widget-payment-info.danger {
    border-color: rgba(239, 68, 68, 0.26);
    color: #b91c1c;
    background: rgba(239, 68, 68, 0.11);
}

.rd-widget-payment-info svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rd-widget-payment-info strong {
    color: #065f46;
    font-weight: 950;
}

.rd-widget-plan {
    display: inline-block;
    margin-bottom: 6px;
    color: #7c3aed;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.rd-widget--instance .rd-widget-title {
    margin-bottom: 4px;
}

.rd-widget-instance-head-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.rd-widget-status {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    overflow: hidden;
    padding: 5px 10px;
    border-radius: 999px;
    color: #4b5563;
    font-size: 0.72rem;
    font-weight: 900;
    background: rgba(107, 114, 128, 0.12);
}

.rd-widget-status--active {
    color: #047857;
    background: rgba(16, 185, 129, 0.16);
}

.rd-widget-status--pending,
.rd-widget-status--setup {
    padding: 5px 10px;
    color: #c2410c;
    background: rgba(249, 115, 22, 0.13);
    box-shadow: none;
}

.rd-widget-status--payment {
    color: #5b21b6;
    background: rgba(139, 92, 246, 0.14);
}

.rd-widget-status--frozen,
.rd-widget-status--blocked {
    color: #b91c1c;
    background: rgba(239, 68, 68, 0.13);
}

.rd-widget-status--pending::after,
.rd-widget-status--setup::after {
    content: none;
}

.rd-status-clock,
.rd-status-gear {
    display: inline-grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 999px;
    color: #f97316;
    background: rgba(255, 237, 213, 0.95);
    box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.18);
    animation: rd-clock-pulse 2.6s ease-in-out infinite;
}

.rd-status-clock svg,
.rd-status-gear svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: rd-clock-tick 3.4s linear infinite;
    transform-origin: center;
}

.rd-status-gear {
    background: transparent;
    box-shadow: none;
}

.rd-status-gear svg {
    width: 28px;
    height: 28px;
    animation-duration: 3.8s;
}

@keyframes rd-clock-pulse {
    0%,
    100% {
        box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.18), 0 0 0 0 rgba(249, 115, 22, 0.18);
    }

    50% {
        box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.18), 0 0 0 5px rgba(249, 115, 22, 0);
    }
}

@keyframes rd-clock-tick {
    to {
        transform: rotate(360deg);
    }
}

.rd-status-dots {
    display: inline-flex;
    margin-left: 2px;
}

.rd-status-dots i {
    display: inline-block;
    font-style: normal;
    animation: rd-status-dot-jump 1.05s ease-in-out infinite;
}

.rd-status-dots i:nth-child(2) {
    animation-delay: 0.14s;
}

.rd-status-dots i:nth-child(3) {
    animation-delay: 0.28s;
}

@keyframes rd-status-dot-jump {
    0%,
    70%,
    100% {
        transform: translateY(0);
    }

    35% {
        transform: translateY(-2px);
    }
}

.rd-widget-status--paused,
.rd-widget-status--suspended {
    color: #9d174d;
    background: rgba(244, 63, 94, 0.12);
}

.rd-widget--instance {
    display: flex;
    flex-direction: column;
    min-height: 310px;
    background:
        radial-gradient(120% 80% at 100% 0%, rgba(124, 58, 237, 0.06), transparent 54%),
        #ffffff;
}

.service-request-instance--vpn,
.service-request-instance--billing {
    position: relative;
    overflow: hidden;
    min-height: 254px;
    height: auto;
    padding-bottom: 0;
    border-color: rgba(13, 148, 136, 0.14);
    background:
        radial-gradient(circle at 100% 0%, rgba(13, 148, 136, 0.08), transparent 8rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.78));
}

.service-request-instance--vpn::after,
.service-request-instance--billing::after {
    content: "";
    position: absolute;
    right: 18px;
    bottom: 78px;
    width: 74px;
    height: 74px;
    border: 12px solid rgba(124, 58, 237, 0.045);
    border-radius: 24px;
    transform: rotate(12deg);
    pointer-events: none;
}

.service-request-instance--vpn .rd-widget-instance-head,
.service-request-instance--billing .rd-widget-instance-head {
    flex: 0 0 auto;
    padding: 18px 18px 12px;
}

.service-request-instance--billing .rd-widget-instance-head:has(.service-website-feature-list) {
    padding-bottom: 6px;
}

.service-request-instance--vpn .rd-widget-instance-head-top,
.service-request-instance--billing .rd-widget-instance-head-top {
    align-items: flex-start;
}

.service-request-instance--vpn .service-vpn-actions,
.service-request-instance--billing .service-vpn-actions {
    padding: 0 18px 18px;
}

.service-request-instance--vpn .rd-widget-payment-info,
.service-request-instance--billing .rd-widget-payment-info {
    display: flex;
    width: auto;
    margin: 0 18px 12px;
}

.service-request-instance--billing .service-website-actions,
.service-request-instance--billing .service-email-actions {
    padding: 0 18px 18px;
}

.service-request-instance--billing .service-email-address {
    margin: 0 18px 8px;
}

.service-request-instance--billing .service-request-pay-actions {
    grid-template-columns: 1fr;
    padding-bottom: 12px;
}

.service-request-instance--billing .service-request-pay-actions .service-vpn-payment-form {
    min-width: 0;
}

.service-request-instance--billing .service-request-pay-actions .service-vpn-action {
    width: 100%;
}

.rd-widget--locked {
    position: relative;
}

.rd-widget--locked button:disabled {
    opacity: 0.46;
    cursor: not-allowed;
    transform: none;
}

.rd-widget--locked a.is-disabled {
    opacity: 0.46;
    cursor: not-allowed;
    pointer-events: none;
    transform: none;
}

.rd-widget-instance-process {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 38px;
    margin-top: 12px;
    padding: 8px 10px;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    color: #344054;
    font-size: 0.82rem;
    font-weight: 800;
    background: #f8fafc;
}

.rd-widget-instance-process__spinner {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    border: 2px solid #cbd5e1;
    border-top-color: #4f46e5;
    border-radius: 999px;
    animation: rd-spin 0.8s linear infinite;
}

.rd-widget-instance-process--payment {
    padding: 0;
    border: 0;
    background: transparent;
}

.rd-widget-payment-form {
    display: inline-flex;
    width: 100%;
    margin: 0;
}

.rd-widget-payment-form button {
    display: inline-flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 18px;
    border: 0;
    border-radius: 13px;
    color: #ffffff;
    font: inherit;
    font-size: 0.96rem;
    font-weight: 900;
    cursor: pointer;
    background: linear-gradient(135deg, #4f46e5, #8b5cf6);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.18);
}

.rd-widget-payment-form button svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@keyframes rd-spin {
    to {
        transform: rotate(360deg);
    }
}

.rd-widget-instance-connect {
    padding: 0 20px 10px;
    margin-top: auto;
}

.rd-widget-instance-connect-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.rd-widget-instance-connect-action {
    display: inline-flex;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    color: #344054;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 800;
    background: #f8fafc;
    cursor: pointer;
    transition:
        border-color 0.16s ease,
        background 0.16s ease,
        color 0.16s ease,
        transform 0.12s ease;
}

.rd-widget-instance-connect-action svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rd-widget-instance-connect-action:hover {
    border-color: #c8d2df;
    color: #0f172a;
    background: #eef2f7;
}

.rd-widget-instance-connect-action:active {
    transform: translateY(1px);
}

.rd-widget-instance-connect-info {
    display: inline-flex;
    flex: 0 0 44px;
    width: 44px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    color: #344054;
    background: #f8fafc;
    cursor: pointer;
    transition:
        border-color 0.16s ease,
        background 0.16s ease,
        color 0.16s ease,
        transform 0.12s ease;
}

.rd-widget-instance-connect-info svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rd-widget-instance-connect-info:hover:not(:disabled) {
    border-color: #c8d2df;
    color: #0f172a;
    background: #eef2f7;
}

.rd-widget-instance-connect-info:active:not(:disabled) {
    transform: translateY(1px);
}

.rd-widget-instance-connect-info:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.rd-widget-instance-connect-panel {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 0 20px 10px;
    margin-top: -2px;
}

.rd-widget-instance-connect-panel[hidden] {
    display: none;
}

.rd-widget-instance-connect-panel a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    color: #344054;
    background: #ffffff;
    text-decoration: none;
    transition:
        border-color 0.16s ease,
        background 0.16s ease,
        color 0.16s ease,
        transform 0.12s ease;
}

.rd-widget-instance-connect-panel a:hover {
    border-color: #c8d2df;
    color: #0f172a;
    background: #eef2f7;
}

.rd-widget-instance-connect-panel a:active {
    transform: translateY(1px);
}

.rd-widget-instance-connect-panel svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    stroke: none;
}

.rd-widget-instance-main-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0 20px 10px;
}

.rd-widget-instance-main-action {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 10px;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    color: #0f172a;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 900;
    background: #f8fafc;
    cursor: pointer;
    transition:
        border-color 0.16s ease,
        background 0.16s ease,
        color 0.16s ease,
        transform 0.12s ease;
}

.rd-widget-instance-main-action svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rd-widget-instance-main-action:hover {
    transform: translateY(-1px);
}

.rd-widget-instance-main-action--reinstall {
    color: #344054;
}

.rd-widget-instance-main-action--reinstall:hover {
    border-color: #cbd5e1;
    background: #ffffff;
}

.rd-widget-instance-main-action--backup {
    color: #344054;
}

.rd-widget-instance-main-action--backup:hover {
    border-color: #cbd5e1;
    background: #ffffff;
}

.rd-widget-instance-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 0 20px 20px;
}

.rd-widget-instance-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0;
    border: 1px solid #dbe3ef;
    border-radius: 10px;
    color: #344054;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 800;
    background: #f7f9fc;
    cursor: pointer;
    transition:
        border-color 0.16s ease,
        background 0.16s ease,
        color 0.16s ease,
        transform 0.12s ease;
}

.rd-widget-instance-actions button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rd-widget-instance-actions button:hover {
    border-color: #c7d2fe;
    color: #4338ca;
    background: #eef2ff;
}

.rd-widget-instance-actions button:active {
    transform: translateY(1px);
}

.rd-widget-instance-control-panel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 0 20px 20px;
    margin-top: -12px;
}

.rd-widget-instance-control-panel[hidden] {
    display: none;
}

.rd-widget-instance-control-panel form {
    margin: 0;
}

.rd-widget-instance-control-action {
    display: inline-flex;
    width: 100%;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    font: inherit;
    background: #f8fafc;
    cursor: pointer;
    transition:
        border-color 0.16s ease,
        background 0.16s ease,
        color 0.16s ease,
        transform 0.12s ease;
}

.rd-widget-instance-control-action:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.rd-widget-instance-control-action svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rd-widget-instance-control-action .rd-bi-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    stroke: none;
}

.rd-widget-instance-control-action:hover {
    background: #ffffff;
}

.rd-widget-instance-control-action:active {
    transform: translateY(1px);
}

.rd-widget-instance-control-action--start {
    color: #047857;
}

.rd-widget-instance-control-action--start:hover {
    border-color: rgba(16, 185, 129, 0.34);
}

.rd-widget-instance-control-action--stop {
    color: #be123c;
}

.rd-widget-instance-control-action--stop:hover {
    border-color: rgba(244, 63, 94, 0.34);
}

.rd-widget-instance-control-action--restart {
    color: #4338ca;
}

.rd-widget-instance-control-action--restart:hover {
    border-color: rgba(99, 102, 241, 0.34);
}

@media (max-width: 640px) {
    .remote-desktop-section-head {
        align-items: flex-start;
        flex-direction: row;
    }

    .rd-shutdown-all {
        min-height: 46px;
        padding-right: 10px;
    }

    .rd-shutdown-all__text strong {
        font-size: 0.76rem;
    }

    .rd-shutdown-all__text small {
        font-size: 0.56rem;
    }

    .rd-widget-order-inner {
        padding: 14px 16px 16px;
        gap: 12px;
    }

    .rd-widget-order-icon {
        width: 120px;
        height: 120px;
        border-radius: 26px;
    }

    .rd-widget-order-icon svg {
        width: 94px;
        height: 94px;
    }

    .rd-widget-order-spec-line--title {
        font-size: 0.9rem;
    }

    .rd-widget-order-spec-line--meta {
        font-size: 0.82rem;
    }

    .rd-widget-instance-head-top {
        flex-direction: column;
        align-items: stretch;
    }

    .rd-widget-status {
        align-self: flex-start;
    }
}

.billing-summary-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
    gap: 20px;
    margin-bottom: 20px;
}

.billing-balance-topup-card,
.billing-current-month-expenses-card,
.billing-topup-card,
.billing-history-card {
    border: 1px solid #dedfea;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 16px 36px rgba(31, 41, 55, 0.06);
}

.billing-balance-topup-card {
    display: grid;
    gap: 0;
    overflow: hidden;
}

.billing-balance-topup-head {
    padding: 22px 24px 18px;
    border-bottom: 1px solid #eceef4;
    background:
        radial-gradient(circle at 100% 0%, rgba(124, 58, 237, 0.16), transparent 18rem),
        #ffffff;
}

.billing-balance-topup-head span {
    color: #667085;
    font-size: 0.92rem;
    font-weight: 800;
}

.billing-balance-topup-head strong {
    display: block;
    margin: 10px 0 0;
    color: #111827;
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.billing-balance-topup-card .billing-topup-nested {
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.billing-current-month-expenses-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 0;
    height: 100%;
    box-sizing: border-box;
    padding: 22px 22px 20px;
    background:
        radial-gradient(circle at 100% 0%, rgba(17, 150, 111, 0.1), transparent 16rem),
        #ffffff;
}

.billing-current-month-expenses-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    flex-shrink: 0;
}

.billing-current-month-expenses-meta {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.billing-current-month-expenses-meta > span {
    color: #667085;
    font-size: 0.88rem;
    font-weight: 800;
}

.billing-current-month-period {
    margin: 0;
    color: #344054;
    font-size: 0.9rem;
    font-weight: 700;
}

.billing-current-month-total {
    margin: 0;
    color: #0f766e;
    font-size: clamp(1.75rem, 3.6vw, 2.5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.05;
    text-align: right;
}

.billing-daily-expenses-chart {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    overflow: visible;
}

.billing-daily-expenses-chart-inner {
    display: flex;
    flex: 1 1 auto;
    align-items: stretch;
    align-content: stretch;
    justify-content: space-between;
    gap: 2px;
    min-height: 168px;
    padding: 28px 10px 10px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(15, 118, 110, 0.07), rgba(248, 250, 252, 0.5));
    border: 1px solid rgba(15, 118, 110, 0.12);
    overflow: visible;
}

.billing-daily-expenses-bar {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    min-width: 0;
    max-width: 18px;
    overflow: visible;
}

.billing-daily-expenses-bar-track {
    position: relative;
    z-index: 1;
    width: 100%;
    flex: 1 1 auto;
    min-height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 6px;
    background: rgba(15, 118, 110, 0.08);
    cursor: default;
    overflow: visible;
}

.billing-daily-expenses-bar-track:hover {
    z-index: 20;
}

.billing-daily-expenses-tooltip {
    position: absolute;
    bottom: calc(100% + 9px);
    left: 50%;
    z-index: 30;
    padding: 9px 14px;
    border-radius: 12px;
    border: 1px solid rgba(15, 118, 110, 0.18);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow:
        0 4px 6px -1px rgba(15, 23, 42, 0.07),
        0 14px 28px -6px rgba(15, 118, 110, 0.18);
    color: #0f172a;
    font-size: 0.8rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translate3d(-50%, 6px, 0);
    transition:
        opacity 0.18s ease,
        visibility 0.18s ease,
        transform 0.18s ease;
}

.billing-daily-expenses-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    width: 10px;
    height: 10px;
    margin-top: -5px;
    margin-left: -5px;
    transform: rotate(45deg);
    background: #f8fafc;
    border-right: 1px solid rgba(15, 118, 110, 0.14);
    border-bottom: 1px solid rgba(15, 118, 110, 0.14);
    box-sizing: border-box;
}

@media (hover: hover) and (pointer: fine) {
    .billing-daily-expenses-bar-track:hover .billing-daily-expenses-tooltip {
        opacity: 1;
        visibility: visible;
        transform: translate3d(-50%, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .billing-daily-expenses-tooltip {
        transition: none;
        transform: translate3d(-50%, 0, 0);
    }

    .billing-daily-expenses-bar-track:hover .billing-daily-expenses-tooltip {
        transform: translate3d(-50%, 0, 0);
    }
}

.billing-daily-expenses-bar-fill {
    display: block;
    width: 100%;
    min-height: 0;
    border-radius: 5px 5px 2px 2px;
    background: linear-gradient(180deg, #2dd4bf, #0f766e);
    box-shadow: 0 4px 10px rgba(13, 148, 136, 0.25);
    transition: height 0.25s ease;
}

.billing-daily-expenses-bar-label {
    font-size: 0.62rem;
    font-weight: 800;
    color: #64748b;
    line-height: 1;
    min-height: 12px;
    text-align: center;
}

.billing-daily-expenses-bar-label--spacer {
    visibility: hidden;
}

@media (max-width: 900px) {
    .billing-current-month-expenses-top {
        flex-direction: column;
        align-items: stretch;
    }

    .billing-current-month-total {
        text-align: left;
        font-size: clamp(1.5rem, 6vw, 2rem);
    }
}

.billing-topup-card p {
    margin: 0;
    color: #667085;
    line-height: 1.55;
}

.billing-topup-card {
    display: grid;
    align-content: start;
    gap: 14px;
    padding: 24px;
}

.billing-topup-card h2,
.billing-topup-card .billing-balance-topup-section-title,
.billing-history-card h2 {
    margin: 0;
    color: #111827;
    font-family: Inter, Arial, sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
}

.billing-topup-card label {
    position: relative;
    display: grid;
    margin-top: 8px;
}

.billing-topup-card label > span:first-of-type {
    position: absolute;
    top: -9px;
    left: 14px;
    z-index: 1;
    padding: 0 8px;
    color: #667085;
    font-size: 0.82rem;
    font-weight: 700;
    background: #ffffff;
}

.billing-topup-card input {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid #cfd5df;
    border-radius: 10px;
    outline: none;
    color: #344054;
    font: inherit;
    font-weight: 700;
}

.billing-topup-card input:focus {
    border-color: #7c3aed;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

/* Поле суммы пополнения: явно EUR */
.billing-topup-card .billing-amount-input-group {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 48px;
    border: 1px solid #cfd5df;
    border-radius: 10px;
    background: #ffffff;
    overflow: hidden;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.billing-topup-card .billing-amount-input-group:focus-within {
    border-color: #7c3aed;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

.billing-topup-card .billing-amount-input-group input {
    flex: 1;
    min-width: 0;
    width: auto;
    min-height: 46px;
    padding: 0 8px 0 16px;
    border: none !important;
    border-radius: 0;
    box-shadow: none !important;
    outline: none;
    background: transparent;
}

.billing-topup-card .billing-amount-input-group input:focus {
    border: none !important;
    box-shadow: none !important;
}

.billing-amount-currency-tag {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding: 0 14px 0 4px;
    color: #667085;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    user-select: none;
}

/* Billing: кастомный выбор криптовалюты (список вне <label>, иначе клик по пункту снова открывает триггер) */
.billing-crypto-field-wrap {
    position: relative;
    z-index: 1;
}

.billing-crypto-field-wrap.is-open {
    z-index: 100;
}

#billing-topup-form.billing-topup-crypto-open > label:not(.billing-crypto-field) > span:first-of-type {
    visibility: hidden;
    pointer-events: none;
}

.billing-crypto-select {
    position: relative;
}

.billing-crypto-select-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 48px;
    padding: 0 12px 0 10px;
    border: 1px solid #cfd5df;
    border-radius: 10px;
    background: #ffffff;
    color: #344054;
    font: inherit;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.billing-crypto-select-trigger:hover {
    border-color: #b8c0d0;
}

.billing-crypto-select-trigger:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

.billing-crypto-select-trigger .crypto-icon {
    width: 32px;
    height: 32px;
    font-size: 0.82rem;
    flex-shrink: 0;
    grid-row: auto;
}

.billing-crypto-select-trigger-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px;
}

.billing-crypto-select-trigger-text strong {
    color: #111827;
    font-size: 0.95rem;
    font-weight: 800;
}

.billing-crypto-select-trigger-text small {
    color: #667085;
    font-size: 0.82rem;
    font-weight: 700;
}

.billing-crypto-select-sep {
    color: #98a2b3;
    font-weight: 800;
    user-select: none;
}

.billing-crypto-select-chevron {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: #667085;
    transition: transform 0.2s ease;
}

.billing-crypto-field-wrap.is-open .billing-crypto-select-chevron {
    transform: rotate(180deg);
}

.billing-crypto-select-list {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    z-index: 101;
    margin: 0;
    padding: 6px;
    list-style: none;
    border: 1px solid #e2e6ef;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.14);
    max-height: min(52vh, 300px);
    overflow-y: auto;
}

.billing-crypto-select-list[hidden] {
    display: none !important;
}

.billing-crypto-select-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.12s ease;
}

.billing-crypto-select-list li:hover,
.billing-crypto-select-list li:focus-visible {
    outline: none;
    background: #f4f0ff;
}

.billing-crypto-select-list li.is-selected {
    background: #ede9fe;
}

.billing-crypto-select-list .crypto-icon {
    flex-shrink: 0;
    grid-row: auto;
}

.billing-crypto-option-meta {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px;
    min-width: 0;
}

.billing-crypto-option-meta strong {
    color: #111827;
    font-size: 0.95rem;
    font-weight: 800;
}

.billing-crypto-option-meta small {
    color: #667085;
    font-size: 0.82rem;
    font-weight: 700;
}

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

.billing-history-card {
    overflow: hidden;
}

.billing-expenses-card {
    display: grid;
    gap: 18px;
    padding: 22px;
    border: 1px solid #dedfea;
    border-radius: 18px;
    background:
        radial-gradient(circle at 100% 0%, rgba(124, 58, 237, 0.12), transparent 14rem),
        #ffffff;
    box-shadow: 0 16px 36px rgba(31, 41, 55, 0.06);
}

.billing-expenses-card header {
    display: grid;
    gap: 10px;
}

.billing-expenses-card header span {
    color: #667085;
    font-size: 0.88rem;
    font-weight: 800;
}

.billing-expenses-card header strong {
    color: #111827;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.04em;
}

.billing-expenses-list {
    display: grid;
    gap: 10px;
}

.billing-expenses-list div {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid #eceef4;
    border-radius: 12px;
    background: #fbfcff;
}

.billing-expenses-list span,
.billing-expenses-list p {
    margin: 0;
    color: #667085;
    font-size: 0.9rem;
    font-weight: 800;
}

.billing-expenses-list strong {
    color: #dc2626;
    font-size: 0.95rem;
    font-weight: 900;
}

.billing-history-card header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 22px;
    border-bottom: 1px solid #eceef4;
    background:
        linear-gradient(135deg, rgba(124, 58, 237, 0.06), rgba(255, 255, 255, 0) 48%),
        #ffffff;
}

.billing-history-card header > div {
    display: grid;
    gap: 6px;
}

.billing-history-card header span {
    color: #667085;
    font-size: 0.88rem;
    font-weight: 600;
}

.billing-history-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    padding: 8px;
    border: 1px solid #eceef4;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.billing-history-filters label {
    display: grid;
}

.billing-history-filters select,
.billing-history-filters input[type="date"] {
    min-height: 40px;
    min-width: 180px;
    padding: 0 42px 0 16px;
    border: 1px solid transparent;
    border-radius: 12px;
    outline: none;
    color: #344054;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 600;
    background: #f7f8fc;
}

.billing-history-filters select {
    appearance: none;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23344054' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 18px center / 18px 18px,
        #f7f8fc;
}

.billing-history-filters input[type="date"] {
    min-width: 150px;
    padding-right: 16px;
}

.billing-history-filters select:focus,
.billing-history-filters input[type="date"]:focus {
    border-color: #7c3aed;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.08);
}

.billing-history-filters button,
.billing-history-filters a {
    display: inline-flex;
    width: 40px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    align-self: end;
    padding: 0;
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 700;
}

.billing-history-filters svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.billing-history-filters button {
    border: 0;
    color: #ffffff;
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    cursor: pointer;
}

.billing-history-filters a {
    border: 1px solid #dfe3ee;
    color: #4f46e5;
    background: #ffffff;
}

.billing-history-table {
    display: grid;
}

.billing-history-head,
.billing-history-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 2fr;
    gap: 12px 16px;
    align-items: center;
    min-height: 58px;
    padding: 12px 20px;
    border-bottom: 1px solid #eceef4;
}

.billing-history-head {
    color: #667085;
    font-size: 0.82rem;
    font-weight: 600;
    background: #fbfcff;
}

.billing-history-head span,
.billing-history-row span {
    min-width: 0;
}

.billing-history-head span {
    display: flex;
    align-items: center;
}

.billing-history-head span > a {
    width: 100%;
}

.billing-history-head span:nth-child(1),
.billing-history-head span:nth-child(2),
.billing-history-head span:nth-child(3),
.billing-history-row span:nth-child(1),
.billing-history-row span:nth-child(2),
.billing-history-row span:nth-child(3) {
    justify-content: center;
    text-align: center;
}

.billing-history-head span:nth-child(1) > a,
.billing-history-head span:nth-child(2) > a,
.billing-history-head span:nth-child(3) > a {
    justify-content: center;
}

.billing-history-head span:last-child,
.billing-history-row span:last-child {
    justify-content: flex-start;
    text-align: left;
}

.billing-history-head span:last-child > a {
    justify-content: flex-start;
}

.billing-history-head a {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    color: inherit;
    transition: color 0.18s ease, background 0.18s ease;
}

.billing-history-head a:hover,
.billing-history-head a.active {
    color: #4f46e5;
    background: #f1edff;
}

.billing-history-row:last-child {
    border-bottom: 0;
}

.billing-history-row span {
    display: flex;
    align-items: center;
    color: #4b5565;
    font-size: 0.9rem;
    font-weight: 500;
}

.billing-history-row span:first-child {
    justify-content: center;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
    font-weight: 700;
    letter-spacing: -0.01em;
    white-space: nowrap;
    text-align: center;
}

.billing-history-row span:nth-child(2) {
    justify-content: center;
    color: #667085;
    font-size: 0.86rem;
    font-weight: 600;
    white-space: nowrap;
    text-align: center;
}

.billing-history-row span:nth-child(3) {
    justify-content: center;
}

.billing-history-row span:last-child {
    display: grid;
    gap: 3px;
    align-content: center;
    justify-content: flex-start;
    min-width: 0;
}

.billing-history-row strong {
    overflow: hidden;
    color: #111827;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.billing-history-row em {
    color: #98a2b3;
    font-style: normal;
    font-size: 0.8rem;
}

.billing-history-row i {
    display: inline-flex;
    min-width: 104px;
    min-height: 28px;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 999px;
    color: #11966f;
    font-style: normal;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1;
    background: #eaf8f2;
}

.billing-history-row i.status-waiting_payment {
    color: #7c3aed;
    background: #f1edff;
}

.billing-history-row i.status-pending {
    color: #d97706;
    background: #fff7ed;
}

.billing-history-row i.status-completed {
    color: #11966f;
    background: #eaf8f2;
}

.billing-history-row i.status-rejected {
    color: #dc2626;
    background: #fee2e2;
}

.billing-history-row span:first-child.amount-waiting_payment {
    color: #7c3aed;
}

.billing-history-row span:first-child.amount-pending {
    color: #d97706;
}

.billing-history-row span:first-child.amount-completed {
    color: #11966f;
}

.billing-history-row span:first-child.amount-rejected {
    color: #dc2626;
}

.billing-history-row span:first-child.amount-withdrawal {
    color: #dc2626;
}

.billing-empty {
    padding: 28px 22px;
    color: #667085;
}

.payment-card {
    position: relative;
    display: grid;
    max-width: 728px;
    gap: 16px;
    padding: 30px;
    border: 1px solid #dedfea;
    border-radius: 18px;
    background:
        radial-gradient(circle at 100% 0%, rgba(124, 58, 237, 0.16), transparent 18rem),
        #ffffff;
    box-shadow: 0 16px 36px rgba(31, 41, 55, 0.06);
}

.payment-page {
    min-height: 100vh;
}

.payment-center {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 28px;
}

.payment-center > .form-alert,
.payment-center > .dashboard-outline-button {
    width: min(728px, 100%);
}

.payment-center .payment-card {
    width: min(728px, 100%);
}

.payment-card h2 {
    margin: 0;
    color: #111827;
    font-family: Inter, Arial, sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
}

.payment-card > strong {
    color: #111827;
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.payment-card p {
    margin: 0;
    color: #667085;
    line-height: 1.55;
}

.payment-card form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 6px;
}

.payment-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

.payment-steps li {
    min-height: 36px;
    padding: 10px 12px;
    border-radius: 999px;
    color: #667085;
    font-size: 0.82rem;
    font-weight: 800;
    text-align: center;
    background: #f3f4f8;
}

.payment-steps li.active,
.payment-steps li.done {
    color: #4f46e5;
    background: #f1edff;
}

.crypto-payment-form {
    display: grid !important;
    gap: 16px !important;
}

.crypto-currency-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.crypto-currency-grid label {
    cursor: pointer;
}

.crypto-currency-grid input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.crypto-currency-grid span {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 4px 10px;
    min-height: 78px;
    align-items: center;
    padding: 14px;
    border: 1px solid #e2e6ef;
    border-radius: 14px;
    background: #ffffff;
}

.crypto-currency-grid input:checked + span {
    border-color: rgba(109, 61, 245, 0.36);
    background: #f1edff;
    box-shadow: 0 0 0 3px rgba(109, 61, 245, 0.08);
}

.crypto-currency-grid strong {
    color: #111827;
    font-size: 0.95rem;
}

.crypto-currency-grid em {
    grid-column: 2;
    color: #667085;
    font-style: normal;
    font-size: 0.82rem;
    font-weight: 700;
}

.crypto-icon {
    display: grid;
    width: 34px;
    height: 34px;
    grid-row: span 2;
    place-items: center;
    border-radius: 999px;
    color: #ffffff;
    font-style: normal;
    font-size: 0.9rem;
    font-weight: 900;
    box-shadow: 0 10px 20px rgba(31, 41, 55, 0.12);
}

.crypto-icon-usdt_trc20 {
    background: linear-gradient(135deg, #26a17b, #53d3a6);
}

.crypto-icon-usdt_trc20::before {
    content: "₮";
}

.crypto-icon-trx {
    background: linear-gradient(135deg, #ef0027, #ff6b81);
}

.crypto-icon-trx::before {
    content: "T";
}

.crypto-icon-btc {
    background: linear-gradient(135deg, #f7931a, #ffbf57);
}

.crypto-icon-btc::before {
    content: "₿";
}

.crypto-icon-eth {
    background: linear-gradient(135deg, #627eea, #9aaeff);
}

.crypto-icon-eth::before {
    content: "Ξ";
}

.crypto-wallet-box {
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1px solid #e2e6ef;
    border-radius: 16px;
    background: #fbfcff;
}

.crypto-wallet-box span,
.crypto-tx-field span {
    color: #667085;
    font-size: 0.82rem;
    font-weight: 800;
}

.crypto-wallet-box strong {
    color: #111827;
    font-size: 0.95rem;
}

.crypto-wallet-box code {
    overflow-wrap: anywhere;
    padding: 12px;
    border-radius: 12px;
    color: #344054;
    font: 700 0.9rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    background: #ffffff;
}

.crypto-copy-field {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 8px;
}

.crypto-copy-field code {
    display: flex;
    align-items: center;
}

.crypto-copy-icon {
    display: inline-grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid #dddff0;
    border-radius: 10px;
    color: #6d55c8;
    background: #ffffff;
    cursor: pointer;
    transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.crypto-copy-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.crypto-copy-icon .check-svg {
    display: none;
}

.crypto-copy-icon:hover {
    border-color: rgba(109, 61, 245, 0.36);
    background: #f7f5ff;
    box-shadow: 0 10px 22px rgba(109, 61, 245, 0.12);
    transform: translateY(-1px);
}

.crypto-copy-icon.copied {
    color: #11966f;
    border-color: rgba(17, 150, 111, 0.25);
    background: #eaf8f2;
}

.crypto-copy-icon.copied .copy-svg {
    display: none;
}

.crypto-copy-icon.copied .check-svg {
    display: block;
}

.crypto-payment-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.crypto-payment-summary > div {
    display: grid;
    gap: 6px;
    padding: 16px;
    border: 1px solid #e2e6ef;
    border-radius: 16px;
    background: #fbfcff;
}

.crypto-payment-summary > div > span {
    color: #667085;
    font-size: 0.82rem;
    font-weight: 800;
}

.crypto-payment-summary strong {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #111827;
    font-size: 1.05rem;
    font-weight: 900;
}

.crypto-payment-summary .crypto-copy-icon {
    width: 34px;
    height: 34px;
}

.crypto-payment-summary .crypto-copy-icon svg {
    width: 17px;
    height: 17px;
}

.crypto-auto-note {
    padding: 12px 14px;
    border: 1px solid #e2e6ef;
    border-radius: 14px;
    color: #667085;
    font-size: 0.88rem;
    line-height: 1.45;
    background: #fbfcff;
}

.crypto-tx-field {
    display: grid;
    gap: 8px;
}

.crypto-tx-field input {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid #cfd5df;
    border-radius: 10px;
    outline: none;
    color: #344054;
    font: inherit;
    font-weight: 700;
}

.crypto-tx-field input:focus {
    border-color: #7c3aed;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

.crypto-payment-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.payment-expired {
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1px solid #e2e6ef;
    border-radius: 16px;
    background: #fbfcff;
}

.payment-countdown {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 1;
}

.payment-countdown strong {
    color: #111827;
    font-size: 1.15rem;
    font-weight: 900;
}

.payment-countdown.is-green strong {
    color: #11966f;
}

.payment-countdown.is-orange strong {
    color: #d97706;
}

.payment-countdown.is-red strong {
    color: #dc2626;
}

.payment-expired {
    justify-items: start;
    border-color: #fecaca;
    background: #fff5f5;
}

.payment-expired h2 {
    margin: 0;
    color: #991b1b;
    font-size: 1.2rem;
}

.payment-expired p {
    margin: 0;
    color: #7f1d1d;
}

.payment-processing {
    display: grid;
    justify-items: center;
    gap: 14px;
    padding: 24px;
    border: 1px solid #e2e6ef;
    border-radius: 18px;
    background: #fbfcff;
    text-align: center;
}

.payment-spinner {
    width: 58px;
    height: 58px;
    border: 5px solid #ede9fe;
    border-top-color: #6d3df5;
    border-radius: 999px;
    animation: payment-spin 0.9s linear infinite;
}

.payment-spinner.completed {
    display: grid;
    place-items: center;
    border-color: #11966f;
    animation: none;
}

.payment-spinner.completed::after {
    width: 24px;
    height: 13px;
    border-bottom: 4px solid #11966f;
    border-left: 4px solid #11966f;
    content: "";
    transform: rotate(-45deg) translate(1px, -1px);
}

.payment-processing h2 {
    margin: 0;
    color: #111827;
    font-family: Inter, Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
}

.payment-processing p {
    max-width: 420px;
    margin: 0;
}

.payment-processing-meta {
    display: grid;
    gap: 4px;
    min-width: min(100%, 280px);
    padding: 14px 16px;
    border-radius: 14px;
    background: #ffffff;
}

.payment-processing-meta span {
    color: #667085;
    font-size: 0.82rem;
    font-weight: 800;
}

.payment-processing-meta strong {
    color: #111827;
    font-size: 1rem;
    font-weight: 900;
}

@keyframes payment-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 980px) {
    .nav-inner {
        flex-wrap: wrap;
        padding: 12px 0;
    }

    .nav-links {
        order: 3;
        width: 100%;
        flex-wrap: wrap;
    }

    .form-grid,
    .service-options {
        grid-template-columns: 1fr;
    }

    .form-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .grid-2,
    .grid-3,
    .contact-box,
    .auth-shell,
    .faq-layout {
        grid-template-columns: 1fr;
    }

    .pricing-group-head {
        display: block;
    }

    .pricing-group-head p {
        margin-top: 14px;
    }

    .faq-sidebar {
        position: static;
    }

    .site-footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .dashboard-shell {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        position: static;
        height: auto;
        border-right: 0;
        border-bottom: 1px solid #e7e9f2;
    }

    .dashboard-menu {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-sidebar-card {
        margin-top: 0;
    }

    .dashboard-topbar,
    .dashboard-hero-card {
        align-items: stretch;
        flex-direction: column;
        grid-template-columns: 1fr;
    }

    .dashboard-topbar {
        position: static;
    }

    .dashboard-stats-grid,
    .dashboard-content-grid {
        grid-template-columns: 1fr 1fr;
    }

    .dashboard-content-grid {
        align-items: stretch;
    }
}

@media (max-width: 640px) {
    .dashboard-search-suggestions {
        min-width: 100%;
    }

    .dashboard-search-suggestion {
        grid-template-columns: 1fr;
    }

    .dashboard-search-suggestion em {
        width: fit-content;
    }

    .container {
        width: min(100% - 28px, 1180px);
    }

    .nav-actions {
        width: auto;
        gap: 6px;
        padding: 4px;
        justify-content: flex-end;
    }

    .nav-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px 12px;
        min-height: 0;
        padding: 10px 0 8px;
    }

    .nav {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .brand {
        min-width: 0;
        font-size: 1.35rem;
    }

    .brand-mark,
    .brand-mark img {
        width: 36px !important;
        height: 36px !important;
        max-width: 36px !important;
        max-height: 36px !important;
    }

    .nav-links {
        order: 3;
        grid-column: 1 / -1;
        display: flex;
        width: 100%;
        gap: 6px;
        overflow-x: auto;
        padding: 2px 0 4px;
        flex-wrap: nowrap;
        scrollbar-width: none;
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-links a {
        display: inline-flex;
        flex: 0 0 auto;
        min-height: 30px;
        align-items: center;
        justify-content: center;
        padding: 0 11px;
        border: 0;
        border-radius: 11px;
        color: rgba(247, 251, 255, 0.78);
        background: rgba(255, 255, 255, 0.055);
        font-size: 0.74rem;
        font-weight: 800;
        letter-spacing: -0.015em;
        white-space: nowrap;
    }

    .nav-links a.active,
    .nav-links a:hover {
        color: #031019;
        background: linear-gradient(135deg, var(--accent), var(--accent-2));
    }

    :root[data-theme="light"] .nav-links a {
        color: #526177;
        background: rgba(255, 255, 255, 0.72);
    }

    :root[data-theme="light"] .nav-links a.active,
    :root[data-theme="light"] .nav-links a:hover {
        color: #ffffff;
        background: linear-gradient(135deg, #087dff, #6246ea);
    }

    .language-switch a {
        min-width: 36px;
        min-height: 32px;
        font-size: 0.72rem;
    }

    .theme-toggle,
    .nav-icon-button {
        width: 40px;
        min-width: 40px;
        height: 40px;
        min-height: 40px;
    }

    .page-hero {
        padding-top: 34px;
    }

    .auth-section {
        min-height: auto;
        padding: 22px 0 34px;
    }

    .auth-shell {
        gap: 18px;
    }

    .auth-card {
        padding: 24px;
        border-radius: 24px;
    }

    .auth-card h1 {
        font-size: clamp(2rem, 9vw, 2.8rem);
        line-height: 1.05;
    }

    .site-footer-shell {
        padding: 24px;
        border-radius: 28px;
    }

    .site-footer-main {
        grid-template-columns: 1fr;
    }

    .site-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-sidebar {
        position: sticky;
        top: 0;
        z-index: 80;
        gap: 14px;
        padding: 14px 16px 12px;
        border-right: 0;
        border-bottom: 1px solid rgba(226, 232, 240, 0.9);
        background: rgba(248, 250, 252, 0.96);
        box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
        backdrop-filter: blur(18px);
    }

    .dashboard-topbar,
    .dashboard-main {
        padding-right: 16px;
        padding-left: 16px;
    }

    .dashboard-brand {
        gap: 10px;
        padding: 0 2px;
        font-size: 1.12rem;
    }

    .dashboard-brand-mark,
    .dashboard-brand-mark img {
        width: 38px;
        height: 38px;
    }

    .dashboard-brand-mark {
        border-radius: 13px;
    }

    .dashboard-menu {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        padding: 2px 2px 8px;
        margin: 0 -2px -6px;
        scrollbar-width: none;
        grid-template-columns: none;
    }

    .dashboard-menu::-webkit-scrollbar {
        display: none;
    }

    .dashboard-menu a {
        flex: 0 0 auto;
        min-height: 44px;
        min-width: 84px;
        gap: 8px;
        padding: 0 12px 0 9px;
        border-radius: 15px;
        font-size: 0.86rem;
        white-space: nowrap;
        transform: none !important;
    }

    .dashboard-menu a span {
        width: 32px;
        height: 32px;
        border-radius: 11px;
    }

    .dashboard-menu a span.menu-icon::before {
        width: 15px;
        height: 15px;
    }

    .dashboard-sidebar-card {
        display: none;
    }

    .dashboard-topbar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
        align-items: center;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .dashboard-search {
        width: 100%;
        min-height: 46px;
        border-radius: 15px;
    }

    .dashboard-topbar-actions {
        width: auto;
        align-items: center;
        flex-direction: row;
    }

    .dashboard-avatar {
        width: 46px;
        height: 46px;
        align-self: center;
        box-shadow: 0 16px 30px rgba(88, 28, 135, 0.2);
    }

    .dashboard-user-menu {
        align-self: center;
    }

    .dashboard-stats-grid,
    .dashboard-content-grid,
    .dashboard-service-row {
        grid-template-columns: 1fr;
    }

    .dashboard-outline-button,
    .dashboard-primary-button {
        width: 100%;
    }

    .dashboard-user-dropdown {
        top: calc(100% + 12px);
        right: 0;
        left: auto;
        z-index: 260;
        width: min(340px, calc(100vw - 24px));
        max-height: calc(100dvh - 160px);
        overflow: auto;
        transform: none;
        -webkit-overflow-scrolling: touch;
    }

    .dashboard-user-dropdown::before {
        right: 15px;
    }

    .dashboard-panel-head,
    .dashboard-profile-list div {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-profile-list dd {
        text-align: left;
    }

    .account-page {
        width: min(100% - 28px, 940px);
        padding-top: 24px;
    }

    .account-page-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .account-info-list a,
    .account-info-list div,
    .account-info-list label {
        grid-template-columns: 1fr auto;
        gap: 6px 14px;
        padding: 14px 16px;
    }

    .account-info-list span {
        grid-column: 1 / -1;
    }

    .account-edit-list input {
        grid-column: 1 / -1;
    }

    .security-page {
        width: min(100% - 28px, 1050px);
    }

    .security-method-row {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .security-action-button {
        grid-column: 2;
        justify-self: start;
    }

    .notifications-page {
        width: min(100% - 28px, 1050px);
    }

    .notifications-grid {
        grid-template-columns: minmax(180px, 1fr) 64px 64px 86px;
        gap: 10px;
    }

    .notifications-grid-head,
    .notifications-row {
        padding-right: 14px;
        padding-left: 14px;
    }

    .billing-page {
        width: calc(100% - 28px);
    }

    .service-request-page {
        width: calc(100% - 28px);
    }

    .billing-summary-grid,
    .billing-details-grid,
    .billing-history-head,
    .billing-history-row {
        grid-template-columns: 1fr;
    }

    .billing-history-card header,
    .billing-history-filters {
        align-items: stretch;
        flex-direction: column;
    }

    .billing-history-filters {
        justify-content: stretch;
    }

    .billing-history-filters select,
    .billing-history-filters button,
    .billing-history-filters a {
        width: 100%;
    }

    .billing-history-row span:first-child,
    .billing-history-row span:last-child {
        justify-content: flex-start;
        text-align: left;
    }

    .crypto-currency-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .payment-steps,
    .crypto-payment-summary {
        grid-template-columns: 1fr;
    }
}

.service-admin-page .service-admin-overview {
    display: grid;
    gap: 22px;
}

.service-admin-section {
    display: grid;
    gap: 14px;
    padding: 20px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 22px 70px rgba(15, 23, 42, 0.08);
}

.service-admin-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.service-admin-section__head h2 {
    margin: 0;
    color: #111827;
    font-size: 1.25rem;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.service-admin-section__count {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 999px;
    color: #4f46e5;
    font-size: 0.78rem;
    font-weight: 900;
    background: rgba(79, 70, 229, 0.1);
}

.service-admin-list {
    display: grid;
    gap: 8px;
}

.service-admin-card {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 18px;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
}

.service-admin-card__icon {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, #f59e0b, #f97316);
}

.service-admin-card__icon--active {
    background: linear-gradient(135deg, #10b981, #059669);
}

.service-admin-card__icon--payment {
    background: linear-gradient(135deg, #8b5cf6, #4f46e5);
}

.service-admin-card__icon--frozen,
.service-admin-card__icon--blocked {
    background: linear-gradient(135deg, #ef4444, #b91c1c);
}

.service-admin-card__icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-admin-card__main,
.service-admin-card__side {
    min-width: 0;
}

.service-admin-card__top {
    display: flex;
    min-height: 28px;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.service-admin-card__top span {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    color: #4f46e5;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: #eef2ff;
}

.service-admin-card__top strong {
    overflow: hidden;
    color: #111827;
    font-size: 0.96rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.service-admin-card__main p {
    overflow: hidden;
    margin: 6px 0 0;
    color: #667085;
    font-size: 0.78rem;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.service-admin-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.service-admin-card__meta span {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    color: #667085;
    font-size: 0.7rem;
    font-weight: 800;
    background: #f1f5f9;
}

.service-admin-card__side {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.service-admin-status-form {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    padding: 3px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #ffffff;
}

.service-admin-status-form select {
    min-height: 30px;
    padding: 0 30px 0 10px;
    border: 0;
    border-radius: 999px;
    color: #111827;
    font: inherit;
    font-size: 0.76rem;
    font-weight: 900;
    outline: none;
    background-color: transparent;
    cursor: pointer;
}

.service-admin-status-form button {
    display: inline-grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    cursor: pointer;
    background: linear-gradient(135deg, #4f46e5, #087dff);
}

.service-admin-status-form button svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-admin-empty {
    padding: 22px;
    border: 1px dashed #dbe3ef;
    border-radius: 22px;
    color: #667085;
    font-size: 0.85rem;
    font-weight: 800;
    text-align: center;
    background: #f8fafc;
}

.service-admin-page .service-admin-list {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
}

.service-admin-page .service-admin-card {
    position: relative;
    overflow: hidden;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    min-height: 188px;
    padding: 16px;
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: 22px;
    background:
        radial-gradient(circle at 92% 0%, rgba(14, 165, 233, 0.08), transparent 42%),
        linear-gradient(180deg, #ffffff, #f8fafc);
    box-shadow:
        0 14px 34px rgba(15, 23, 42, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.service-admin-page .service-admin-card__icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.18);
}

.service-admin-page .service-admin-card__main {
    display: grid;
    min-width: 0;
    gap: 9px;
}

.service-admin-page .service-admin-card__top {
    display: grid;
    min-height: 0;
    gap: 7px;
    align-items: start;
}

.service-admin-page .service-admin-card__top span {
    width: fit-content;
    min-height: 22px;
    padding: 0 9px;
    color: #4f46e5;
    font-size: 0.62rem;
    background: rgba(79, 70, 229, 0.09);
}

.service-admin-page .service-admin-card__top strong {
    color: #111827;
    font-size: 1.02rem;
    letter-spacing: -0.035em;
    text-transform: none;
    white-space: normal;
}

.service-admin-page .service-admin-card__main p {
    display: none;
}

.service-request-page--vpn .service-admin-vpn-location {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    margin-top: 4px;
}

.service-request-page--vpn .service-admin-vpn-location__flag {
    display: grid;
    width: 78px;
    height: 66px;
    place-items: center;
    border: 1px solid rgba(226, 232, 240, 0.96);
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    box-shadow:
        0 10px 22px rgba(15, 23, 42, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.service-request-page--vpn .service-admin-vpn-location__flag img {
    width: 46px;
    height: 46px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    object-fit: cover;
    box-shadow:
        0 8px 16px rgba(15, 23, 42, 0.14),
        0 0 0 1px rgba(15, 23, 42, 0.08);
}

.service-request-page--vpn .service-admin-vpn-location__body {
    display: grid;
    min-height: 66px;
    align-content: center;
    gap: 8px;
    min-width: 0;
    padding: 0 16px;
    border: 1px solid rgba(226, 232, 240, 0.96);
    border-radius: 18px;
    background:
        radial-gradient(circle at 92% 0%, rgba(79, 70, 229, 0.07), transparent 44%),
        linear-gradient(180deg, #ffffff, #f8fafc);
}

.service-request-page--vpn .service-admin-vpn-location__body > span {
    color: #7c8aa0;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.service-request-page--vpn .service-admin-vpn-location__body strong {
    overflow: hidden;
    color: #111827;
    font-size: 1.04rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.service-admin-page .service-admin-card__meta {
    display: none;
}

.service-admin-page .service-admin-card__meta span {
    max-width: 100%;
    overflow: hidden;
    padding: 5px 8px;
    color: #64748b;
    font-size: 0.67rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
    background: #f1f5f9;
}

.service-admin-page .service-admin-card__side {
    grid-column: 1 / -1;
    display: grid;
    align-items: stretch;
    justify-items: stretch;
    margin-top: 4px;
}

.service-admin-page .service-admin-status-form {
    width: 100%;
    justify-content: stretch;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34px;
}

.service-admin-page .service-admin-status-form select {
    width: 100%;
    flex: 1 1 auto;
    min-width: 0;
}

.service-admin-page .service-admin-status-form button {
    width: 34px;
    height: 34px;
}

.service-admin-page .service-admin-card--websites .service-admin-card__side {
    grid-template-columns: minmax(0, 1fr) 40px 40px;
    gap: 8px;
    align-items: center;
}

.service-admin-card__title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.service-admin-card__title-row strong {
    min-width: 0;
}

.service-admin-website-monthly-badge {
    flex: 0 0 auto;
    padding: 3px 8px;
    border: 1px solid rgba(249, 115, 22, 0.22);
    border-radius: 999px;
    color: #c2410c;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    white-space: nowrap;
    background: linear-gradient(180deg, #fff7ed, #ffffff);
}

.service-admin-page .service-admin-website-settings-button {
    display: inline-grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 14px;
    color: #0284c7;
    cursor: pointer;
    background: rgba(14, 165, 233, 0.09);
}

.service-admin-page .service-admin-website-settings-button svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-website-settings-modal {
    width: min(640px, calc(100% - 24px));
}

.service-website-settings-modal .rd-order-modal__header p {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 600;
}

.service-website-settings-body {
    display: grid;
    gap: 14px;
    padding: 4px 0 2px;
}

.service-website-settings-section {
    padding: 14px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 18px;
    background:
        radial-gradient(circle at 100% 0%, rgba(79, 70, 229, 0.05), transparent 42%),
        linear-gradient(180deg, #ffffff, #f8fafc);
}

.service-website-settings-section--billing {
    border-color: rgba(34, 197, 94, 0.18);
    background:
        radial-gradient(circle at 100% 0%, rgba(34, 197, 94, 0.08), transparent 44%),
        linear-gradient(180deg, #ffffff, #f0fdf4);
}

.service-website-settings-section__title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.service-website-settings-section__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex: 0 0 auto;
}

.service-website-settings-section__dot--orange { background: #f97316; }
.service-website-settings-section__dot--blue { background: #0ea5e9; }
.service-website-settings-section__dot--purple { background: #7c3aed; }
.service-website-settings-section__dot--green { background: #22c55e; }

.service-website-settings-section__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.service-website-settings-section__full {
    grid-column: 1 / -1;
}

.service-website-settings-amount {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
}

.service-website-settings-amount > span {
    color: #64748b;
    font-size: 1rem;
    font-weight: 900;
}

.service-website-settings-hint {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 1.45;
}

@media (max-width: 560px) {
    .service-website-settings-section__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .service-admin-card {
        grid-template-columns: 40px minmax(0, 1fr);
    }

    .service-admin-card__side {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .service-admin-status-form {
        width: 100%;
    }

    .service-admin-status-form select {
        flex: 1;
    }
}

/* Mobile dashboard system overrides */
@media (max-width: 980px) {
    .dashboard-shell {
        display: block;
        min-height: 100vh;
    }

    .dashboard-sidebar {
        position: static;
        height: auto;
        min-height: 0;
        gap: 14px;
        padding: 16px 18px 14px;
        border-right: 0;
        border-bottom: 1px solid rgba(226, 232, 240, 0.92);
        background: rgba(248, 250, 252, 0.96);
        box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
        backdrop-filter: blur(18px);
    }

    .dashboard-brand {
        min-height: 42px;
        padding: 0;
    }

    .dashboard-menu {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        padding: 2px 2px 8px;
        margin: 0 -2px -6px;
        scrollbar-width: none;
        grid-template-columns: none;
    }

    .dashboard-menu::-webkit-scrollbar {
        display: none;
    }

    .dashboard-menu a {
        flex: 0 0 auto;
        min-width: 86px;
        min-height: 44px;
        gap: 8px;
        padding: 0 12px 0 9px;
        border-radius: 15px;
        font-size: 0.86rem;
        white-space: nowrap;
        transform: none !important;
    }

    .dashboard-menu a span {
        width: 32px;
        height: 32px;
        border-radius: 11px;
    }

    .dashboard-sidebar-card {
        display: none;
    }

    .dashboard-topbar {
        position: static;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
        align-items: center;
        padding: 14px 18px;
    }

    .dashboard-topbar-actions {
        width: auto;
        flex-direction: row;
        align-items: center;
    }

    .dashboard-search {
        width: 100%;
        min-height: 46px;
        border-radius: 15px;
    }

    .dashboard-avatar {
        width: 46px;
        height: 46px;
        align-self: center;
    }

    .dashboard-main,
    .account-page {
        width: min(100% - 28px, 1180px);
        margin-right: auto;
        margin-left: auto;
    }

    .dashboard-stats-grid,
    .dashboard-content-grid,
    .billing-summary-grid,
    .billing-details-grid,
    .security-method-row,
    .notifications-grid,
    .servers-grid,
    .clients-hero,
    .service-folder-stack,
    .rd-widget-grid {
        min-width: 0;
    }

    .dashboard-stats-grid,
    .dashboard-content-grid,
    .billing-summary-grid,
    .billing-details-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 640px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .dashboard-sidebar {
        padding: 12px 14px 10px;
        gap: 11px;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    }

    .dashboard-brand {
        gap: 9px;
        font-size: 1.08rem;
    }

    .dashboard-brand-mark,
    .dashboard-brand-mark img {
        width: 36px;
        height: 36px;
    }

    .dashboard-menu {
        gap: 7px;
        padding-bottom: 6px;
    }

    .dashboard-menu a {
        min-width: 76px;
        min-height: 40px;
        padding: 0 10px 0 7px;
        border-radius: 14px;
        font-size: 0.8rem;
    }

    .dashboard-menu a span {
        width: 29px;
        height: 29px;
        border-radius: 10px;
    }

    .dashboard-menu a span.menu-icon::before {
        width: 14px;
        height: 14px;
    }

    .dashboard-topbar {
        grid-template-columns: minmax(0, 1fr) 44px;
        position: relative;
        z-index: 120;
        overflow: visible;
        padding: 12px 14px;
    }

    .dashboard-search {
        min-height: 44px;
        padding: 0 13px;
    }

    .dashboard-search input {
        min-width: 0;
        font-size: 0.9rem;
    }

    .dashboard-avatar {
        width: 44px;
        height: 44px;
    }

    .dashboard-user-menu {
        position: static;
    }

    .dashboard-user-dropdown {
        position: absolute !important;
        top: calc(100% + 10px) !important;
        right: 14px !important;
        left: 14px !important;
        z-index: 320 !important;
        width: auto !important;
        max-height: calc(100dvh - 150px) !important;
        overflow: auto !important;
        transform: none !important;
        border-radius: 22px !important;
        box-shadow:
            0 24px 70px rgba(15, 23, 42, 0.22),
            0 8px 24px rgba(15, 23, 42, 0.1) !important;
        -webkit-overflow-scrolling: touch;
    }

    .dashboard-user-dropdown::before {
        right: 20px !important;
    }

    .dashboard-user-dropdown-head {
        padding: 10px 12px 14px;
    }

    .dashboard-user-dropdown-list > a,
    .dashboard-language-row {
        min-height: 50px;
        padding: 0 12px;
        font-size: 0.98rem;
    }

    .dashboard-main,
    .account-page {
        width: min(100% - 24px, 1180px);
        padding-top: 18px;
    }

    .account-breadcrumbs {
        max-width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
    }

    .account-breadcrumbs::-webkit-scrollbar {
        display: none;
    }

    .account-page-head h1,
    .dashboard-hero-card h1 {
        font-size: clamp(1.7rem, 9vw, 2.4rem);
        line-height: 1.02;
    }

    .dashboard-stats-grid {
        gap: 14px;
    }

    .dashboard-stats-grid article,
    .dashboard-panel,
    .account-card,
    .billing-history-card,
    .billing-expenses-card,
    .billing-balance-topup-card,
    .billing-current-month-expenses-card,
    .notifications-card,
    .security-card,
    .servers-card {
        border-radius: 22px;
    }

    .rd-widget-grid,
    .servers-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 14px !important;
    }

    .rd-widget,
    .servers-card {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
    }

    .rd-widget-instance-connect-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rd-widget-instance-main-actions,
    .service-website-actions,
    .service-vpn-actions,
    .service-email-actions,
    .service-generic-actions {
        grid-template-columns: 1fr !important;
        min-width: 0 !important;
    }

    .rd-widget-instance-actions,
    .rd-widget-instance-control-panel {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .service-folder-head {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .service-folder-head__actions {
        justify-content: flex-start;
    }

    .billing-history-head {
        display: none;
    }

    .billing-history-row {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px;
        padding: 14px 16px;
        border: 1px solid #edf0f7;
        border-radius: 18px;
        background: #ffffff;
    }

    .billing-history-row > span,
    .billing-admin-cell {
        display: grid !important;
        grid-template-columns: 1fr auto;
        gap: 8px;
        min-width: 0;
        align-items: center;
        text-align: left;
    }

    .billing-topup-card {
        gap: 16px !important;
    }

    .billing-topup-card label,
    .billing-topup-card .security-action-button {
        width: 100% !important;
    }

    .billing-history-card header {
        display: grid !important;
        gap: 16px !important;
        padding: 18px !important;
    }

    .billing-history-filters {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        gap: 10px !important;
        width: 100% !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    .billing-history-filters label,
    .billing-history-filters select,
    .billing-history-filters input[type="date"],
    .billing-history-filters button,
    .billing-history-filters a {
        width: 100% !important;
        min-width: 0 !important;
    }

    .billing-history-filters label:first-child,
    .billing-history-filters button,
    .billing-history-filters a {
        grid-column: 1 / -1;
    }

    .billing-history-row strong {
        white-space: normal;
    }

    .billing-history-row i {
        min-width: 104px;
        justify-content: center;
    }

    .notifications-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .notifications-grid-head {
        display: none !important;
    }

    .notifications-row {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 14px !important;
        padding: 16px !important;
        border: 1px solid #edf0f7;
        border-radius: 18px;
        background: #ffffff;
    }

    .notifications-row > input {
        justify-self: start;
    }

    .notifications-channel {
        display: flex !important;
        width: 100%;
        min-height: 42px;
        align-items: center;
        justify-content: space-between;
        padding: 0 12px;
        border: 1px solid #edf0f7;
        border-radius: 14px;
        background: #f8fafc;
    }

    .notifications-channel small {
        display: inline-flex;
    }

    .notifications-channel input {
        margin: 0 !important;
    }

    .notifications-row > span {
        min-width: 0;
    }

    .notifications-row > span strong,
    .notifications-row > span em {
        overflow-wrap: anywhere;
    }

    .notifications-row input {
        margin-right: 12px;
    }

    .account-card {
        margin-top: 16px;
    }

    .account-card-head {
        min-height: 54px;
        padding: 14px 18px;
    }

    .account-card-note {
        padding: 16px 18px;
        font-size: 0.95rem;
    }

    .account-info-list a,
    .account-info-list div,
    .account-info-list label,
    .account-edit-trigger {
        grid-template-columns: 1fr !important;
        gap: 6px !important;
        padding: 14px 18px !important;
    }

    .account-info-list span {
        grid-column: auto !important;
        font-size: 0.9rem;
    }

    .account-info-list strong {
        min-width: 0;
        justify-content: flex-start;
        font-size: 0.96rem;
        overflow-wrap: anywhere;
    }

    .account-info-list em {
        display: none;
    }

    .clients-hero,
    .servers-hero {
        grid-template-columns: 1fr !important;
        padding: 20px !important;
        border-radius: 24px !important;
    }

    .clients-hero-stats,
    .servers-stats,
    .servers-resources {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .account-modal,
    .account-modal.rd-order-modal,
    .dashboard-language-modal,
    .client-modal,
    .service-folders-modal {
        width: calc(100vw - 20px) !important;
        max-width: calc(100vw - 20px) !important;
        max-height: calc(100dvh - 20px) !important;
        overflow: auto !important;
        border-radius: 22px !important;
    }

    .rd-order-modal__shell,
    .rd-control-modal__shell,
    .client-modal,
    .dashboard-language-modal,
    .account-modal {
        overflow: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    .rd-order-modal__header,
    .rd-control-modal__header,
    .client-modal-head {
        gap: 12px !important;
        padding: 18px !important;
    }

    .dashboard-language-modal {
        padding: 28px 22px;
    }

    .dashboard-language-modal-grid,
    .client-modal-grid {
        grid-template-columns: 1fr !important;
    }

    .account-modal-actions,
    .rd-order-modal__actions,
    .service-request-modal__actions {
        align-items: stretch !important;
        flex-direction: column !important;
    }

    .account-modal-actions button,
    .account-modal-actions a,
    .rd-order-modal__actions button,
    .rd-order-modal__actions a,
    .service-request-modal__actions button,
    .service-request-modal__actions a {
        width: 100% !important;
    }
}

@media (max-width: 380px) {
    .dashboard-menu a {
        min-width: 66px;
        padding-right: 9px;
        font-size: 0.76rem;
    }

    .dashboard-menu a span {
        width: 27px;
        height: 27px;
    }

    .dashboard-search {
        padding: 0 11px;
    }

    .clients-hero-stats,
    .servers-stats,
    .servers-resources,
    .rd-widget-instance-actions,
    .rd-widget-instance-control-panel,
    .rd-widget-instance-connect-panel {
        grid-template-columns: 1fr !important;
    }
}
