:root {
    --ca-bg: #07131f;
    --ca-bg-soft: #0d1b2a;
    --ca-surface: rgba(255, 255, 255, 0.9);
    --ca-surface-strong: #ffffff;
    --ca-surface-muted: rgba(239, 244, 248, 0.86);
    --ca-surface-dark: rgba(10, 24, 38, 0.86);
    --ca-line: rgba(134, 154, 176, 0.22);
    --ca-line-strong: rgba(134, 154, 176, 0.34);
    --ca-text: #163047;
    --ca-text-soft: #4e667b;
    --ca-text-muted: #73879b;
    --ca-heading: #071b2c;
    --ca-primary: #0f5bd7;
    --ca-primary-strong: #083f98;
    --ca-primary-soft: rgba(15, 91, 215, 0.12);
    --ca-accent: #11b3a3;
    --ca-accent-soft: rgba(17, 179, 163, 0.12);
    --ca-success: #1f9d63;
    --ca-success-soft: rgba(31, 157, 99, 0.14);
    --ca-warning: #d98612;
    --ca-warning-soft: rgba(217, 134, 18, 0.14);
    --ca-danger: #d04b4b;
    --ca-danger-soft: rgba(208, 75, 75, 0.12);
    --ca-shadow: 0 20px 60px rgba(6, 18, 30, 0.12);
    --ca-shadow-soft: 0 10px 30px rgba(6, 18, 30, 0.08);
    --ca-radius-xl: 28px;
    --ca-radius-lg: 22px;
    --ca-radius-md: 16px;
    --ca-radius-sm: 12px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    background:
        radial-gradient(circle at top left, rgba(17, 179, 163, 0.16), transparent 26%),
        radial-gradient(circle at top right, rgba(15, 91, 215, 0.18), transparent 24%),
        linear-gradient(180deg, #f4f8fb 0%, #edf3f8 46%, #f7fafc 100%);
    color: var(--ca-text);
    font-family: "Manrope", "Segoe UI", sans-serif;
    line-height: 1.6;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.28) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.28) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 70%);
    z-index: -1;
}

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

img {
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

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

.top-header {
    position: sticky;
    top: 0;
    z-index: 60;
    backdrop-filter: blur(22px);
    background: rgba(247, 250, 252, 0.78);
    border-bottom: 1px solid rgba(134, 154, 176, 0.18);
}

.top-header-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand-mark {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0f5bd7, #11b3a3);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.12em;
    box-shadow: 0 16px 40px rgba(15, 91, 215, 0.22);
}

.brand-mark.has-logo {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(134, 154, 176, 0.18);
    box-shadow: var(--ca-shadow-soft);
    padding: 8px;
}

.brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.brand-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.brand-copy-title,
.brand-text {
    color: var(--ca-heading);
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.brand-copy-subtitle {
    color: var(--ca-text-muted);
    font-size: 0.77rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.head-right,
.top-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--ca-text-soft);
    font-size: 0.93rem;
}

.mobile-menu-toggle,
.mobile-nav-close {
    display: none;
}

.mobile-menu-toggle {
    min-height: 44px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid rgba(134, 154, 176, 0.22);
    background: rgba(255, 255, 255, 0.92);
    color: var(--ca-heading);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    cursor: pointer;
    align-items: center;
    gap: 10px;
    box-shadow: var(--ca-shadow-soft);
}

.mobile-menu-icon {
    position: relative;
    width: 18px;
    height: 12px;
    display: inline-block;
}

.mobile-menu-icon::before,
.mobile-menu-icon::after,
.mobile-menu-icon span {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.mobile-menu-icon::before {
    top: 0;
}

.mobile-menu-icon span {
    top: 5px;
}

.mobile-menu-icon::after {
    bottom: 0;
}

.divider {
    width: 1px;
    height: 24px;
    background: rgba(134, 154, 176, 0.28);
}

.platform-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(134, 154, 176, 0.22);
    box-shadow: var(--ca-shadow-soft);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ca-heading);
}

.platform-pill::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--ca-accent);
    box-shadow: 0 0 0 5px rgba(17, 179, 163, 0.16);
}

.main-nav {
    position: sticky;
    top: 86px;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: rgba(10, 24, 38, 0.92);
    border-bottom: 1px solid rgba(102, 127, 151, 0.18);
    box-shadow: 0 12px 28px rgba(8, 18, 30, 0.12);
}

.main-nav-inner {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 0;
}

.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.nav-item {
    position: relative;
}

.nav-item::after,
.store-dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 14px;
}

.store-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.mobile-nav-head,
.mobile-nav-overlay {
    display: none;
}

.nav-link,
.main-nav a,
.store-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    color: rgba(235, 244, 255, 0.84);
    font-size: 0.95rem;
    font-weight: 700;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.main-nav a:hover,
.store-trigger:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.nav-caret {
    width: 10px;
    height: 10px;
    display: inline-block;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    opacity: 0.85;
}

