/* RaveNodes theme — loads after Twenty-One's theme.min.css */
:root {
    --rn-bg: #07060B;
    --rn-bg-2: #0A0910;
    --rn-surface: #0F0D16;
    --rn-surface-2: #0C0A12;
    --rn-raised: #17142A;
    --rn-line: #1E1B29;
    --rn-line-2: #2A2545;
    --rn-text: #F4F2FA;
    --rn-text-2: #C9C5D6;
    --rn-muted: #8D88A0;
    --rn-dim: #6E6981;
    --rn-accent: #6D4AFF;
    --rn-accent-2: #7B5CFF;
    --rn-accent-soft: #A48BFF;
    --rn-danger: #FF6B81;
    --rn-radius: 14px;
    --rn-radius-sharp: 6px;
    --rn-font: 'Onest', system-ui, -apple-system, sans-serif;
    --rn-mono: 'JetBrains Mono', ui-monospace, monospace;
    --rn-sidebar: 272px;
}

/* ---------- Base ---------- */
body.rn-body { background: var(--rn-bg); color: var(--rn-text); font-family: var(--rn-font); font-size: 14px; -webkit-font-smoothing: antialiased; }
body.rn-body a { color: var(--rn-accent-soft); }
body.rn-body a:hover { color: #C9BBFF; text-decoration: none; }
body.rn-body h1, body.rn-body h2, body.rn-body h3, body.rn-body h4, body.rn-body h5 { color: var(--rn-text); font-family: var(--rn-font); letter-spacing: -0.02em; }
body.rn-body .text-muted { color: var(--rn-muted) !important; }
body.rn-body hr { border-color: var(--rn-line); }

/* ---------- Shell ---------- */
.rn-shell { display: grid; grid-template-columns: var(--rn-sidebar) minmax(0, 1fr); min-height: 100vh; }
.rn-sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; background: var(--rn-bg-2); border-right: 1px solid #1A1824; padding: 28px 16px 20px; display: flex; flex-direction: column; gap: 32px; z-index: 1030; }
.rn-logo { display: block; padding: 2px 12px 0; }
.rn-logo img { width: 172px; height: auto; display: block; }
.rn-main { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.rn-glow { position: absolute; left: 50%; top: -380px; width: 1100px; height: 640px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(109,74,255,.20), rgba(109,74,255,0)); pointer-events: none; }
.rn-content { position: relative; flex: 1; padding: clamp(24px, 3vw, 48px) 0 88px; }
.rn-content > .rn-container { max-width: 1380px; padding: 0 clamp(20px, 3vw, 48px); }

/* ---------- Sidebar nav ---------- */
.rn-nav { display: flex; flex-direction: column; gap: 2px; font-size: 14.5px; }
.rn-nav-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 10px; border: 1px solid transparent; color: var(--rn-muted) !important; cursor: pointer; list-style: none; white-space: nowrap; transition: background .15s, color .15s; }
.rn-nav-item::-webkit-details-marker { display: none; }
.rn-nav-item i { color: var(--rn-dim); width: 18px; text-align: center; }
.rn-nav-item .rn-dot-icon { font-size: 6px; }
.rn-nav-item:hover { color: var(--rn-text) !important; background: #100E18; }
.rn-nav-item.active { color: var(--rn-text) !important; background: linear-gradient(90deg, rgba(109,74,255,.20), rgba(109,74,255,.05)); border-color: #2C2552; }
.rn-nav-item.active i { color: var(--rn-accent-soft); }
.rn-chev { margin-left: auto; font-size: 10px; transition: transform .2s; }
.rn-nav-group[open] .rn-chev { transform: rotate(180deg); }
.rn-subnav { display: flex; flex-direction: column; gap: 1px; margin: 2px 0 6px 23px; padding-left: 12px; border-left: 1px solid #221F2E; }
.rn-subnav-link { padding: 7px 12px; border-radius: 8px; font-size: 13.5px; color: #7A7590 !important; }
.rn-subnav-link:hover { color: var(--rn-text) !important; }
.rn-subnav-link.active { color: var(--rn-text) !important; background: var(--rn-raised); }
.rn-subnav-title { padding: 8px 12px 2px; font-family: var(--rn-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #4F4B60; }
.rn-subnav-divider { height: 1px; background: #1C1A26; margin: 6px 12px; }
.rn-badge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 6px; background: var(--rn-accent); color: #fff; font-size: 11px; font-weight: 600; display: inline-grid; place-items: center; }

.rn-account { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.rn-account-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rn-account-card { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--rn-line); border-radius: 12px; background: var(--rn-surface); color: var(--rn-text) !important; }
.rn-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--rn-raised); border: 1px solid var(--rn-line-2); display: grid; place-items: center; color: var(--rn-accent-soft); flex: none; }
.rn-account-text { display: flex; flex-direction: column; min-width: 0; }
.rn-account-text small { color: var(--rn-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rn-forgot { text-align: center; font-size: 12.5px; color: var(--rn-dim) !important; }

/* ---------- Buttons ---------- */
.rn-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 42px; padding: 0 18px; border-radius: 10px; font-weight: 600; font-size: 13.5px; border: 1px solid transparent; white-space: nowrap; cursor: pointer; transition: background .15s, border-color .15s, box-shadow .15s; }
.rn-btn-primary, body.rn-body .btn-primary, body.rn-body .btn-success { background: linear-gradient(180deg, var(--rn-accent-2), #6240F5); border-color: var(--rn-accent); color: #fff !important; box-shadow: 0 10px 28px -12px rgba(109,74,255,.9), inset 0 1px 0 rgba(255,255,255,.18); }
.rn-btn-primary:hover, body.rn-body .btn-primary:hover, body.rn-body .btn-success:hover { filter: brightness(1.1); color: #fff !important; }
.rn-btn-ghost, body.rn-body .btn-default, body.rn-body .btn-secondary, body.rn-body .btn-outline-primary { background: rgba(255,255,255,.03); border: 1px solid #2A2735; color: var(--rn-text-2) !important; }
.rn-btn-ghost:hover, body.rn-body .btn-default:hover, body.rn-body .btn-secondary:hover, body.rn-body .btn-outline-primary:hover { border-color: #4A4560; color: var(--rn-text) !important; background: rgba(255,255,255,.06); }
.rn-btn-outline { height: 40px; border-radius: 5px; border: 1px solid var(--rn-accent); background: rgba(109,74,255,.12); color: var(--rn-text) !important; }
.rn-btn-outline:hover { background: var(--rn-accent); box-shadow: 0 8px 24px -8px rgba(109,74,255,.9); }
.rn-btn-lg { height: 50px; padding: 0 24px; border-radius: 12px; font-size: 15px; }
.rn-btn-block { width: 100%; }

/* ---------- Topbar ---------- */
.rn-topbar { position: relative; z-index: 20; height: 68px; border-bottom: 1px solid #16141F; display: flex; align-items: center; gap: 12px; padding: 0 clamp(20px, 3vw, 48px); }
.rn-menu-toggle { display: none; width: 38px; height: 38px; border-radius: 10px; border: 1px solid #221F2E; background: transparent; color: var(--rn-text); }
.rn-crumbs { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--rn-dim); min-width: 0; overflow: hidden; white-space: nowrap; }
.rn-crumbs a { color: var(--rn-dim) !important; }
.rn-crumbs a:hover { color: var(--rn-text) !important; }
.rn-crumb-sep { color: #3A3647; }
.rn-crumb-current { color: var(--rn-text); }
.rn-topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.rn-chip { height: 38px; padding: 0 14px; border: 1px solid #221F2E; border-radius: 10px; display: inline-flex; align-items: center; gap: 9px; color: var(--rn-text-2) !important; font-size: 13px; cursor: pointer; list-style: none; white-space: nowrap; }
.rn-chip::-webkit-details-marker { display: none; }
.rn-chip:hover { border-color: #3A3550; color: var(--rn-text) !important; }
.rn-chip .fa-chevron-down { font-size: 9px; }
.rn-cart-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 6px; background: #2A2735; color: #fff; display: inline-grid; place-items: center; font-size: 11px; font-weight: 600; }
.rn-cart-count.has-items { background: var(--rn-accent); }
.rn-drop { position: relative; }
.rn-drop-menu { position: absolute; right: 0; top: 44px; min-width: 170px; background: var(--rn-surface); border: 1px solid var(--rn-line-2); border-radius: 10px; padding: 6px; box-shadow: 0 20px 40px -12px rgba(0,0,0,.6); display: flex; flex-direction: column; z-index: 50; }
.rn-drop-menu-scroll { max-height: 320px; overflow-y: auto; }
.rn-drop-menu a { padding: 8px 10px; border-radius: 7px; color: var(--rn-text-2) !important; }
.rn-drop-menu a:hover, .rn-drop-menu a.active { background: var(--rn-raised); color: var(--rn-text) !important; }

/* ---------- Footer ---------- */
.rn-footer { border-top: 1px solid #16141F; padding: 22px clamp(20px, 3vw, 48px); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13px; color: var(--rn-dim); }

/* ---------- Shared ---------- */
.rn-panel, .rn-card { border: 1px solid var(--rn-line); border-radius: 18px; background: var(--rn-surface); }
.rn-card { padding: 26px 30px; display: flex; flex-direction: column; gap: 18px; }
.rn-card-title { margin: 0; font-size: 18px !important; font-weight: 700; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rn-card-title span { font-family: var(--rn-mono); font-size: 12px; color: var(--rn-accent-soft); }
.rn-card-title small { margin-left: auto; font-size: 12.5px; font-weight: 400; color: var(--rn-dim); }
.rn-h2 { margin: 0 0 18px; font-size: 22px !important; font-weight: 700; }
.rn-section { margin-top: 40px; }
.rn-eyebrow { align-self: flex-start; font-family: var(--rn-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: #C9BBFF; border: 1px solid #3A2F70; background: rgba(109,74,255,.12); border-radius: 999px; padding: 6px 12px; }
.rn-eyebrow-mono { display: inline-flex; align-items: center; gap: 10px; font-family: var(--rn-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--rn-accent-soft); }
.rn-square { width: 6px; height: 6px; background: var(--rn-accent-2); box-shadow: 0 0 12px var(--rn-accent-2); }
.rn-icon-box { width: 52px; height: 52px; border-radius: 14px; background: var(--rn-raised); border: 1px solid var(--rn-line-2); display: grid; place-items: center; color: var(--rn-accent-soft); font-size: 20px; flex: none; }
.rn-icon-solid { background: linear-gradient(150deg, var(--rn-accent-2), #4F2FD8); border-color: transparent; color: #fff; }
.rn-stack { display: flex; flex-direction: column; gap: 10px; }

/* ---------- Home ---------- */
.rn-home-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.rn-hero { position: relative; overflow: hidden; grid-column: span 2; border-radius: 22px; border: 1px solid var(--rn-line-2); background: linear-gradient(140deg, #1C1440 0%, var(--rn-surface) 55%); padding: 48px; display: flex; flex-direction: column; gap: 28px; min-height: 340px; }
.rn-hero::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(closest-side, rgba(123,92,255,.35), rgba(123,92,255,0)); pointer-events: none; }
.rn-hero h1 { margin: 0; font-size: clamp(36px, 4.2vw, 58px); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; max-width: 640px; text-wrap: balance; }
.rn-hero-actions { position: relative; z-index: 1; margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px; }
.rn-account-panel { border-radius: 22px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.rn-account-panel h3 { margin: 0 0 6px; font-size: 20px; font-weight: 700; }
.rn-account-panel p { margin: 0; color: var(--rn-muted); }
.rn-account-panel .rn-stack { margin-top: auto; }
.rn-account-panel .rn-btn { height: 46px; border-radius: 12px; }
.rn-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.rn-action { border-radius: 18px; border: 1px solid var(--rn-line); background: var(--rn-surface); padding: 24px; display: flex; align-items: center; gap: 18px; color: var(--rn-text) !important; transition: border-color .15s, background .15s; }
.rn-action:hover { border-color: #3A2F70; background: #120F1E; }
.rn-action span:not(.rn-icon-box) { display: flex; flex-direction: column; gap: 2px; }
.rn-action strong { font-size: 17px; font-weight: 600; }
.rn-action small { font-size: 13px; color: var(--rn-muted); }
.rn-action-arrow { margin-left: auto; color: var(--rn-dim); }
.rn-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.rn-group-card { border-radius: 18px; border: 1px solid var(--rn-line); background: var(--rn-surface); padding: 22px; display: flex; flex-direction: column; gap: 8px; justify-content: flex-end; min-height: 170px; color: var(--rn-text) !important; transition: transform .15s, border-color .15s, background .15s; }
.rn-group-card:hover { border-color: #3A2F70; background: #120F1E; transform: translateY(-2px); }
.rn-group-name { font-size: 17px; font-weight: 600; }
.rn-group-tagline { font-size: 13px; color: var(--rn-muted); }
.rn-group-link { font-size: 13px; color: var(--rn-accent-soft); display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Store (products.tpl) ---------- */
.rn-store-hero { position: relative; overflow: hidden; border: 1px solid #241F3D; border-radius: var(--rn-radius-sharp); background-color: #0B0912; background-image: linear-gradient(rgba(123,92,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(123,92,255,.07) 1px, transparent 1px); background-size: 44px 44px; padding: 40px 44px 0; margin-bottom: 20px; }
.rn-store-hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--rn-accent-2), rgba(123,92,255,.15) 60%, transparent); }
.rn-store-hero::after { content: ""; position: absolute; right: -140px; top: -220px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(closest-side, rgba(109,74,255,.28), rgba(109,74,255,0)); pointer-events: none; }
.rn-corner { position: absolute; top: 12px; width: 14px; height: 14px; border-top: 1.5px solid var(--rn-accent-2); }
.rn-corner-l { left: 12px; border-left: 1.5px solid var(--rn-accent-2); }
.rn-corner-r { right: 12px; border-right: 1.5px solid var(--rn-accent-2); }
.rn-store-hero-main { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-end; justify-content: space-between; padding-bottom: 32px; }
.rn-store-hero-text { display: flex; flex-direction: column; gap: 16px; }
.rn-store-hero h1 { margin: 0; font-size: clamp(38px, 4.4vw, 62px); font-weight: 800; letter-spacing: -.05em; line-height: .95; text-wrap: balance; }
.rn-store-tagline { margin: 0; color: var(--rn-muted); font-size: 15px; }
.rn-stat-box { display: flex; border: 1px solid var(--rn-line-2); border-radius: 4px; background: rgba(11,9,18,.85); }
.rn-stat-box > div { padding: 16px 24px; display: flex; flex-direction: column; gap: 2px; }
.rn-stat-box span { font-family: var(--rn-mono); font-size: 10.5px; letter-spacing: .14em; color: var(--rn-dim); }
.rn-stat-box strong { font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.rn-store-tabs { position: relative; z-index: 1; display: flex; border-top: 1px solid #241F3D; margin: 0 -44px; padding: 0 44px; overflow-x: auto; white-space: nowrap; }
.rn-store-tabs a { padding: 16px 18px 14px; font-size: 13.5px; font-weight: 500; color: #7A7590 !important; border-bottom: 2px solid transparent; }
.rn-store-tabs a:hover { color: var(--rn-text) !important; }
.rn-store-tabs a.active { color: var(--rn-text) !important; border-bottom-color: var(--rn-accent-2); background: linear-gradient(180deg, rgba(123,92,255,0), rgba(123,92,255,.10)); }
.rn-plan-table { border: 1px solid var(--rn-line); border-radius: var(--rn-radius-sharp); background: var(--rn-surface-2); overflow: hidden; }
.rn-plan-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.rn-plan-filters { display: flex; flex-wrap: wrap; gap: 4px; padding: 5px; border: 1px solid var(--rn-line); border-radius: 12px; background: var(--rn-surface); }
.rn-plan-filters[hidden], .rn-plan-filter[hidden] { display: none; }
.rn-plan-filter { height: 34px; padding: 0 13px; border: 0; border-radius: 8px; background: transparent; color: var(--rn-text-2); font: 500 14px var(--rn-font); cursor: pointer; transition: background .15s, color .15s; }
.rn-plan-filter:hover { color: var(--rn-text); }
.rn-plan-filter.active { background: var(--rn-accent); color: #fff; }
.rn-plan-count { margin-left: auto; font-family: var(--rn-mono); font-size: 13px; color: var(--rn-muted); }
.rn-plan-count b { font-weight: 400; }
.rn-plan-head, .rn-plan-row { display: grid; grid-template-columns: 52px 120px minmax(0, 1fr) minmax(0, 1fr) minmax(150px, 1fr) auto; gap: 0 28px; align-items: center; padding: 0 22px; }
.rn-plan-head { height: 46px; border-bottom: 1px solid var(--rn-line); font-family: var(--rn-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--rn-dim); }
.rn-plan-row { min-height: 74px; padding-top: 12px; padding-bottom: 12px; border-bottom: 1px solid #16141E; transition: background .15s; }
.rn-plan-spec { display: flex; flex-direction: column; gap: 10px; min-width: 0; max-width: 220px; }
.rn-spec-text { font-size: 15px; color: var(--rn-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rn-spec-text b { font-weight: 600; color: var(--rn-text); }
.rn-spec-bar { display: block; height: 3px; border-radius: 3px; background: #1F1C2B; overflow: hidden; }
.rn-spec-bar i { display: block; width: 0; height: 100%; border-radius: 3px; background: var(--rn-accent-2); transition: width .4s; }
.rn-plan-src { display: none; }
.rn-plan-table.is-raw .rn-spec-col { display: none; }
.rn-plan-table.is-raw .rn-plan-head, .rn-plan-table.is-raw .rn-plan-row { grid-template-columns: 52px 120px minmax(0, 2fr) minmax(150px, 1fr) auto; }
.rn-plan-table.is-raw .rn-plan-src { display: block; min-width: 0; }
.rn-plan-table.is-raw .rn-plan-head { display: none; }
.rn-price span { font-size: .68em; font-weight: 500; letter-spacing: 0; color: var(--rn-muted); }
.rn-plan-price { flex-direction: row !important; align-items: baseline; gap: 6px; white-space: nowrap; }
.rn-price-cycle { font-size: 14px !important; color: var(--rn-muted) !important; }
.rn-plan-row:last-child { border-bottom: 0; }
.rn-plan-row:hover { background: linear-gradient(90deg, rgba(109,74,255,.10), rgba(109,74,255,0) 60%); }
.rn-plan-row.is-featured { box-shadow: inset 2px 0 0 var(--rn-accent-2); }
.rn-plan-idx { font-family: var(--rn-mono); font-size: 12px; color: var(--rn-accent-2); }
.rn-plan-name { font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.rn-plan-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px 24px; }
.rn-plan-feature { display: flex; flex-direction: column; gap: 2px; }
.rn-plan-feature small { font-family: var(--rn-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--rn-dim); }
.rn-plan-feature span { color: #E3E0EC; font-size: 13.5px; }
.rn-plan-desc { grid-column: 1 / -1; color: var(--rn-text-2); font-size: 13px; line-height: 1.6; }
.rn-plan-desc ul { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; }
.rn-plan-desc li::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 8px 2px 0; border-radius: 50%; background: var(--rn-accent-2); }
.rn-plan-desc p { margin: 0; }
.rn-plan-desc br + br { display: none; }
.rn-plan-price { display: flex; flex-direction: column; }
.rn-plan-price strong { font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.rn-plan-price small { font-size: 12px; color: var(--rn-dim); }
.rn-plan-row .rn-btn { justify-self: end; }
.rn-empty { padding: 48px; text-align: center; color: var(--rn-muted); }

/* ---------- Configure (configureproduct.tpl) ---------- */
.rn-page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.rn-page-head h1 { margin: 0; font-size: 48px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.rn-steps { display: flex; gap: 12px; margin: 0; padding: 0; list-style: none; font-size: 13.5px; color: var(--rn-dim); white-space: nowrap; }
.rn-steps li { display: flex; align-items: center; gap: 8px; }
.rn-steps li + li::before { content: ""; width: 36px; height: 1px; background: #2A2735; margin-right: 4px; }
.rn-steps span { width: 26px; height: 26px; border-radius: 50%; border: 1px solid #2A2735; display: grid; place-items: center; font-size: 12px; }
.rn-steps li.active { color: var(--rn-text); font-weight: 600; }
.rn-steps li.active span { background: var(--rn-accent); border-color: var(--rn-accent); }
.rn-config-layout { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.rn-config-main { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.rn-config-side { flex: 1 1 320px; max-width: 400px; position: sticky; top: 24px; }
.rn-product-card { border-color: var(--rn-line-2); background: linear-gradient(135deg, #1A1235 0%, var(--rn-surface) 60%); }
.rn-product-card h2 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.rn-product-desc { color: var(--rn-text-2); line-height: 1.7; }
.rn-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.rn-option { position: relative; margin: 0; padding: 16px 18px; border-radius: 12px; border: 1.5px solid #24212F; display: flex; flex-direction: column; gap: 10px; cursor: pointer; transition: border-color .15s, background .15s; }
.rn-option-sm { padding: 12px 14px; }
.rn-option:hover { border-color: #3A3550; }
.rn-option input, .rn-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.rn-option .iradio_square-blue, .rn-option .icheckbox_square-blue, .rn-toggle .icheckbox_square-blue { position: absolute !important; opacity: 0; width: 100% !important; height: 100% !important; left: 0; top: 0; margin: 0 !important; }
.rn-option-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.rn-option-price { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.rn-option-sm .rn-option-price { font-size: 13px; }
.rn-option-sub { font-size: 12.5px; color: var(--rn-muted); }
.rn-radio, .rn-check { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #3A3647; display: grid; place-items: center; flex: none; }
.rn-check { border-radius: 5px; }
.rn-radio::after, .rn-check::after { content: ""; width: 9px; height: 9px; border-radius: inherit; background: transparent; }
.rn-option:has(input:checked), .rn-option.panel-addon-selected { border-color: var(--rn-accent-2); background: #140F27; }
.rn-option:has(input:checked) .rn-radio, .rn-option:has(input:checked) .rn-check, .rn-option.panel-addon-selected .rn-check { border-color: var(--rn-accent-2); }
.rn-option:has(input:checked) .rn-radio::after, .rn-option:has(input:checked) .rn-check::after, .rn-option.panel-addon-selected .rn-check::after { background: var(--rn-accent-2); }
.rn-save { align-self: flex-start; background: var(--rn-accent); border-radius: 6px; padding: 2px 7px; font-weight: 600; font-size: 11px; color: #fff; }
.rn-config-row { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; padding: 18px 0; border-top: 1px solid #1C1A26; }
.rn-config-row:first-child { border-top: 0; padding-top: 0; }
.rn-config-label { flex: 0 0 180px; margin: 0; font-weight: 600; color: var(--rn-text); }
.rn-config-control { flex: 1 1 360px; min-width: 0; }
.rn-toggle { position: relative; margin: 0; display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 12px; border: 1.5px solid #24212F; cursor: pointer; }
.rn-switch { width: 42px; height: 24px; border-radius: 999px; background: #24212F; position: relative; flex: none; transition: background .2s; }
.rn-switch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--rn-dim); transition: transform .2s, background .2s; }
.rn-toggle:has(input:checked) { border-color: var(--rn-accent-2); background: #140F27; }
.rn-toggle:has(input:checked) .rn-switch { background: var(--rn-accent); }
.rn-toggle:has(input:checked) .rn-switch::after { transform: translateX(18px); background: #fff; }
.rn-qty { display: flex; align-items: center; gap: 12px; }
.rn-qty .form-control { max-width: 120px; }
.rn-field label { font-weight: 500; color: var(--rn-text-2); }

/* Order summary */
.rn-summary .order-summary { position: relative; border: 1px solid var(--rn-line-2); border-radius: 18px; background: var(--rn-surface); overflow: hidden; margin-bottom: 14px; }
.rn-summary .loader { position: absolute; top: 22px; right: 24px; color: var(--rn-accent-soft); }
.rn-summary-title { margin: 0; padding: 22px 24px; border-bottom: 1px solid var(--rn-line); font-size: 17px !important; font-weight: 700; }
.rn-summary .summary-container { padding: 0; }
.rn-sum-product { padding: 20px 24px 6px; display: flex; flex-direction: column; }
.rn-sum-product small { color: var(--rn-dim); font-size: 12.5px; }
.rn-sum-lines, .rn-sum-totals { padding: 10px 24px 16px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.rn-sum-totals { border-top: 1px solid var(--rn-line); padding-top: 16px; font-size: 13.5px; }
.rn-sum-line { display: flex; justify-content: space-between; gap: 12px; }
.rn-sum-line span:first-child { color: var(--rn-muted); }
.rn-sum-line span:last-child { text-align: right; }
.rn-sum-total { border-top: 1px solid var(--rn-line); padding: 22px 24px; display: flex; flex-direction: column; gap: 2px; }
.rn-sum-total small { font-size: 13px; color: var(--rn-muted); }
.rn-sum-total .amt { font-size: 40px; font-weight: 800; letter-spacing: -.04em; line-height: 1.05; }

/* ---------- WHMCS / Bootstrap overrides (all other pages) ---------- */
body.rn-body .card, body.rn-body .panel, body.rn-body .list-group-item, body.rn-body .modal-content, body.rn-body .dropdown-menu { background: var(--rn-surface); border-color: var(--rn-line); color: var(--rn-text); }
body.rn-body .card { border-radius: var(--rn-radius); }
body.rn-body .card-header, body.rn-body .card-footer, body.rn-body .modal-header, body.rn-body .modal-footer { background: transparent; border-color: var(--rn-line); }
body.rn-body .sidebar .card-title, body.rn-body .card-title { color: var(--rn-text); }
body.rn-body .list-group-item { color: var(--rn-text-2); }
body.rn-body .list-group-item.active, body.rn-body .list-group-item:hover { background: var(--rn-raised); border-color: var(--rn-line-2); color: var(--rn-text); }
body.rn-body .form-control, body.rn-body .custom-select, body.rn-body select, body.rn-body textarea { background: #0B0A11; border: 1px solid #2A2735; color: var(--rn-text); border-radius: 12px; min-height: 46px; }
body.rn-body .form-control:focus, body.rn-body .custom-select:focus { background: #0B0A11; color: var(--rn-text); border-color: var(--rn-accent-2); box-shadow: 0 0 0 3px rgba(123,92,255,.2); }
body.rn-body .form-control::placeholder { color: #5A5668; }
body.rn-body .table { color: var(--rn-text-2); }
body.rn-body .table th, body.rn-body .table td { border-color: var(--rn-line); }
body.rn-body .table thead th { color: var(--rn-dim); font-family: var(--rn-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
body.rn-body .table-striped tbody tr:nth-of-type(odd) { background: rgba(255,255,255,.02); }
body.rn-body .alert { border-radius: 12px; border: 1px solid var(--rn-line-2); background: var(--rn-raised); color: var(--rn-text); }
body.rn-body .alert-danger { border-color: #5A2A3A; background: #1E0F16; color: #FFB3BF; }
body.rn-body .alert-success { border-color: #1F4A3A; background: #0E1E18; color: #A8F0D0; }
body.rn-body .header-lined h1 { font-size: 40px; font-weight: 800; letter-spacing: -.04em; }
body.rn-body .breadcrumb, body.rn-body .master-breadcrumb { display: none; }
body.rn-body .close { color: var(--rn-text); text-shadow: none; }

/* Standard Cart — view cart / checkout keep stock markup, restyled */
#order-standard_cart .view-cart-items-header, #order-standard_cart .view-cart-items .item { background: var(--rn-surface); border-color: var(--rn-line); color: var(--rn-text); }
#order-standard_cart .view-cart-items-header { color: var(--rn-dim); font-family: var(--rn-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
#order-standard_cart .order-summary { background: var(--rn-surface); border: 1px solid var(--rn-line-2); border-radius: 18px; }
#order-standard_cart .order-summary h2 { background: transparent; color: var(--rn-text); border-bottom: 1px solid var(--rn-line); }
#order-standard_cart .summary-container { background: transparent; color: var(--rn-text); }
#order-standard_cart .total-due-today .amt { color: var(--rn-text); }
#order-standard_cart .sub-heading span { background: var(--rn-bg) !important; color: var(--rn-text); }
#order-standard_cart .sub-heading { border-color: var(--rn-line); }
#order-standard_cart .field-container, #order-standard_cart .view-cart-tabs .tab-content, #order-standard_cart .panel-addon { background: var(--rn-surface); border-color: var(--rn-line); }
#order-standard_cart .cart-sidebar .panel, #order-standard_cart .cart-sidebar .card { background: var(--rn-surface); }

/* ---------- Sizing ---------- */
:root { --rn-sidebar: 256px; --rn-radius: 10px; }
.rn-sidebar { padding: 20px 12px 16px; gap: 22px; scrollbar-width: thin; scrollbar-color: #2A2735 transparent; overflow-x: hidden; }
.rn-logo img { width: 148px; }
.rn-nav { font-size: 13.5px; }
.rn-nav-item { padding: 9px 10px; border-radius: 8px; }
.rn-subnav { margin: 2px 0 6px 21px; padding-left: 8px; }
.rn-subnav-link { padding: 7px 9px; font-size: 13px; white-space: nowrap; }
.rn-topbar { height: 56px; }
.rn-chip { height: 32px; padding: 0 10px; border-radius: 8px; }
.rn-drop-menu { top: 38px; border-radius: 8px; }
.rn-btn { height: 36px; padding: 0 14px; border-radius: 8px; font-size: 13px; }
.rn-btn-lg { height: 42px; padding: 0 18px; border-radius: 10px; font-size: 14px; }
.rn-btn-primary, body.rn-body .btn-primary, body.rn-body .btn-success { box-shadow: 0 4px 12px -6px rgba(109,74,255,.45), inset 0 1px 0 rgba(255,255,255,.16); }
.rn-btn-primary:hover, body.rn-body .btn-primary:hover, body.rn-body .btn-success:hover { filter: brightness(1.08); }
.rn-btn-outline { height: 34px; border-radius: 8px; }
.rn-btn-outline:hover { box-shadow: none; }
.rn-content { padding: clamp(18px, 2vw, 32px) 0 60px; }
.rn-content > .rn-container { max-width: 1320px; padding: 0 clamp(16px, 2.2vw, 32px); }
@media (min-width: 992px) { .rn-content > .rn-container { max-width: 1600px; margin-left: 0; margin-right: auto; } }
.rn-glow { top: -420px; opacity: .8; }
.rn-panel, .rn-card { border-radius: 12px; }
.rn-card { padding: 18px 20px; gap: 13px; }
.rn-card-title { font-size: 15.5px !important; }
.rn-h2 { margin: 0 0 12px; font-size: 18px !important; }
.rn-section { margin-top: 28px; }
.rn-section-sm { margin-top: 22px; }
.rn-eyebrow { font-size: 10.5px; padding: 4px 10px; }
.rn-icon-box { width: 40px; height: 40px; border-radius: 10px; font-size: 16px; }
.rn-icon-sm { width: 32px; height: 32px; border-radius: 8px; font-size: 13px; }
.rn-icon-lg { width: 56px; height: 56px; border-radius: 14px; font-size: 22px; box-shadow: 0 0 0 6px rgba(109,74,255,.06); }
.rn-home-top { gap: 14px; }
.rn-hero { border-radius: 14px; padding: 32px; gap: 18px; min-height: 260px; }
.rn-hero h1 { font-size: clamp(26px, 2.9vw, 40px); }
.rn-account-panel { border-radius: 14px; padding: 22px; gap: 12px; }
.rn-account-panel h3 { font-size: 17px; }
.rn-account-panel .rn-btn { height: 38px; border-radius: 9px; }
.rn-actions { gap: 11px; }
.rn-action { border-radius: 12px; padding: 16px; gap: 13px; }
.rn-action strong { font-size: 14.5px; }
.rn-action small { font-size: 12.5px; }
.rn-groups { gap: 11px; }
.rn-group-card { border-radius: 12px; padding: 16px; min-height: 130px; }
.rn-group-name { font-size: 15px; }
.rn-hero-desc { position: relative; z-index: 1; margin: 0; max-width: 520px; color: #A9A4BB; font-size: 14.5px; line-height: 1.55; }
.rn-hero-chips { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; }
.rn-hero-chips[hidden], .rn-games[hidden], .rn-groups[hidden] { display: none; }
.rn-hero-chip { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 9px; border: 1px solid #2A2545; background: rgba(11,9,18,.6); }
.rn-hero-chip span { font-family: var(--rn-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #6E6981; }
.rn-hero-chip b { font-size: 15px; font-weight: 700; color: var(--rn-text); }
.rn-hero-chip b.is-accent { color: var(--rn-accent-soft); }
.rn-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.rn-section-head .rn-h2 { margin: 0; }
.rn-section-link { font-size: 13.5px; color: var(--rn-accent-soft) !important; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.rn-games { display: flex; flex-direction: column; gap: 11px; }
.rn-game { display: flex; flex-wrap: wrap; border-radius: 14px; border: 1px solid #1E1B29; background: #0F0D16; overflow: hidden; }
.rn-game-info { flex: 1 1 300px; max-width: 100%; padding: 19px 20px; display: flex; flex-direction: column; gap: 13px; background: linear-gradient(160deg, #18122F 0%, #0F0D16 75%); border-right: 1px solid #1E1B29; }
.rn-game-meta { display: flex; align-items: center; gap: 12px; }
.rn-game-code { height: 30px; padding: 0 10px; border-radius: 8px; background: rgba(123,92,255,.14); border: 1px solid #3A2F70; display: flex; align-items: center; font-family: var(--rn-mono); font-size: 12px; color: #C9BBFF; }
.rn-game-sum { font-size: 12.5px; color: #8D88A0; white-space: nowrap; }
.rn-game-name { font-size: 20.5px; font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.rn-game-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.rn-tag { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; border: 1px solid #2A2545; background: #120F1E; font-size: 12px; color: #C9C5D6; white-space: nowrap; }
.rn-tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--rn-accent-2); }
.rn-tiers { flex: 2 1 460px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.rn-tier { padding: 18px 19px; display: flex; flex-direction: column; gap: 13px; border-left: 1px solid #1A1824; color: var(--rn-text) !important; text-decoration: none !important; transition: background .15s; }
.rn-tier:hover { background: linear-gradient(180deg, rgba(109,74,255,.08), rgba(109,74,255,0)); }
.rn-tier-head { display: flex; justify-content: space-between; align-items: center; }
.rn-tier-label { font-family: var(--rn-mono); font-size: 11px; letter-spacing: .14em; color: #8D88A0; }
.rn-tier.is-premium .rn-tier-label { color: #C9BBFF; }
.rn-tier-count { font-size: 12px; color: #6E6981; white-space: nowrap; }
.rn-tier-price { display: flex; flex-direction: column; gap: 2px; }
.rn-tier-price small { font-size: 12px; color: #6E6981; }
.rn-tier-price strong { font-size: 23.5px; font-weight: 800; letter-spacing: -.04em; line-height: 1.05; }
.rn-tier-price strong span { font-size: 13px; font-weight: 500; letter-spacing: 0; color: #8D88A0; }
.rn-tier-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid #1C1A26; border-bottom: 1px solid #1C1A26; }
.rn-tier-specs div { display: flex; flex-direction: column; }
.rn-tier-specs small { font-family: var(--rn-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #5A5668; }
.rn-tier-specs span { font-size: 13.5px; color: #E3E0EC; }
.rn-tier-btn { height: 32px; border-radius: 8px; background: rgba(255,255,255,.04); border: 1px solid #2A2735; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 13.5px; }
.rn-tier.is-premium .rn-tier-btn { background: var(--rn-accent); border-color: var(--rn-accent); color: #fff; }
@media (max-width: 760px) { .rn-game-info { border-right: 0; border-bottom: 1px solid #1E1B29; } .rn-tier { border-left: 0; border-top: 1px solid #1A1824; } .rn-tier:first-child { border-top: 0; } }

/* Store group pages: gradient hero + pill tabs */
.rn-store-hero { border: 1px solid var(--rn-line-2); border-radius: 14px; background: linear-gradient(140deg, #1C1440 0%, var(--rn-surface) 55%); padding: 28px 30px 0; margin-bottom: 14px; }
.rn-store-hero::before, .rn-corner { display: none; }
.rn-store-hero-main { padding-bottom: 22px; gap: 18px; }
.rn-store-hero h1 { font-size: clamp(26px, 2.9vw, 36px); line-height: 1; }
.rn-store-tagline { font-size: 14px; }
.rn-stat-box { border-radius: 10px; }
.rn-stat-box > div { padding: 10px 16px; }
.rn-stat-box strong { font-size: 20px; }
.rn-store-tabs { margin: 0 -30px; padding: 6px 24px; gap: 4px; border-top-color: var(--rn-line-2); }
.rn-store-tabs a { padding: 7px 12px; border-radius: 8px; border-bottom: 0; font-size: 13px; }
.rn-store-tabs a.active { background: var(--rn-raised); }
.rn-plan-table { border-radius: 12px; background: var(--rn-surface); }
.rn-plan-name { font-size: 22px; }
.rn-plan-price strong { font-size: 23px; }

/* Configure + summary */
.rn-page-head { margin-bottom: 18px; gap: 16px; }
.rn-page-head h1 { font-size: 32px; }
.rn-steps span { width: 22px; height: 22px; font-size: 11px; }
.rn-config-layout { gap: 17px; }
.rn-config-main { gap: 13px; }
.rn-product-card h2 { font-size: 21px; }
.rn-options { gap: 9px; }
.rn-option { padding: 11px 12px; border-radius: 10px; gap: 7px; }
.rn-option-price { font-size: 16px; }
.rn-config-row { padding: 12px 0; }
.rn-toggle { padding: 10px 11px; border-radius: 10px; }
.rn-switch { width: 38px; height: 22px; border: 1px solid #2E2A3D; background: #16141F; box-sizing: border-box; }
.rn-switch::after { left: 2px; top: 2px; width: 16px; height: 16px; background: #8D88A0; box-shadow: 0 1px 3px rgba(0,0,0,.45); }
.rn-toggle:has(input:checked) .rn-switch { border-color: var(--rn-accent-2); }
.rn-toggle:has(input:checked) .rn-switch::after { transform: translateX(16px); }
.rn-summary .order-summary { border-radius: 12px; }
.rn-summary-title { padding: 15px 16px; font-size: 15px !important; }
.rn-sum-product { padding: 14px 16px 4px; }
.rn-sum-lines, .rn-sum-totals { padding: 8px 16px 12px; }
.rn-sum-total { padding: 15px 16px; }
.rn-sum-total .amt { font-size: 30px; }
body.rn-body .form-control, body.rn-body .custom-select, body.rn-body select, body.rn-body textarea { border-radius: 9px; min-height: 38px; }
body.rn-body .header-lined h1 { font-size: 30px; }

/* Sidebar contact + login */
.rn-contact-card { border-radius: 10px; border: 1px solid var(--rn-line-2); background: linear-gradient(160deg, #1B1438, var(--rn-surface) 75%); padding: 11px; display: flex; flex-direction: column; gap: 10px; }
.rn-contact-head { display: flex; align-items: center; gap: 10px; }
.rn-contact-head > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.rn-contact-head strong { font-size: 13.5px; }
.rn-contact-head small, .rn-contact-card small { font-size: 12px; color: var(--rn-muted); }
.rn-contact-card-lg { padding: 18px; gap: 10px; }
.rn-contact-card .rn-btn-ghost { height: 32px; }
.rn-login-panel { border-radius: 10px; border: 1px solid var(--rn-line); background: var(--rn-surface); padding: 9px; display: flex; flex-direction: column; gap: 8px; }
.rn-login-panel .rn-forgot { display: flex; align-items: center; gap: 9px; text-align: left; padding: 8px 4px 2px; border-top: 1px solid #1C1A26; margin: 0 -9px; padding-left: 13px; padding-right: 13px; color: var(--rn-muted) !important; }
.rn-login-panel .rn-forgot .fa-key { color: var(--rn-accent-soft); }
.rn-login-panel .rn-forgot:hover { color: var(--rn-text) !important; }
.rn-forgot-chev { margin-left: auto; font-size: 10px; }

/* Page hero (news, kb, contact) */
.rn-page-hero { position: relative; overflow: hidden; border-radius: 14px; border: 1px solid var(--rn-line-2); background: linear-gradient(115deg, #1C1440 0%, #15112A 45%, #1A1438 100%); padding: 28px 30px; margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-end; justify-content: space-between; }
.rn-page-hero::after { content: ""; position: absolute; right: -160px; top: -240px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(closest-side, rgba(123,92,255,.22), rgba(123,92,255,0)); pointer-events: none; }
.rn-hero-stats { position: relative; z-index: 1; display: flex; gap: 8px; }
.rn-hero-stat { display: flex; align-items: center; justify-content: space-between; gap: 18px; box-sizing: border-box; height: 46px; min-width: 150px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--rn-line-2); background: rgba(11,9,18,.55); }
.rn-hero-stat span { font-family: var(--rn-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--rn-muted); line-height: 1; }
.rn-hero-stat strong { font-size: 18px; font-weight: 700; line-height: 1; color: var(--rn-text); }
.rn-hero-stat.is-accent strong { color: var(--rn-accent-soft); }
.rn-hero-btns { position: relative; z-index: 1; display: flex; gap: 8px; }
.rn-search { position: relative; display: flex; align-items: stretch; gap: 8px; margin: 0; }
.rn-search-field { flex: 1 1 auto; min-width: 0; box-sizing: border-box; height: 46px; margin: 0; padding: 0 14px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--rn-line-2); border-radius: 10px; background: rgba(11,9,18,.8); cursor: text; }
.rn-search-field:focus-within { border-color: rgba(123,92,255,.6); }
.rn-search-field > i, .rn-search-field > svg { flex: 0 0 auto; width: 14px; font-size: 13px; line-height: 1; text-align: center; color: var(--rn-muted); }
.rn-search-field .form-control { flex: 1 1 auto; min-width: 0; height: 100% !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
.rn-search .rn-btn { flex: 0 0 auto; box-sizing: border-box; height: 46px; padding: 0 20px; }
@media (max-width: 640px) { .rn-hero-stats { width: 100%; } .rn-hero-stat { flex: 1; min-width: 0; } }

/* Lists, cards, forms */
.rn-two-col { display: flex; flex-wrap: wrap; gap: 17px; align-items: flex-start; }
.rn-two-col-main { flex: 1 1 560px; min-width: 0; }
.rn-two-col-side { flex: 1 1 280px; max-width: 360px; }
.rn-two-col-side .card { border-radius: 12px; margin-bottom: 11px; }
.rn-list { overflow: hidden; }
.rn-list-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid #18161F; color: var(--rn-text) !important; }
.rn-list-row:last-child { border-bottom: 0; }
.rn-list-row:hover { background: linear-gradient(90deg, rgba(109,74,255,.08), rgba(109,74,255,0) 60%); }
.rn-list-row > i { color: var(--rn-dim); font-size: 11px; }
.rn-list-idx { font-family: var(--rn-mono); font-size: 12px; color: var(--rn-accent-2); width: 24px; }
.rn-list-date { font-family: var(--rn-mono); font-size: 11.5px; color: var(--rn-muted); white-space: nowrap; }
.rn-list-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rn-list-body strong { font-size: 14px; font-weight: 600; }
.rn-list-body small { font-size: 12.5px; color: var(--rn-muted); }
.rn-pager { display: flex; justify-content: space-between; margin-top: 11px; }
.rn-kb-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 10px; }
.rn-kb-cat { border-radius: 12px; border: 1px solid var(--rn-line); background: var(--rn-surface); padding: 15px; display: flex; flex-direction: column; gap: 6px; color: var(--rn-text) !important; transition: border-color .15s, background .15s; }
.rn-kb-cat:hover { border-color: #3A2F70; background: #120F1E; }
.rn-kb-cat-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.rn-kb-cat strong { font-size: 14.5px; }
.rn-kb-cat small { font-size: 12.5px; color: var(--rn-muted); }
.rn-pill { height: 22px; padding: 0 9px; border-radius: 999px; border: 1px solid var(--rn-line-2); display: inline-flex; align-items: center; font-family: var(--rn-mono); font-size: 11px; color: var(--rn-dim); }
.rn-pill.is-on { color: #C9BBFF; }
.rn-empty-state { padding: 44px 24px; display: flex; flex-direction: column; align-items: center; gap: 11px; text-align: center; }
.rn-empty-state strong { font-size: 17px; }
.rn-empty-state small { color: var(--rn-muted); }
.rn-empty-flat { border: 0; }
.rn-form { display: flex; flex-direction: column; gap: 13px; }
.rn-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 13px; }
.rn-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.rn-field label { margin: 0; font-size: 13px; }
.rn-label-row { display: flex; justify-content: space-between; }
.rn-label-row a { font-size: 12.5px; }
.rn-captcha { padding: 12px; border-radius: 10px; border: 1px solid var(--rn-line); background: #0B0A11; }
.rn-form-actions { display: flex; justify-content: flex-end; }
.rn-remember { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: var(--rn-text-2); cursor: pointer; }
.rn-remember input { accent-color: var(--rn-accent); width: 15px; height: 15px; }
.rn-login-wrap { display: flex; justify-content: center; padding: 16px 0; }
.rn-login-card { position: relative; overflow: hidden; width: 100%; max-width: 420px; border-radius: 14px; border: 1px solid var(--rn-line-2); background: linear-gradient(160deg, #1A1235 0%, var(--rn-surface) 50%); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.rn-login-card h1 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.035em; }
.rn-login-card .rn-btn-block { height: 40px; }
.rn-login-foot { margin: 0; padding-top: 12px; border-top: 1px solid var(--rn-line); text-align: center; font-size: 13px; color: var(--rn-muted); }
.rn-sidebar::-webkit-scrollbar { width: 8px; }
.rn-sidebar::-webkit-scrollbar-thumb { background: #2A2735; border-radius: 8px; }

/* ---------- Mobile ---------- */
.rn-nav-backdrop { display: none; }
@media (max-width: 991px) {
    .rn-shell { grid-template-columns: minmax(0, 1fr); }
    .rn-sidebar { position: fixed; left: 0; top: 0; z-index: 1030; width: min(86vw, 300px); height: 100dvh; transform: translateX(-100%); transition: transform .25s; box-shadow: 20px 0 50px rgba(0,0,0,.5); }
    body.rn-nav-open { overflow: hidden; }
    .rn-glow { width: 140vw; }
    body.rn-nav-open .rn-sidebar { transform: none; }
    body.rn-nav-open .rn-nav-backdrop { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 1020; }
    .rn-menu-toggle { display: inline-grid; place-items: center; }
    .rn-hero { grid-column: auto; padding: 32px; }
    .rn-config-side { max-width: none; position: static; }
}
@media (max-width: 760px) {
    .rn-plan-head { display: none; }
    .rn-plan-row, .rn-plan-table.is-raw .rn-plan-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "name name" "storage cpu" "src src" "price btn"; gap: 14px 20px; padding: 16px 18px; }
    .rn-plan-idx { display: none; }
    .rn-plan-name { grid-area: name; }
    .rn-plan-spec[data-spec="storage"] { grid-area: storage; }
    .rn-plan-spec[data-spec="cpu"] { grid-area: cpu; }
    .rn-plan-table.is-raw .rn-plan-src { grid-area: src; }
    .rn-plan-price { grid-area: price; }
    .rn-plan-row > .rn-btn { grid-area: btn; }
    .rn-plan-spec { max-width: none; }
    .rn-plan-toolbar { flex-direction: column; align-items: stretch; }
    .rn-plan-filters { overflow-x: auto; flex-wrap: nowrap; }
    .rn-plan-filter { flex: 1 0 auto; }
}
@media (max-width: 600px) {
    .rn-topbar-actions .rn-chip:not(:last-child) { display: none; }
    .rn-store-hero { padding: 28px 22px 0; }
    .rn-store-tabs { margin: 0 -22px; padding: 0 22px; }
}

/* ---------- Account menu & states ---------- */
.rn-account-menu > summary { list-style: none; cursor: pointer; }
.rn-account-menu > summary::-webkit-details-marker { display: none; }
.rn-account-menu .rn-chev { margin-left: auto; font-size: 11px; color: var(--rn-dim); transition: transform .2s; }
.rn-account-menu[open] .rn-chev { transform: rotate(180deg); }
.rn-account-text { flex: 1; }
.rn-account-text strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rn-account-links { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; padding: 6px; border: 1px solid var(--rn-line); border-radius: 10px; background: var(--rn-surface); max-height: 280px; overflow-y: auto; }
.rn-account-links .rn-subnav-link { white-space: normal; }
.rn-option { min-width: 0; }
.rn-option-price, .rn-option-sub { overflow-wrap: anywhere; }
.rn-btn.disabled, .rn-btn[aria-disabled="true"] { opacity: .5; pointer-events: none; cursor: not-allowed; }
.rn-plan-row.is-soldout { opacity: .65; }
.rn-plan-row.is-soldout:hover { background: transparent; }

/* ---------- Client area: stat tiles, tables, DataTables ---------- */
body.rn-body .tiles { margin-bottom: 20px; }
body.rn-body .tiles .row { margin: 0 -6px; }
body.rn-body .tiles .row > [class*="col-"] { padding: 0 6px; margin-bottom: 12px; }
body.rn-body .tiles .tile { position: relative; display: block; height: 100%; padding: 18px 20px 20px; border-radius: 14px; border: 1px solid var(--rn-line); background: var(--rn-surface) !important; color: var(--rn-text) !important; text-decoration: none !important; overflow: hidden; transition: border-color .15s, background .15s; }
body.rn-body .tiles .tile:hover { border-color: var(--rn-line-2); background: var(--rn-raised) !important; }
body.rn-body .tiles .tile i { position: absolute; right: 18px; top: 18px; font-size: 22px; color: var(--rn-accent-soft) !important; opacity: .55; }
body.rn-body .tiles .tile .stat { margin: 0; font-size: 34px; font-weight: 800; line-height: 1.1; letter-spacing: -.03em; color: var(--rn-text) !important; }
body.rn-body .tiles .tile .title { margin-top: 4px; font-family: var(--rn-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--rn-muted) !important; }
body.rn-body .tiles .tile .highlight { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; width: auto; margin: 0; background: var(--rn-accent-2) !important; opacity: .7; }
body.rn-body .card .list-group-item, body.rn-body .list-group-flush .list-group-item, body.rn-body .card-body + .card-footer, body.rn-body .card-header { border-color: var(--rn-line) !important; }
body.rn-body .card-footer, body.rn-body .card-footer a { color: var(--rn-muted); }
body.rn-body .list-group-item .badge, body.rn-body .sidebar .badge { background: var(--rn-raised) !important; color: var(--rn-text-2) !important; border: 1px solid var(--rn-line-2); border-radius: 6px; min-width: 24px; font-weight: 600; }
body.rn-body .table-container { background: var(--rn-surface) !important; border: 1px solid var(--rn-line); border-radius: 14px; padding: 0; overflow: hidden; }
body.rn-body .table-list, body.rn-body .table-list > thead > tr > th, body.rn-body .table-list > tbody > tr > td, body.rn-body table.dataTable { background: transparent !important; color: var(--rn-text-2) !important; border-color: var(--rn-line) !important; }
body.rn-body .table-list > thead > tr > th { padding: 14px 16px; border-bottom: 1px solid var(--rn-line) !important; border-top: 0 !important; font-family: var(--rn-mono); font-size: 11px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--rn-dim) !important; background: var(--rn-surface-2) !important; }
body.rn-body .table-list > thead > tr > th.sorting_asc, body.rn-body .table-list > thead > tr > th.sorting_desc { color: var(--rn-text) !important; }
body.rn-body .table-list > tbody > tr > td { padding: 16px; border-top: 1px solid var(--rn-line) !important; vertical-align: middle; }
body.rn-body .table-list > tbody > tr:hover > td { background: rgba(123,92,255,.05) !important; cursor: pointer; }
body.rn-body .table-list > tbody > tr > td strong, body.rn-body .table-list > tbody > tr > td a { color: var(--rn-text) !important; font-weight: 600; }
body.rn-body .table-list > tbody > tr > td .text-muted, body.rn-body .table-list > tbody > tr > td small { color: var(--rn-muted) !important; }
body.rn-body .dataTables_wrapper { color: var(--rn-text-2); }
body.rn-body .dataTables_wrapper .dataTables_info { color: var(--rn-muted); font-size: 13.5px; padding: 12px 0; }
body.rn-body .dataTables_wrapper .dataTables_filter input, body.rn-body .dataTables_wrapper .dataTables_length select { height: 40px; min-height: 40px; background: #0B0A11 !important; border: 1px solid #2A2735 !important; color: var(--rn-text) !important; border-radius: 10px; box-shadow: none !important; }
body.rn-body .dataTables_wrapper .dataTables_filter input { padding-left: 38px; background-image: none !important; }
body.rn-body .dataTables_wrapper .dataTables_filter label { position: relative; }
body.rn-body .dataTables_wrapper .dataTables_filter label::before { content: "\f002"; font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free"; font-weight: 900; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 13px; color: var(--rn-muted); pointer-events: none; }
body.rn-body .dataTables_wrapper .dataTables_length { color: var(--rn-muted); }
body.rn-body .pagination .page-link, body.rn-body .dataTables_paginate .paginate_button { background: var(--rn-surface) !important; border: 1px solid var(--rn-line-2) !important; color: var(--rn-text-2) !important; }
body.rn-body .pagination .page-item.active .page-link { background: var(--rn-accent) !important; border-color: var(--rn-accent) !important; color: #fff !important; }
body.rn-body .pagination .page-item.disabled .page-link { color: var(--rn-dim) !important; }
body.rn-body .pagination .page-item:first-child .page-link { border-radius: 10px 0 0 10px; }
body.rn-body .pagination .page-item:last-child .page-link { border-radius: 0 10px 10px 0; }
body.rn-body .label, body.rn-body .status { border-radius: 6px; }

/* ---------- Ticket view ---------- */
body.rn-body .ticket-reply { background: var(--rn-surface) !important; border: 1px solid var(--rn-line) !important; border-radius: var(--rn-radius); margin-bottom: 14px; overflow: hidden; color: var(--rn-text-2); }
body.rn-body .ticket-reply .posted-by, body.rn-body .ticket-reply .card-header { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 12px 18px; background: var(--rn-surface-2) !important; border: 0 !important; border-bottom: 1px solid var(--rn-line) !important; color: var(--rn-muted) !important; font-size: 13px; }
body.rn-body .ticket-reply .posted-by strong, body.rn-body .ticket-reply .posted-by .posted-by-name { color: var(--rn-text) !important; font-weight: 600; }
body.rn-body .ticket-reply .posted-by .label, body.rn-body .ticket-reply .posted-by .badge, body.rn-body .ticket-reply .requestor-badge { margin: 0; padding: 3px 8px; border-radius: 6px; font-family: var(--rn-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; background: var(--rn-raised) !important; color: var(--rn-text-2) !important; border: 1px solid var(--rn-line-2); }
body.rn-body .ticket-reply.staff, body.rn-body .ticket-reply.staff .posted-by { border-left: 0; }
body.rn-body .ticket-reply.staff .posted-by .label, body.rn-body .ticket-reply.staff .posted-by .badge, body.rn-body .ticket-reply.staff .requestor-badge { background: rgba(123,92,255,.14) !important; color: var(--rn-accent-soft) !important; border-color: rgba(123,92,255,.35); }
body.rn-body .ticket-reply .message, body.rn-body .ticket-reply .card-body { padding: 18px; background: transparent !important; color: var(--rn-text-2) !important; font-size: 15px; line-height: 1.65; }
body.rn-body .ticket-reply .message p:last-child { margin-bottom: 0; }
body.rn-body .ticket-reply code { background: var(--rn-raised); color: var(--rn-accent-soft); padding: 1px 6px; border-radius: 5px; }
body.rn-body .ticket-reply .attachments, body.rn-body .ticket-reply .card-footer { background: var(--rn-surface-2) !important; border-top: 1px solid var(--rn-line) !important; }

/* ---------- Product details ---------- */
body.rn-body .product-details .product, body.rn-body .product-details-tab-container, body.rn-body .product-details .card { background: var(--rn-surface) !important; border: 1px solid var(--rn-line) !important; border-radius: var(--rn-radius); color: var(--rn-text) !important; height: auto !important; min-height: 0 !important; }
body.rn-body .product-details .product { padding: 28px 20px 0; overflow: hidden; }
body.rn-body .product-details .product .product-icon, body.rn-body .product-details .product-icon .fa-stack { color: var(--rn-accent-2) !important; opacity: 1 !important; }
body.rn-body .product-details .product .fa-circle { color: var(--rn-raised) !important; }
body.rn-body .product-details .product h3, body.rn-body .product-details .product h4 { color: var(--rn-text) !important; opacity: 1 !important; margin: 10px 0 4px; }
body.rn-body .product-details .product h4 { color: var(--rn-muted) !important; font-size: 14px; font-weight: 500; }
body.rn-body .product-details .product-status-text { margin: 18px -20px 0; padding: 7px; font-family: var(--rn-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
body.rn-body .product-details .text-center h4, body.rn-body .product-details .col-md-6 h4 { margin: 14px 0 2px; font-family: var(--rn-mono); font-size: 11px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--rn-dim) !important; }
body.rn-body .product-details .text-center h4:first-child { margin-top: 0; }
body.rn-body .product-details .text-center, body.rn-body .product-details .col-md-6 { color: var(--rn-text) !important; font-size: 14.5px; }
body.rn-body .product-details .btn-danger, body.rn-body .product-details .btn-block { border-radius: 10px; }
body.rn-body .product-details .btn-danger { background: rgba(255,107,129,.1) !important; border: 1px solid rgba(255,107,129,.35) !important; color: var(--rn-danger) !important; }
body.rn-body .product-details .btn-danger:hover { background: rgba(255,107,129,.18) !important; }
body.rn-body .bg-light, body.rn-body .bg-white { background: var(--rn-surface) !important; color: var(--rn-text) !important; }
body.rn-body .card-sidebar, body.rn-body .card-sidebar .card-header, body.rn-body .panel-sidebar .panel-heading, body.rn-body .card-sidebar .card-title { background: var(--rn-surface) !important; color: var(--rn-text) !important; border-color: var(--rn-line) !important; }

/* ---------- Phone ---------- */
html, body.rn-body { max-width: 100%; overflow-x: hidden; -webkit-text-size-adjust: 100%; }
body.rn-body img { max-width: 100%; height: auto; }
body.rn-body .table-responsive, body.rn-body .dataTables_wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 991px) {
    .rn-content > .rn-container { width: 100%; max-width: 100%; }
    .rn-content > .rn-container > .row { margin-left: 0; margin-right: 0; }
    .rn-content > .rn-container > .row > [class*="col-"] { padding-left: 0; padding-right: 0; }
    #order-standard_cart, #order-standard_cart .row { max-width: 100%; }
}
@media (max-width: 767px) {
    body.rn-body .form-control, body.rn-body .custom-select, body.rn-body select, body.rn-body textarea, body.rn-body input { font-size: 16px !important; }
    body.rn-body .table { display: block; width: 100%; overflow-x: auto; white-space: nowrap; }
    .rn-topbar { padding: 0 14px; gap: 10px; }
    .rn-crumbs { font-size: 12.5px; }
    .rn-content > .rn-container { padding: 0 14px; }
    .rn-hero { padding: 24px 20px; border-radius: 16px; }
    .rn-page-hero { flex-direction: column; align-items: stretch; padding: 20px; gap: 16px; }
    .rn-search { flex-wrap: wrap; }
    .rn-search .rn-btn { flex: 1 1 100%; }
    .rn-groups { grid-template-columns: minmax(0, 1fr); }
    .rn-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rn-plan-row { padding: 14px; }
    .rn-spec-text { font-size: 14px; }
    .rn-plan-count { margin-left: 0; }
    .rn-store-hero h1 { font-size: 30px; }
    .rn-stat-box > div { padding: 10px 16px; }
    .rn-stat-box strong { font-size: 22px; }
    .rn-action { padding: 16px; gap: 14px; }
    .rn-panel, .rn-card { border-radius: 12px; }
    .rn-pager { flex-wrap: wrap; gap: 8px; }
    .rn-btn { min-height: 44px; }
}
@media (max-width: 380px) {
    .rn-options { grid-template-columns: minmax(0, 1fr); }
    .rn-logo img { width: 128px; }
}

/* ---------- Client area fixes: buttons on links ---------- */
body.rn-body a.btn-danger, body.rn-body a.btn-success, body.rn-body a.btn-info, body.rn-body a.btn-warning, body.rn-body a.btn-primary { color: #fff !important; }
body.rn-body .btn-danger { background: rgba(255,107,129,.1) !important; border: 1px solid rgba(255,107,129,.35) !important; color: var(--rn-danger) !important; border-radius: 10px; }
body.rn-body a.btn-danger { color: var(--rn-danger) !important; }
body.rn-body .btn-danger:hover { background: rgba(255,107,129,.18) !important; color: #FF8FA0 !important; }

/* ---------- Client area fixes: tabs ---------- */
body.rn-body .nav-tabs { border-bottom: 1px solid var(--rn-line) !important; gap: 4px; }
body.rn-body .nav-tabs .nav-link { background: transparent !important; border: 1px solid transparent !important; border-bottom: 0 !important; border-radius: 10px 10px 0 0; color: var(--rn-muted) !important; padding: 11px 16px; }
body.rn-body .nav-tabs .nav-link i { color: inherit !important; }
body.rn-body .nav-tabs .nav-link:hover { color: var(--rn-text) !important; }
body.rn-body .nav-tabs .nav-link.active, body.rn-body .nav-tabs .nav-item.show .nav-link { background: var(--rn-surface) !important; border-color: var(--rn-line) !important; color: var(--rn-text) !important; }
body.rn-body .tab-content, body.rn-body .tab-content > .tab-pane { background: transparent !important; color: var(--rn-text) !important; }
body.rn-body .product-details-tab-container { background: var(--rn-surface) !important; border: 1px solid var(--rn-line) !important; border-top: 0 !important; border-radius: 0 0 var(--rn-radius) var(--rn-radius); padding: 20px !important; }

/* ---------- Client area fixes: product details ---------- */
body.rn-body .product-details { background: var(--rn-surface) !important; border: 1px solid var(--rn-line) !important; border-radius: var(--rn-radius); padding: 20px; margin-bottom: 20px; }
body.rn-body .product-details .row { align-items: center; }
body.rn-body .product-details .col-md-6 .product, body.rn-body [class*="product-status-"].product { position: relative; background: var(--rn-surface-2) !important; border: 1px solid var(--rn-line) !important; border-radius: 12px; color: var(--rn-text) !important; padding: 28px 20px 0; overflow: hidden; text-align: center; height: auto !important; min-height: 0 !important; }
body.rn-body .product-details .col-md-6 .product .product-icon { background: transparent !important; color: var(--rn-accent-soft) !important; opacity: 1 !important; }
body.rn-body .product-details .col-md-6 .product .product-icon .fa-circle { color: var(--rn-raised) !important; }
body.rn-body .product-details .col-md-6 .product .product-icon .fa-stack-1x, body.rn-body .product-details .col-md-6 .product .product-icon .fa-inverse { color: var(--rn-accent-soft) !important; }
body.rn-body .product-details .col-md-6 .product h3 { margin: 12px 0 4px; font-size: 26px; font-weight: 700; color: var(--rn-text) !important; opacity: 1 !important; }
body.rn-body .product-details .col-md-6 .product h4 { margin: 0 0 4px; font-family: var(--rn-font); font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--rn-muted) !important; opacity: 1 !important; }
body.rn-body .product-details .product-status-text { margin: 20px -20px 0 !important; padding: 8px; border-radius: 0 !important; font-family: var(--rn-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
body.rn-body .product-details .col-md-6 > .btn-block, body.rn-body .product-details .col-md-6 form .btn-block { margin-top: 12px; }
body.rn-body .product-details .col-md-6.text-center h4, body.rn-body .product-details .text-center > h4 { margin: 18px 0 4px; font-family: var(--rn-mono); font-size: 11px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--rn-muted) !important; }
body.rn-body .product-details .col-md-6.text-center h4:first-child, body.rn-body .product-details .text-center > h4:first-child { margin-top: 0; }

/* ---------- Client area fixes: sidebar panels ---------- */
body.rn-body .sidebar .card, body.rn-body .sidebar .panel { background: var(--rn-surface) !important; border: 1px solid var(--rn-line) !important; border-radius: 12px; overflow: hidden; }
body.rn-body .sidebar .card-header, body.rn-body .sidebar .panel-heading { background: transparent !important; border-color: var(--rn-line) !important; }
body.rn-body .sidebar .list-group-item { background: transparent; color: var(--rn-text-2) !important; }
body.rn-body .sidebar .list-group-item.active, body.rn-body .sidebar .list-group-item:hover { background: var(--rn-raised) !important; color: var(--rn-text) !important; }
body.rn-body .sidebar .card-title i, body.rn-body .sidebar .list-group-item i { color: var(--rn-accent-soft); }

/* ---------- Client area fixes: ticket replies ---------- */
body.rn-body .ticket-reply [class*="requestor-type-"] { margin-left: auto; padding: 3px 8px; border-radius: 6px; font-family: var(--rn-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; background: var(--rn-raised) !important; color: var(--rn-text-2) !important; border: 1px solid var(--rn-line-2); }

/* ---------- Client area fixes: message editor ---------- */
body.rn-body .md-editor, body.rn-body .EasyMDEContainer, body.rn-body .editor-toolbar, body.rn-body .CodeMirror { background: #0B0A11 !important; border-color: #2A2735 !important; color: var(--rn-text) !important; }
body.rn-body .md-editor { border: 1px solid #2A2735 !important; border-radius: 10px; overflow: hidden; box-shadow: none !important; }
body.rn-body .md-editor.active { border-color: var(--rn-accent-2) !important; box-shadow: 0 0 0 3px rgba(123,92,255,.2) !important; }
body.rn-body .md-editor > .md-header, body.rn-body .md-editor > .md-footer, body.rn-body .editor-toolbar, body.rn-body .editor-statusbar, body.rn-body .markdown-editor-status { background: var(--rn-surface-2) !important; border-color: var(--rn-line) !important; color: var(--rn-muted) !important; }
body.rn-body .md-editor > .md-header { padding: 8px 10px; border-bottom: 1px solid var(--rn-line); }
body.rn-body .md-editor > .md-footer { padding: 6px 12px; border-top: 1px solid var(--rn-line); }
body.rn-body .md-editor .btn-toolbar .btn, body.rn-body .md-editor .btn-default, body.rn-body .editor-toolbar a, body.rn-body .editor-toolbar button { background: transparent !important; border: 1px solid #2A2735 !important; color: var(--rn-text-2) !important; box-shadow: none !important; min-height: 32px; }
body.rn-body .md-editor .btn-toolbar .btn:hover, body.rn-body .editor-toolbar a:hover, body.rn-body .editor-toolbar button:hover { background: var(--rn-raised) !important; color: var(--rn-text) !important; }
body.rn-body .md-editor .btn-toolbar .btn-primary { background: var(--rn-accent) !important; border-color: var(--rn-accent) !important; color: #fff !important; }
body.rn-body .md-editor .md-control-fullscreen, body.rn-body .md-editor .md-control { color: var(--rn-muted) !important; }
body.rn-body .md-editor > textarea, body.rn-body .md-editor > textarea:focus, body.rn-body textarea.markdown-editor, body.rn-body textarea.markdown-editor:focus { background: #0B0A11 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; color: var(--rn-text) !important; padding: 14px 16px; }
body.rn-body .md-editor > .md-preview, body.rn-body .editor-preview, body.rn-body .editor-preview-side { background: #0B0A11 !important; color: var(--rn-text) !important; border: 0 !important; }
body.rn-body .CodeMirror-cursor { border-color: var(--rn-text) !important; }

/* ---------- Client area fixes: file upload ---------- */
body.rn-body .custom-file-label, body.rn-body .input-group-text { background: #0B0A11 !important; border: 1px solid #2A2735 !important; color: var(--rn-text-2) !important; }
body.rn-body .custom-file-label::after { background: var(--rn-raised) !important; border-left: 1px solid #2A2735 !important; color: var(--rn-text) !important; }
body.rn-body input[type="file"].form-control, body.rn-body input[type="file"].form-control-file { background: #0B0A11 !important; color: var(--rn-text-2) !important; }
body.rn-body .custom-file-input:focus ~ .custom-file-label { border-color: var(--rn-accent-2) !important; box-shadow: 0 0 0 3px rgba(123,92,255,.2) !important; }
@media (max-width: 767px) {
    body.rn-body .nav-tabs { flex-wrap: nowrap; overflow-x: auto; }
    body.rn-body .nav-tabs .nav-link { white-space: nowrap; }
    body.rn-body .product-details .col-md-6.text-center { margin-top: 20px; }
}
body.rn-body .input-group-append .btn { min-height: 0; height: calc(1.5em + .75rem + 2px); padding: .375rem .75rem; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 991px) {
    body.rn-body .sidebar { margin-bottom: 14px; }
}

/* ---------- Product status card ---------- */
body.rn-body .product-details { background: transparent !important; border: 0 !important; border-radius: 0; padding: 0; margin-bottom: 0; }
body.rn-body .product-details .product-status { border-radius: 12px; overflow: hidden; border: 1px solid var(--rn-line); }
body.rn-body .product-details .product-status .product-icon { background: var(--rn-surface-2) !important; border: 0 !important; border-radius: 0 !important; padding: 28px 20px 24px; margin: 0; text-align: center; color: var(--rn-accent-soft) !important; opacity: 1 !important; }
body.rn-body .product-details .col-md-6 .product-icon .fa-circle { color: var(--rn-raised) !important; }
body.rn-body .product-details .col-md-6 .product-icon .fa-stack-1x, body.rn-body .product-details .col-md-6 .product-icon .fa-inverse { color: var(--rn-accent-soft) !important; }
body.rn-body .product-details .col-md-6 .product-icon h3 { margin: 12px 0 4px; font-size: 26px; font-weight: 700; letter-spacing: -.02em; color: var(--rn-text) !important; opacity: 1 !important; }
body.rn-body .product-details .col-md-6 .product-icon h4 { margin: 0; font-family: var(--rn-font); font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--rn-muted) !important; opacity: 1 !important; }
body.rn-body .product-details .product-status .product-status-text { margin: 0 !important; padding: 9px; background: rgba(0,0,0,.2); color: #fff !important; font-weight: 500; text-align: center; }

/* ---------- Ticket attachments ---------- */
body.rn-body .ticket-reply [class*="attachment"], body.rn-body .ticket-reply [class*="attachment"] *, body.rn-body .ticket-reply .card-footer *, body.rn-body .ticket-reply .message ~ * * { background-color: transparent !important; border-color: var(--rn-line-2) !important; box-shadow: none !important; }
body.rn-body .ticket-reply [class*="attachment"] a, body.rn-body .ticket-reply .card-footer a, body.rn-body .ticket-reply .message ~ * a { background-color: var(--rn-raised) !important; color: var(--rn-text-2) !important; border-radius: 10px; text-decoration: none; transition: border-color .15s, color .15s; }
body.rn-body .ticket-reply [class*="attachment"] a:hover, body.rn-body .ticket-reply .card-footer a:hover, body.rn-body .ticket-reply .message ~ * a:hover { border-color: var(--rn-accent-2) !important; color: var(--rn-text) !important; }
body.rn-body .ticket-reply [class*="attachment"] a i, body.rn-body .ticket-reply .card-footer a i, body.rn-body .ticket-reply .message ~ * a i { color: var(--rn-accent-soft) !important; }
body.rn-body .ticket-reply [class*="attachment"] strong, body.rn-body .ticket-reply .card-footer strong { color: var(--rn-text-2) !important; }
body.rn-body .ticket-reply [class*="attachment"] li, body.rn-body .ticket-reply .card-footer li, body.rn-body .ticket-reply .message ~ * li { border-radius: 10px; overflow: hidden; }

/* ---------- Invoice payment ---------- */
body.rn-body #main-body table, body.rn-body #main-body table tr, body.rn-body #main-body table td, body.rn-body #main-body table th, body.rn-body #main-body table tfoot { background-color: transparent !important; border-color: var(--rn-line) !important; }
body.rn-body #main-body table tfoot td, body.rn-body #main-body table tfoot th, body.rn-body #main-body table .total-row td, body.rn-body #main-body table .total-row th { color: var(--rn-text) !important; }
body.rn-body #main-body .rn-dark-row { background-color: var(--rn-surface-2) !important; border-color: var(--rn-line-2) !important; color: var(--rn-text) !important; }
body.rn-body #main-body .rn-dark-row *:not(i):not(svg):not(a):not(.btn) { color: var(--rn-text) !important; }
body.rn-body #main-body td.rn-dark-row, body.rn-body #main-body th.rn-dark-row, body.rn-body #main-body tr.rn-dark-row { background-color: transparent !important; }