.nav-account-link {
    gap: 12px;
    padding-right: 14px;
}

.account-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.account-chip-avatar {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(17, 179, 163, 0.24), rgba(15, 91, 215, 0.24));
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.account-chip-copy {
    display: grid;
    gap: 1px;
    min-width: 0;
}

.account-chip-copy strong {
    color: #fff;
    font-size: 0.93rem;
    line-height: 1.15;
}

.account-chip-copy small {
    color: rgba(235, 244, 255, 0.62);
    font-size: 0.72rem;
    line-height: 1.15;
}

.menu,
.store-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 240px;
    width: max-content;
    max-width: min(280px, calc(100vw - 32px));
    padding: 10px;
    border-radius: 20px;
    border: 1px solid rgba(134, 154, 176, 0.18);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    box-shadow: 0 22px 50px rgba(9, 20, 31, 0.16);
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 80;
}

.menu::before,
.store-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
    height: 10px;
}

.nav-item:hover .menu,
.nav-item:focus-within .menu,
.store-dropdown:hover .store-menu,
.store-dropdown:focus-within .store-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.store-dropdown:hover .store-trigger,
.store-dropdown:focus-within .store-trigger {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.menu a,
.store-menu a,
.store-menu .store-item,
.menu .menu-button {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: var(--ca-text);
    text-align: left;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.menu a:hover,
.menu a.active,
.store-menu a:hover,
.store-menu a.active,
.store-menu .store-item:hover,
.store-menu .store-item.active,
.menu .menu-button:hover {
    background: rgba(15, 91, 215, 0.08);
    color: var(--ca-primary-strong);
}

.menu-label {
    display: block;
    padding: 8px 14px 6px;
    color: var(--ca-text-muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.menu-divider {
    height: 1px;
    margin: 8px 0;
    background: rgba(134, 154, 176, 0.18);
}

.page {
    padding: 32px 0 42px;
}

.page-grid {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

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

.page-sidebar,
.page-main {
    min-width: 0;
}

.panel,
.box,
.detail-card,
.funds-card,
.ticket-reply-card,
.ticket-thread,
.cart-box,
.plan,
.auth-wrap,
.empty,
.domain-registrar-box {
    border: 1px solid var(--ca-line);
    border-radius: var(--ca-radius-lg);
    background: var(--ca-surface);
    backdrop-filter: blur(22px);
    box-shadow: var(--ca-shadow-soft);
}

.panel {
    overflow: hidden;
    margin-bottom: 18px;
}

.panel-title,
.cart-head,
.box-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(134, 154, 176, 0.16);
    background: rgba(255, 255, 255, 0.76);
    color: var(--ca-heading);
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.panel-title {
    font-size: 1.1rem;
}

.box-head {
    font-size: 1.08rem;
}

.box-head.border-orange {
    border-top: 4px solid #f0a23a;
}

.box-head.border-teal {
    border-top: 4px solid #11b3a3;
}

.box-head.border-green {
    border-top: 4px solid #1f9d63;
}

.box-head.border-gray {
    border-top: 4px solid #667b91;
}

.panel-body,
.box-body,
.checkout-body,
.ticket-reply-body {
    padding: 18px 20px 20px;
    color: var(--ca-text-soft);
    font-size: 0.95rem;
}

.panel-list,
.cat-list,
.action-list,
.ticket-link-list,
.summary-list,
.features,
.domain-actions-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.panel-link,
.cat-link,
.action-link,
.ticket-link-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 14px 18px;
    border: 0;
    border-top: 1px solid rgba(134, 154, 176, 0.12);
    background: rgba(255, 255, 255, 0.34);
    color: var(--ca-text);
    font-size: 0.94rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
}

.panel-list li:first-child .panel-link,
.cat-list li:first-child .cat-link,
.action-list li:first-child .action-link,
.ticket-link-list li:first-child a {
    border-top: 0;
}

.panel-link:hover,
.panel-link.active,
.cat-link:hover,
.cat-link.active,
.action-link:hover,
.ticket-link-list a:hover,
.ticket-link-list a.active {
    background: linear-gradient(135deg, rgba(15, 91, 215, 0.12), rgba(17, 179, 163, 0.08));
    color: var(--ca-primary-strong);
    padding-left: 22px;
}

.side-btn,
.mini-btn,
.btn,
.logout-btn,
.back-btn,
.cart-btn,
.domain-registrar-btn,
.funds-submit,
.ticket-side-action,
.ticket-reply-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1px solid rgba(134, 154, 176, 0.24);
    background: rgba(255, 255, 255, 0.84);
    color: var(--ca-heading);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.side-btn:hover,
.mini-btn:hover,
.btn:hover,
.logout-btn:hover,
.back-btn:hover,
.cart-btn:hover,
.domain-registrar-btn:hover,
.funds-submit:hover,
.ticket-side-action:hover,
.ticket-reply-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(10, 24, 38, 0.12);
}

.logout-btn,
.cart-btn,
.btn-primary,
.funds-submit,
.ticket-reply-submit {
    border-color: rgba(15, 91, 215, 0.24);
    background: linear-gradient(135deg, var(--ca-primary), #2078f4);
    color: #fff;
}

.back-btn,
.btn,
.domain-registrar-btn.alt {
    background: rgba(255, 255, 255, 0.92);
    color: var(--ca-text);
}

.btn-success,
.side-btn,
.ticket-side-action,
.detail-status.status-active {
    border-color: rgba(31, 157, 99, 0.2);
    background: linear-gradient(135deg, var(--ca-success), #29b070);
    color: #fff;
}

.btn-danger,
.ticket-side-action.is-closed {
    border-color: rgba(208, 75, 75, 0.2);
    background: linear-gradient(135deg, var(--ca-danger), #e46464);
    color: #fff;
}

.mini-btn {
    min-height: 38px;
    padding: 0 14px;
    border-color: rgba(217, 134, 18, 0.22);
    background: linear-gradient(135deg, #f0a23a, #f6bb57);
    color: #fff;
}

.mini-btn.mini-btn-accent {
    border-color: rgba(17, 179, 163, 0.24);
    background: linear-gradient(135deg, var(--ca-accent), #1ec5b3);
    color: #fff;
}

.mini-btn.mini-btn-muted {
    border-color: rgba(102, 123, 145, 0.24);
    background: linear-gradient(135deg, #667b91, #7f8f9e);
    color: #fff;
}

.side-btn {
    width: calc(100% - 36px);
    margin: 0 18px 18px;
}

.page-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 28px 26px;
    margin-bottom: 18px;
    border: 1px solid var(--ca-line);
    border-radius: var(--ca-radius-xl);
    background:
        radial-gradient(circle at top right, rgba(17, 179, 163, 0.14), transparent 28%),
        linear-gradient(145deg, rgba(10, 24, 38, 0.96), rgba(11, 38, 65, 0.94));
    box-shadow: 0 28px 60px rgba(6, 18, 30, 0.14);
}

.hero-copy {
    min-width: 0;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-kicker::before {
    content: "";
    width: 12px;
    height: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
}

.page-title,
.content-title,
.auth-title,
.register-title,
.detail-product-name,
.domain-overview h2,
.ticket-view-page-title {
    margin: 0;
    color: var(--ca-heading);
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.02;
}

.auth-title .accent,
.register-title .accent {
    color: var(--ca-primary);
}

.page-hero .page-title,
.page-hero .ticket-view-page-title {
    color: #fff;
}

.page-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

.content-title,
.auth-title,
.register-title {
    font-size: clamp(2rem, 4vw, 3.3rem);
}

.page-main > .content-title,
.page-main > .register-title {
    margin-bottom: 16px;
}

.ticket-view-page-title {
    font-size: clamp(2rem, 4vw, 3.1rem);
}

.breadcrumb {
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
}

.page-main > .breadcrumb,
.content-title + .breadcrumb,
.auth-title + .breadcrumb,
.register-title + .breadcrumb {
    color: var(--ca-text-muted);
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    max-width: 420px;
}

.quick-badge {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
}

.quick-badge.muted {
    color: rgba(255, 255, 255, 0.72);
}

.flash {
    margin-bottom: 16px;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid var(--ca-line);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--ca-shadow-soft);
    font-size: 0.94rem;
    font-weight: 700;
}

.flash.success {
    border-color: rgba(31, 157, 99, 0.18);
    background: rgba(31, 157, 99, 0.08);
    color: #176e47;
}

.flash.error {
    border-color: rgba(208, 75, 75, 0.18);
    background: rgba(208, 75, 75, 0.08);
    color: #8e3333;
}

.error-list {
    margin: 8px 0 0;
    padding-left: 18px;
}

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

.stat-card {
    position: relative;
    overflow: hidden;
    min-height: 152px;
    padding: 22px 22px 20px;
    border: 1px solid var(--ca-line);
    border-radius: var(--ca-radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(242, 247, 251, 0.9));
    box-shadow: var(--ca-shadow-soft);
}

.stat-card::after {
    content: "";
    position: absolute;
    top: -38px;
    right: -18px;
    width: 94px;
    height: 94px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(15, 91, 215, 0.14), rgba(17, 179, 163, 0.12));
    transform: rotate(16deg);
}

.stat-number {
    position: relative;
    z-index: 1;
    color: var(--ca-heading);
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    position: relative;
    z-index: 1;
    margin-top: 12px;
    color: var(--ca-text-muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 70px;
    padding: 0 20px;
    margin-bottom: 18px;
    border: 1px solid var(--ca-line);
    border-radius: var(--ca-radius-lg);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--ca-shadow-soft);
}

.search-box::before {
    content: "";
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(22, 48, 71, 0.4);
    border-radius: 999px;
    position: relative;
}

.search-box::after {
    content: "";
    width: 8px;
    height: 2px;
    border-radius: 999px;
    background: rgba(22, 48, 71, 0.4);
    transform: translateX(-26px) translateY(8px) rotate(45deg);
}

.search-box input {
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--ca-heading);
    font-size: 1rem;
    font-weight: 600;
}

.split,
.detail-grid,
.domain-columns,
.domain-registrar-grid,
.account-grid,
.ticket-reply-grid,
.register-row,
.cart-layout,
.plans {
    display: grid;
    gap: 18px;
}

.split,
.domain-columns,
.account-grid,
.ticket-reply-grid,
.register-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
}

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

.cart-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
}

.plans {
    margin-top: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.domain-input,
.field,
.textarea,
.select,
.table-toolbar input,
.funds-input,
.domain-registrar-input,
.domain-registrar-textarea,
.domain-registrar-select,
.ticket-reply-input,
.ticket-reply-textarea {
    width: 100%;
    min-height: 52px;
    padding: 0 15px;
    border: 1px solid rgba(134, 154, 176, 0.24);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ca-heading);
    font-size: 0.95rem;
    font-weight: 600;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.textarea,
.ticket-reply-textarea,
.domain-registrar-textarea {
    min-height: 120px;
    padding: 14px 15px;
    resize: vertical;
}

.ticket-reply-textarea {
    min-height: 180px;
}

.field:focus,
.textarea:focus,
.select:focus,
.table-toolbar input:focus,
.funds-input:focus,
.domain-input:focus,
.domain-registrar-input:focus,
.domain-registrar-textarea:focus,
.domain-registrar-select:focus,
.ticket-reply-input:focus,
.ticket-reply-textarea:focus {
    border-color: rgba(15, 91, 215, 0.42);
    box-shadow: 0 0 0 4px rgba(15, 91, 215, 0.1);
    background: #fff;
}

.form-grid,
.checkout-form,
.auth-form,
.register-form {
    display: grid;
    gap: 14px;
}

.form-group label,
.ticket-reply-label,
.funds-label {
    display: block;
    margin-bottom: 8px;
    color: var(--ca-text-soft);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hint,
.detail-meta-note,
.funds-balance,
.domain-registrar-value,
.cart-meta,
.mailing-box,
.empty {
    color: var(--ca-text-muted);
    font-size: 0.9rem;
}

.order-row,
.btn-row,
.auth-actions,
.cart-actions,
.ticket-reply-actions,
.account-actions,
.domain-registrar-form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.order-row {
    justify-content: flex-end;
}

.table-wrap,
.domain-dns-table-wrap {
    margin-top: 12px;
    overflow: auto;
    border: 1px solid var(--ca-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--ca-shadow-soft);
}

.table-toolbar,
.table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    background: linear-gradient(135deg, rgba(10, 24, 38, 0.96), rgba(18, 55, 88, 0.94));
    color: rgba(235, 244, 255, 0.84);
}

.table-footer {
    background: rgba(246, 249, 251, 0.88);
    color: var(--ca-text-soft);
    border-top: 1px solid rgba(134, 154, 176, 0.16);
}

table,
.domain-dns-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}

thead th,
.domain-dns-table th {
    padding: 16px 14px;
    background: rgba(245, 248, 251, 0.96);
    color: var(--ca-heading);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: left;
    border-bottom: 1px solid rgba(134, 154, 176, 0.18);
}

tbody td,
.domain-dns-table td {
    padding: 16px 14px;
    border-bottom: 1px solid rgba(134, 154, 176, 0.12);
    color: var(--ca-text);
    font-size: 0.93rem;
    vertical-align: middle;
    background: rgba(255, 255, 255, 0.74);
}

.notification-history-template strong,
.notification-history-recipient {
    display: block;
    color: var(--ca-heading);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.notification-history-template small {
    display: block;
    margin-top: 4px;
    color: var(--ca-text-muted);
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    overflow-wrap: anywhere;
    word-break: break-word;
}

tbody tr:last-child td,
.domain-dns-table tr:last-child td {
    border-bottom: 0;
}

.clickable-row {
    cursor: pointer;
}

.clickable-row:hover td {
    background: rgba(15, 91, 215, 0.06);
}

.status-pill,
.ticket-mini-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 108px;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(134, 154, 176, 0.18);
    background: rgba(255, 255, 255, 0.84);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.status-active,
.status-paid,
.status-open,
.status-answered {
    color: #147247;
    background: rgba(31, 157, 99, 0.12);
}

.status-pending,
.status-unpaid,
.status-overdue,
.status-customer_reply,
.status-on_hold {
    color: #a46108;
    background: rgba(217, 134, 18, 0.12);
}

.status-suspended,
.status-cancelled,
.status-closed,
.status-partial {
    color: #6d7f90;
    background: rgba(109, 127, 144, 0.12);
}

.pager {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.pager a,
.pager span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid rgba(134, 154, 176, 0.2);
    background: rgba(255, 255, 255, 0.84);
    color: var(--ca-text);
    font-size: 0.82rem;
    font-weight: 700;
}

.pager .current {
    background: linear-gradient(135deg, var(--ca-primary), #2078f4);
    border-color: transparent;
    color: #fff;
}

.pager .disabled {
    opacity: 0.48;
}

.detail-card {
    overflow: hidden;
}

.detail-card-body {
    padding: 30px 24px 26px;
    text-align: center;
}

.invoice-detail-layout {
    display: grid;
    gap: 18px;
}

.invoice-detail-hero {
    display: grid;
    gap: 14px;
    justify-items: center;
}

.invoice-detail-kicker {
    color: var(--ca-text-muted);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.invoice-detail-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.invoice-bkash-btn {
    border-color: rgba(226, 19, 110, 0.24);
    background: linear-gradient(135deg, #e2136e, #f14f95);
    color: #fff;
}

.invoice-detail-grid {
    align-items: start;
}

.invoice-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.invoice-summary-card {
    padding: 18px;
    border: 1px solid rgba(134, 154, 176, 0.16);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 247, 251, 0.88));
}

.invoice-summary-card span {
    display: block;
    color: var(--ca-text-muted);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.invoice-summary-card strong {
    display: block;
    margin-top: 10px;
    color: var(--ca-heading);
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
}

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

.invoice-customer-card {
    display: grid;
    gap: 6px;
    padding: 18px;
    border: 1px solid rgba(134, 154, 176, 0.16);
    border-radius: 18px;
    background: rgba(246, 249, 252, 0.9);
}

.invoice-customer-card strong {
    color: var(--ca-heading);
    font-size: 1rem;
}

.invoice-customer-card span {
    color: var(--ca-text-soft);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.invoice-payment-history {
    margin-top: 18px;
    display: grid;
    gap: 12px;
}

.invoice-section-title {
    color: var(--ca-heading);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.invoice-payment-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border: 1px solid rgba(134, 154, 176, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
}

.invoice-payment-row strong,
.invoice-payment-meta strong {
    display: block;
    color: var(--ca-heading);
}

.invoice-payment-row span,
.invoice-payment-meta span {
    display: block;
    margin-top: 4px;
    color: var(--ca-text-muted);
    font-size: 0.85rem;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.invoice-payment-meta {
    text-align: right;
}

.invoice-line-items {
    margin-top: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.detail-icon {
    width: 138px;
    height: 138px;
    margin: 0 auto 18px;
    border-radius: 36px;
    background: linear-gradient(135deg, #0f5bd7, #11b3a3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: 3.1rem;
    font-weight: 700;
    box-shadow: 0 20px 44px rgba(15, 91, 215, 0.22);
}

.detail-product-name {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--ca-heading);
}

.detail-product-type {
    margin: 10px 0 0;
    color: var(--ca-text-soft);
    font-size: 1.05rem;
    font-weight: 700;
}

.detail-status {
    padding: 14px 16px;
    text-align: center;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #667b91, #7e90a3);
}

.detail-meta {
    display: grid;
    gap: 14px;
}

.detail-meta-item {
    padding: 18px;
    border: 1px solid rgba(134, 154, 176, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.8);
}

.detail-meta-label,
.domain-label {
    display: block;
    color: var(--ca-text-muted);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.detail-meta-value,
.domain-value,
.funds-balance strong {
    display: block;
    margin-top: 8px;
    color: var(--ca-heading);
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.domain-overview {
    margin-top: 18px;
}

.domain-overview h2 {
    margin-bottom: 16px;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.domain-registrar-box {
    margin-top: 18px;
    padding: 22px;
}

.domain-registrar-box h3 {
    margin: 0 0 18px;
    color: var(--ca-heading);
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.domain-registrar-box > .hint,
.domain-registrar-box > .domain-registrar-value {
    display: block;
    margin: 0 0 18px;
}

.domain-registrar-box .domain-item .hint {
    display: block;
    margin-top: 12px;
}

.domain-registrar-box .btn-row {
    margin-top: 14px;
}

.domain-item {
    padding: 18px 20px;
    border: 1px solid rgba(134, 154, 176, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
}

.domain-value {
    font-size: 1rem;
}

.domain-value.link {
    color: var(--ca-primary);
}

.domain-value.ssl-ok {
    color: var(--ca-success);
}

.domain-actions-note {
    margin-top: 18px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ca-heading);
}

.funds-card {
    padding: 24px;
}

.funds-balance {
    margin: 0 0 18px;
}

.funds-balance strong {
    display: inline-block;
    margin-left: 8px;
}

.funds-group {
    margin-bottom: 14px;
}

.account-note,
.ticket-view-alert,
.mailing-box {
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid rgba(15, 91, 215, 0.14);
    background: rgba(15, 91, 215, 0.08);
    color: #25598d;
}

.ticket-sidebar-panel .panel-title {
    font-size: 1rem;
}

.ticket-side-body {
    padding: 0;
}

.ticket-side-row,
.ticket-cc-row {
    padding: 14px 18px;
    border-top: 1px solid rgba(134, 154, 176, 0.12);
}

.ticket-side-row:first-child,
.ticket-cc-row:first-child {
    border-top: 0;
}

.ticket-side-label {
    color: var(--ca-text-muted);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ticket-side-value,
.ticket-thread-author {
    margin-top: 6px;
    color: var(--ca-heading);
    font-size: 1rem;
    font-weight: 800;
}

.ticket-owner-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 0 8px;
    margin-left: 8px;
    border-radius: 999px;
    background: rgba(31, 157, 99, 0.12);
    color: var(--ca-success);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ticket-side-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 18px;
    border-top: 1px solid rgba(134, 154, 176, 0.12);
}

.ticket-reply-head,
.ticket-thread-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    background: rgba(245, 248, 251, 0.9);
    border-bottom: 1px solid rgba(134, 154, 176, 0.12);
}

.ticket-thread-item + .ticket-thread-item {
    border-top: 1px solid rgba(134, 154, 176, 0.12);
}

.ticket-thread-email,
.ticket-thread-time {
    color: var(--ca-text-muted);
    font-size: 0.85rem;
}

.ticket-thread-body {
    padding: 18px;
    color: var(--ca-text);
    font-size: 0.95rem;
    white-space: pre-wrap;
    word-break: break-word;
}

.plan {
    overflow: hidden;
}

.plan-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 22px 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 248, 251, 0.86));
    border-bottom: 1px solid rgba(134, 154, 176, 0.14);
}

.plan-name {
    color: var(--ca-heading);
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.plan-price {
    text-align: right;
    color: var(--ca-text-muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.plan-price .amount {
    display: block;
    color: var(--ca-heading);
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.05em;
}

.plan-body {
    padding: 22px;
}

.features li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 12px;
    color: var(--ca-text-soft);
    font-size: 0.95rem;
}

.features li::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--ca-primary), var(--ca-accent));
}

.auth-wrap {
    padding: 28px;
}

.auth-wrap .auth-title {
    margin-bottom: 16px;
}

.mailing-box label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.cart-row {
    padding: 18px;
    border-top: 1px solid rgba(134, 154, 176, 0.12);
}

.cart-row:first-of-type {
    border-top: 0;
}

.cart-item-title {
    margin: 0 0 8px;
    color: var(--ca-heading);
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
}

.cart-edit {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: end;
}

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

.line-total {
    margin-top: 14px;
    color: var(--ca-text-soft);
    font-size: 0.95rem;
    font-weight: 700;
}

.line-total strong {
    color: var(--ca-heading);
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: 1.1rem;
}

.summary-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-top: 1px solid rgba(134, 154, 176, 0.12);
    color: var(--ca-text-soft);
    font-size: 0.92rem;
    font-weight: 700;
}

.summary-list li:first-child {
    border-top: 0;
}

.summary-list li:last-child {
    color: var(--ca-heading);
    font-size: 1rem;
}

.checkout-auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.checkout-auth-card,
.otp-card {
    border: 1px solid rgba(134, 154, 176, 0.16);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 248, 252, 0.9));
    box-shadow: var(--ca-shadow-soft);
}

.checkout-auth-card {
    padding: 18px;
}

.checkout-auth-head,
.otp-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.checkout-auth-head {
    margin-bottom: 12px;
    color: var(--ca-heading);
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.checkout-auth-note {
    margin: 14px 0 0;
    color: var(--ca-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.checkout-login-form {
    display: grid;
    gap: 12px;
}

.checkout-login-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.checkout-mode-switch {
    display: grid;
    gap: 10px;
}

.checkout-mode-option {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 60px;
    padding: 0 16px;
    border: 1px solid rgba(134, 154, 176, 0.18);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.7);
    color: var(--ca-text);
    font-size: 0.94rem;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.checkout-mode-option input {
    width: 18px;
    height: 18px;
    accent-color: var(--ca-primary);
}

.checkout-mode-option.is-active {
    border-color: rgba(15, 91, 215, 0.24);
    background: linear-gradient(135deg, rgba(15, 91, 215, 0.1), rgba(17, 179, 163, 0.08));
    box-shadow: 0 12px 24px rgba(15, 91, 215, 0.08);
    transform: translateY(-1px);
}

.checkout-register-panel {
    display: none;
}

.checkout-register-panel.is-active {
    display: block;
}

.checkbox-line {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ca-text);
    font-size: 0.92rem;
    font-weight: 700;
}

.checkbox-line input {
    width: 18px;
    height: 18px;
    accent-color: var(--ca-primary);
}

.otp-card {
    overflow: hidden;
}

.otp-card-head {
    padding: 16px 18px 14px;
    border-bottom: 1px solid rgba(134, 154, 176, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 249, 252, 0.88));
}

.otp-card-head strong {
    color: var(--ca-heading);
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.otp-card-head span {
    color: var(--ca-text-muted);
    font-size: 0.82rem;
    font-weight: 700;
    text-align: right;
}

.otp-card-body {
    display: grid;
    gap: 14px;
    padding: 18px;
}

.otp-message {
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(15, 91, 215, 0.12);
    background: rgba(15, 91, 215, 0.06);
    color: #25598d;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.6;
}

.otp-message-success {
    border-color: rgba(31, 157, 99, 0.16);
    background: rgba(31, 157, 99, 0.08);
    color: #176e47;
}

.otp-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.otp-actions.is-hidden {
    display: none;
}

.otp-actions .btn {
    flex: 1 1 220px;
}

.otp-actions .btn[disabled] {
    opacity: 0.58;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.otp-timer {
    display: inline-flex;
    margin-top: 8px;
    color: inherit;
    font-size: 0.82rem;
    font-weight: 800;
}

[data-checkout-submit] {
    width: 100%;
    margin-top: 2px;
}

.page-footer {
    margin-top: 8px;
    padding: 22px 0 34px;
    color: var(--ca-text-muted);
    font-size: 0.84rem;
}

@media (max-width: 1180px) {
    .page-grid,
    .detail-grid,
    .cart-layout {
        grid-template-columns: minmax(0, 1fr);
    }

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

    .page-hero {
        flex-direction: column;
    }

    .invoice-summary-grid,
    .invoice-detail-meta {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-actions {
        justify-content: flex-start;
        max-width: none;
    }
}

@media (max-width: 900px) {
    .top-header {
        position: static;
    }

    .top-header-inner,
    .main-nav-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .nav-left,
    .nav-right,
    .head-right,
    .top-links {
        width: 100%;
        justify-content: flex-start;
    }

    .split,
    .domain-columns,
    .domain-registrar-grid,
    .account-grid,
    .ticket-reply-grid,
    .checkout-auth-grid,
    .register-row,
    .cart-edit,
    .cart-edit.two-cols,
    .ticket-side-actions {
        grid-template-columns: minmax(0, 1fr);
    }

    .page {
        padding-top: 22px;
    }

    .invoice-detail-actions,
    .invoice-payment-row {
        flex-direction: column;
        align-items: stretch;
    }

    .invoice-payment-meta {
        text-align: left;
    }

    .table-wrap,
    .domain-dns-table-wrap {
        overflow: visible;
    }

    .table-wrap table,
    .domain-dns-table {
        min-width: 0;
        width: 100%;
        display: block;
    }

    .table-wrap thead,
    .domain-dns-table thead {
        display: none;
    }

    .table-wrap tbody,
    .table-wrap tr,
    .table-wrap td,
    .domain-dns-table tbody,
    .domain-dns-table tr,
    .domain-dns-table td {
        display: block;
        width: 100%;
    }

    .table-wrap tbody,
    .domain-dns-table tbody {
        padding: 12px;
    }

    .table-wrap tbody tr,
    .domain-dns-table tbody tr {
        margin-bottom: 12px;
        border: 1px solid rgba(134, 154, 176, 0.16);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 10px 24px rgba(6, 18, 30, 0.06);
        overflow: hidden;
    }

    .table-wrap tbody tr:last-child,
    .domain-dns-table tbody tr:last-child {
        margin-bottom: 0;
    }

    .table-wrap tbody td,
    .domain-dns-table td {
        display: grid;
        grid-template-columns: minmax(96px, 38%) minmax(0, 1fr);
        gap: 10px;
        align-items: start;
        padding: 12px 14px;
        border-bottom: 1px solid rgba(134, 154, 176, 0.12);
        background: transparent;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .table-wrap tbody td:last-child,
    .domain-dns-table td:last-child {
        border-bottom: 0;
    }

    .table-wrap tbody td::before,
    .domain-dns-table td::before {
        content: attr(data-label);
        color: var(--ca-text-muted);
        font-size: 0.72rem;
        font-weight: 800;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        line-height: 1.45;
    }

    .table-wrap tbody td.empty,
    .domain-dns-table td.empty {
        display: block;
        padding: 18px 14px;
        text-align: center;
    }

    .table-wrap tbody td.empty::before,
    .domain-dns-table td.empty::before {
        content: none;
    }

    .page-main {
        order: 1;
    }

    .page-sidebar {
        order: 2;
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }

    .mobile-nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        border: 0;
        background: rgba(7, 19, 31, 0.46);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.22s ease;
        z-index: 79;
    }

    body.mobile-nav-open {
        overflow: hidden;
    }

    body.mobile-nav-open .mobile-nav-overlay {
        opacity: 1;
        pointer-events: auto;
    }

    .main-nav {
        position: fixed;
        top: 10px;
        right: 10px;
        bottom: 10px;
        left: 10px;
        z-index: 90;
        border-radius: 26px;
        border: 1px solid rgba(102, 127, 151, 0.16);
        transform: translateY(104%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.24s ease, opacity 0.24s ease;
        overflow: hidden;
        box-shadow: 0 24px 60px rgba(8, 18, 30, 0.28);
    }

    body.mobile-nav-open .main-nav {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .main-nav-inner {
        height: 100%;
        min-height: 0;
        padding: 0 14px 18px;
        justify-content: flex-start;
        overflow-y: auto;
    }

    .mobile-nav-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        width: 100%;
        padding: 18px 4px 16px;
        position: sticky;
        top: 0;
        background: rgba(10, 24, 38, 0.98);
        z-index: 2;
    }

    .mobile-nav-copy {
        display: grid;
        gap: 2px;
    }

    .mobile-nav-copy strong {
        color: #fff;
        font-family: "Space Grotesk", "Manrope", sans-serif;
        font-size: 1rem;
        font-weight: 700;
    }

    .mobile-nav-copy small {
        color: rgba(235, 244, 255, 0.68);
        font-size: 0.76rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .mobile-nav-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 40px;
        padding: 0 14px;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.14);
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
        font-size: 0.82rem;
        font-weight: 800;
        cursor: pointer;
    }

    .nav-left,
    .nav-right {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link,
    .main-nav a,
    .store-trigger {
        width: 100%;
        justify-content: space-between;
        min-height: 50px;
        padding: 0 16px;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.06);
        color: #fff;
    }

    .menu,
    .store-menu {
        position: static;
        min-width: 0;
        width: 100%;
        max-width: none;
        margin: 8px 0 10px;
        padding: 6px;
        border-radius: 18px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        background: rgba(255, 255, 255, 0.04);
        box-shadow: none;
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }

    .menu a,
    .store-item,
    .menu-button {
        padding: 12px 14px;
        border-radius: 12px;
        color: rgba(235, 244, 255, 0.88);
    }

    .menu a:hover,
    .menu a.active,
    .store-item:hover,
    .store-item.active,
    .menu-button:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
    }

    .menu-label {
        color: rgba(235, 244, 255, 0.56);
    }

    .menu-divider {
        background: rgba(255, 255, 255, 0.08);
    }
}

@media (max-width: 720px) {
    .container {
        width: min(100%, calc(100% - 20px));
    }

    .top-header-inner {
        min-height: 74px;
        padding: 10px 0;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .brand-mark {
        width: 46px;
        height: 46px;
        border-radius: 16px;
        font-size: 0.95rem;
    }

    .brand-copy-title,
    .brand-text {
        font-size: 0.95rem;
    }

    .brand-copy-subtitle {
        font-size: 0.68rem;
    }

    .top-links,
    .head-right {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }

    .platform-pill {
        order: 3;
        width: 100%;
        justify-content: center;
    }

    .page-grid {
        gap: 18px;
    }

    .page-hero,
    .panel,
    .box,
    .funds-card,
    .auth-wrap,
    .plan,
    .cart-box,
    .ticket-reply-card,
    .ticket-thread {
        border-radius: 20px;
    }

    .page-hero,
    .funds-card,
    .auth-wrap,
    .plan-body,
    .detail-card-body,
    .panel-body,
    .box-body,
    .checkout-body,
    .ticket-reply-body {
        padding-left: 18px;
        padding-right: 18px;
    }

    .panel-title,
    .box-head,
    .cart-head,
    .ticket-reply-head,
    .ticket-thread-head {
        padding: 16px 18px;
    }

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

    .checkout-auth-card,
    .otp-card {
        border-radius: 18px;
    }

    .checkout-auth-card,
    .otp-card-body {
        padding-left: 16px;
        padding-right: 16px;
    }

    .otp-card-head {
        padding: 15px 16px 13px;
        flex-direction: column;
    }

    .otp-card-head span {
        text-align: left;
    }

    .checkout-login-actions,
    .otp-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .otp-actions .btn,
    .checkout-login-actions .btn,
    [data-checkout-submit] {
        width: 100%;
    }

    .checkbox-line {
        width: 100%;
    }

    .stat-card {
        min-height: 132px;
    }

    .page-title,
    .content-title,
    .auth-title,
    .register-title,
    .ticket-view-page-title {
        font-size: clamp(1.85rem, 8vw, 2.5rem);
    }

    .table-toolbar,
    .table-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .table-toolbar input {
        width: 100%;
    }

    table,
    .domain-dns-table {
        min-width: 620px;
    }
}
