* { box-sizing: border-box; }

body.rental-shell-page {
  min-height: 100vh;
  margin: 0;
  padding-top: 68px;
  padding-left: 280px;
  zoom: 1 !important;
  background: #f6f7f9 !important;
  color: #0b172a;
  font-family: "Chakra Petch", "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
}

.rental-shell-page > .container {
  width: min(1220px, calc(100vw - 360px));
  max-width: 1220px !important;
  margin: 0 auto !important;
  padding: 42px 24px 72px !important;
}

.rental-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 1050;
  width: 280px;
  background: #fff;
  border-right: 1px solid #e3e8f0;
  overflow-y: auto;
  transition: transform 0.22s ease;
}

.shell-brand {
  height: 78px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  color: #071225;
  text-decoration: none;
  border-bottom: 1px solid #e6eaf0;
}

.shell-brand-logo,
.shell-account-logo {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f4f7ff;
  border: 1px solid #e1e7f3;
}

.shell-brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.shell-brand-logo img,
.shell-account-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.shell-brand b,
.shell-brand small {
  display: block;
  line-height: 1;
}

.shell-brand b {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
}

.shell-brand small {
  margin-top: 4px;
  color: #6f7b91;
  font-size: 12px;
  font-weight: 800;
}

.shell-nav {
  padding: 22px 16px 24px;
}

.shell-section {
  margin: 26px 8px 10px;
  color: #9aa3b5;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.shell-link,
.shell-submenu a,
.shell-group-title,
.shell-logout {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  color: #263248;
  text-decoration: none;
  border: 0;
  border-radius: 6px;
  padding: 0 10px;
  background: transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.shell-link i,
.shell-submenu i,
.shell-logout i {
  width: 20px;
  font-size: 20px;
  color: #5f6b80;
  text-align: center;
}

.shell-link:hover,
.shell-submenu a:hover,
.shell-link.active,
.shell-submenu a.active {
  background: #f2f5fa;
  color: #155cff;
  transform: translateX(3px);
}

.shell-link.active i,
.shell-submenu a.active i,
.shell-link:hover i,
.shell-submenu a:hover i {
  color: #155cff;
}

.shell-group-title {
  background: #f5f7fb;
  color: #071225;
  cursor: default;
}

.shell-group-title .bx-chevron-up {
  margin-left: auto;
  color: #071225;
}

.shell-submenu {
  margin: 8px 0 0 20px;
  padding-left: 16px;
  border-left: 1px solid #e1e6ee;
}

.shell-submenu a {
  min-height: 44px;
  color: #67738a;
}

.shell-sidebar-bottom {
  padding: 0 16px 26px;
}

.shell-sidebar-bottom form { margin: 0; }

.shell-logout {
  justify-content: flex-start;
  color: #6b7280;
}

.shell-logout:hover {
  color: #ef4444;
  background: #fff1f2;
}

.rental-topbar {
  position: fixed;
  inset: 0 0 auto 280px;
  z-index: 1040;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 38px;
  background: #fff;
  border-bottom: 1px solid #e3e8f0;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
  transition: left 0.22s ease;
}

.shell-toggle {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #e1e6ee;
  border-radius: 5px;
  background: #fff;
  color: #8791a3;
  cursor: pointer;
  margin-left: -56px;
  box-shadow: 0 3px 9px rgba(15, 23, 42, 0.08);
}

.shell-toggle:hover {
  color: #155cff;
  border-color: rgba(21, 92, 255, 0.35);
}

.shell-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #7b8498;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.shell-breadcrumb b { color: #111827; }

.shell-account {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #071225;
  font-size: 13px;
  font-weight: 900;
}

.shell-account-logo {
  width: 34px;
  height: 34px;
  border-radius: 6px;
}

.shell-overlay {
  position: fixed;
  inset: 0;
  z-index: 1030;
  display: none;
  background: rgba(15, 23, 42, 0.34);
}

body.shell-sidebar-collapsed {
  padding-left: 0;
}

body.shell-sidebar-collapsed .rental-sidebar {
  transform: translateX(-280px);
}

body.shell-sidebar-collapsed .rental-topbar {
  left: 0;
}

body.shell-sidebar-collapsed .shell-toggle i {
  transform: rotate(180deg);
}

body.rental-shell-page .card,
body.rental-shell-page .panel,
body.rental-shell-page .manage-card,
body.rental-shell-page .settings-card,
body.rental-shell-page .order-summary,
body.rental-shell-page .payment-method {
  border-radius: 8px !important;
  border: 1px solid #dfe5ee !important;
  box-shadow: none !important;
}

body.rental-shell-page .btn,
body.rental-shell-page button,
body.rental-shell-page a.btn-primary,
body.rental-shell-page a.btn-dark,
body.rental-shell-page a.btn-ghost {
  border-radius: 6px;
}

@media (max-width: 1180px) {
  .rental-shell-page > .container {
    width: min(100%, calc(100vw - 300px));
    padding-inline: 20px !important;
  }
}

@media (max-width: 900px) {
  body.rental-shell-page {
    padding-left: 0;
  }

  .rental-sidebar {
    transform: translateX(-280px);
  }

  .rental-topbar {
    left: 0;
    padding: 0 16px;
  }

  .shell-toggle {
    margin-left: 0;
  }

  body.shell-sidebar-open .rental-sidebar {
    transform: translateX(0);
  }

  body.shell-sidebar-open .shell-overlay {
    display: block;
  }

  .rental-shell-page > .container {
    width: 100%;
    padding: 24px 12px 44px !important;
  }
}

@media (max-width: 560px) {
  .shell-breadcrumb { font-size: 11px; gap: 6px; }
  .shell-account b { display: none; }
}

/* H2Panel inspired dark refresh */
:root {
  --botzl-bg: #050505;
  --botzl-surface: #151312;
  --botzl-surface-2: #1e1b19;
  --botzl-surface-3: #292624;
  --botzl-card: #0f0f10d9;
  --botzl-border: #ffffff14;
  --botzl-border-strong: #ffffff24;
  --botzl-text: #fafafa;
  --botzl-muted: #a1a1a1;
  --botzl-faint: #737373;
  --botzl-brand: #0085c6;
  --botzl-brand-glow: #21affe;
  --botzl-danger: #ff6568;
  --botzl-success: #00bb7f;
  --botzl-warning: #f99c00;
  --botzl-gradient-brand: linear-gradient(135deg, var(--botzl-brand), var(--botzl-brand-glow));
  --botzl-gradient-radial: radial-gradient(900px 520px at 50% -12%, rgba(0, 133, 198, .24), transparent 65%);
  --botzl-shadow-glow: 0 0 54px -18px rgba(33, 175, 254, .58);
}

body.rental-shell-page {
  background: var(--botzl-bg) !important;
  color: var(--botzl-text);
  font-family: "Space Grotesk", "Signika", "Inter", system-ui, -apple-system, sans-serif;
}

body.rental-shell-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    var(--botzl-gradient-radial),
    linear-gradient(180deg, #060606 0%, #0c0b0a 44%, #050505 100%);
}

body.rental-shell-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.024) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 74%);
}

body.rental-shell-page ::selection {
  background: rgba(0, 133, 198, .28);
  color: var(--botzl-text);
}

.rental-sidebar {
  background: rgba(10, 10, 10, .88);
  border-right: 1px solid var(--botzl-border);
  box-shadow: 18px 0 70px rgba(0, 0, 0, .36);
  backdrop-filter: blur(22px);
}

.shell-brand,
.rental-topbar {
  background: rgba(10, 10, 10, .78);
  border-color: var(--botzl-border);
  color: var(--botzl-text);
  backdrop-filter: blur(20px);
}

.rental-topbar {
  box-shadow: 0 1px 0 rgba(255,255,255,.04), 0 18px 50px rgba(0,0,0,.2);
}

.shell-brand-logo,
.shell-account-logo {
  background: #050505;
  border-color: var(--botzl-border-strong);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 0 22px rgba(0,133,198,.12);
}

.shell-brand b,
.shell-account,
.shell-breadcrumb b {
  color: var(--botzl-text);
}

.shell-brand small,
.shell-breadcrumb,
.shell-section,
.shell-submenu a,
.shell-logout {
  color: var(--botzl-muted);
}

.shell-link,
.shell-submenu a,
.shell-group-title,
.shell-logout {
  border-radius: 8px;
  color: #d8d8d8;
}

.shell-link i,
.shell-submenu i,
.shell-logout i {
  color: #8a8a8a;
}

.shell-group-title {
  background: rgba(255,255,255,.055);
  border: 1px solid var(--botzl-border);
  color: var(--botzl-text);
}

.shell-submenu {
  border-left-color: var(--botzl-border);
}

.shell-link:hover,
.shell-submenu a:hover,
.shell-link.active,
.shell-submenu a.active {
  background: rgba(0, 133, 198, .16);
  color: var(--botzl-text);
  box-shadow: inset 0 0 0 1px rgba(33,175,254,.18);
}

.shell-link.active i,
.shell-submenu a.active i,
.shell-link:hover i,
.shell-submenu a:hover i {
  color: var(--botzl-brand-glow);
}

.shell-toggle {
  background: rgba(21, 19, 18, .92);
  border-color: var(--botzl-border-strong);
  color: var(--botzl-muted);
  box-shadow: 0 12px 34px rgba(0,0,0,.32);
}

.shell-toggle:hover {
  color: var(--botzl-brand-glow);
  border-color: rgba(33,175,254,.42);
}

.shell-account {
  min-height: 42px;
  padding: 4px 10px 4px 4px;
  border: 1px solid var(--botzl-border);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
}

.shell-overlay {
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(4px);
}

body.rental-shell-page .container,
body.rental-shell-page .pay-wrap {
  color: var(--botzl-text);
}

body.rental-shell-page .card,
body.rental-shell-page .panel,
body.rental-shell-page .manage-card,
body.rental-shell-page .settings-card,
body.rental-shell-page .order-summary,
body.rental-shell-page .payment-method,
body.rental-shell-page .deposit-card,
body.rental-shell-page .pay-card,
body.rental-shell-page .bots-section,
body.rental-shell-page .uptime-card,
body.rental-shell-page .page-hero,
body.rental-shell-page .theme-card {
  background: var(--botzl-card) !important;
  border: 1px solid var(--botzl-border) !important;
  border-radius: 8px !important;
  box-shadow: var(--botzl-shadow-glow), 0 18px 70px rgba(0,0,0,.26) !important;
  backdrop-filter: blur(18px);
}

body.rental-shell-page h1,
body.rental-shell-page h2,
body.rental-shell-page h3,
body.rental-shell-page h4,
body.rental-shell-page .deposit-head h1,
body.rental-shell-page .deposit-section-title,
body.rental-shell-page .box-title,
body.rental-shell-page .pay-head h1 {
  color: var(--botzl-text) !important;
  letter-spacing: 0;
}

body.rental-shell-page p,
body.rental-shell-page small,
body.rental-shell-page .deposit-head p,
body.rental-shell-page .deposit-note,
body.rental-shell-page .qr-help,
body.rental-shell-page .pay-head p,
body.rental-shell-page .copy-row span,
body.rental-shell-page .info-row span {
  color: var(--botzl-muted) !important;
}

body.rental-shell-page .deposit-tabs,
body.rental-shell-page .copy-row,
body.rental-shell-page .info-row,
body.rental-shell-page .qr-placeholder,
body.rental-shell-page .note,
body.rental-shell-page .amount-input-wrap input,
body.rental-shell-page input,
body.rental-shell-page select,
body.rental-shell-page textarea {
  background: rgba(255,255,255,.045) !important;
  border-color: var(--botzl-border) !important;
  color: var(--botzl-text) !important;
}

body.rental-shell-page .deposit-tabs a.active,
body.rental-shell-page .deposit-submit,
body.rental-shell-page .dash-btn.primary,
body.rental-shell-page .plan-button.primary,
body.rental-shell-page .btn.primary {
  background: var(--botzl-gradient-brand) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 16px 36px rgba(0,133,198,.28) !important;
}

body.rental-shell-page .amount-option,
body.rental-shell-page .copy-btn,
body.rental-shell-page .ghost-btn,
body.rental-shell-page .btn,
body.rental-shell-page button,
body.rental-shell-page a.btn-primary,
body.rental-shell-page a.btn-dark,
body.rental-shell-page a.btn-ghost {
  background: rgba(255,255,255,.055);
  border: 1px solid var(--botzl-border);
  color: var(--botzl-text);
  border-radius: 8px;
}

body.rental-shell-page .amount-option:hover,
body.rental-shell-page .amount-option.active,
body.rental-shell-page .copy-btn:hover,
body.rental-shell-page .ghost-btn:hover,
body.rental-shell-page .btn:hover {
  border-color: rgba(33,175,254,.44) !important;
  color: var(--botzl-text) !important;
  background: rgba(0,133,198,.14) !important;
}

body.rental-shell-page .balance-status,
body.rental-shell-page .qr-state {
  color: var(--botzl-success) !important;
  border-color: rgba(0,187,127,.28) !important;
}

body.rental-shell-page .qr-bank,
body.rental-shell-page a,
body.rental-shell-page .amount-option.active b,
body.rental-shell-page .amount-option:hover b {
  color: var(--botzl-brand-glow) !important;
}

/* CSS repair pass */
body.rental-shell-page {
  background: #070707 !important;
  color: #f8fafc !important;
}

.rental-sidebar,
.rental-topbar {
  background: #0b0b0c !important;
  border-color: rgba(255,255,255,.12) !important;
  box-shadow: none !important;
}

body.rental-shell-page .deposit-card,
body.rental-shell-page .pay-card,
body.rental-shell-page .card,
body.rental-shell-page .panel,
body.rental-shell-page .manage-card,
body.rental-shell-page .settings-card,
body.rental-shell-page .bots-section,
body.rental-shell-page .uptime-card,
body.rental-shell-page .page-hero {
  background: #111214 !important;
  border-color: rgba(255,255,255,.14) !important;
  box-shadow: 0 14px 40px rgba(0,0,0,.24) !important;
}

.shell-brand b,
.shell-account,
.shell-breadcrumb b,
.shell-link,
.shell-submenu a,
.shell-group-title,
.shell-logout,
body.rental-shell-page h1,
body.rental-shell-page h2,
body.rental-shell-page h3,
body.rental-shell-page h4,
body.rental-shell-page .amount-option b,
body.rental-shell-page .copy-row b,
body.rental-shell-page .info-row b,
body.rental-shell-page .pay-head h1,
body.rental-shell-page .box-title {
  color: #f8fafc !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

.shell-brand small,
.shell-breadcrumb,
.shell-section,
body.rental-shell-page p,
body.rental-shell-page small,
body.rental-shell-page .deposit-head p,
body.rental-shell-page .deposit-note,
body.rental-shell-page .qr-help,
body.rental-shell-page .pay-head p,
body.rental-shell-page .copy-row span,
body.rental-shell-page .info-row span,
body.rental-shell-page .amount-option span {
  color: #b8c0cc !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

.shell-link:hover,
.shell-link.active,
.shell-submenu a:hover,
.shell-submenu a.active {
  background: rgba(0,133,198,.22) !important;
  color: #fff !important;
}

body.rental-shell-page .deposit-submit,
body.rental-shell-page .deposit-tabs a.active,
body.rental-shell-page .btn.primary,
body.rental-shell-page .plan-button.primary {
  background: #009eea !important;
  color: #fff !important;
  box-shadow: none !important;
}

/* XVPS final shell pass */
body.rental-shell-page {
  background: var(--xvps-bg, #0a0a0a) !important;
  color: var(--xvps-text, #fafafa) !important;
}

body.rental-shell-page::before {
  background:
    radial-gradient(900px 520px at 50% -14%, rgba(124, 58, 237, .22), transparent 62%),
    linear-gradient(180deg, #0a0a0a 0%, #101010 48%, #0a0a0a 100%) !important;
}

.rental-sidebar,
.rental-topbar {
  background: rgba(10,10,10,.92) !important;
  border-color: rgba(255,255,255,.10) !important;
  box-shadow: none !important;
  backdrop-filter: blur(14px) !important;
}

.shell-brand,
.shell-brand-logo,
.shell-account-logo {
  background: transparent !important;
  border-color: rgba(255,255,255,.10) !important;
  box-shadow: none !important;
}

.shell-brand b,
.shell-account,
.shell-breadcrumb b,
.shell-link,
.shell-submenu a,
.shell-group-title,
.shell-logout,
body.rental-shell-page h1,
body.rental-shell-page h2,
body.rental-shell-page h3,
body.rental-shell-page h4,
body.rental-shell-page .amount-option b,
body.rental-shell-page .copy-row b,
body.rental-shell-page .info-row b,
body.rental-shell-page .pay-head h1,
body.rental-shell-page .box-title {
  color: #fafafa !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

.shell-brand small,
.shell-breadcrumb,
.shell-section,
.shell-link i,
.shell-submenu i,
.shell-logout i,
body.rental-shell-page p,
body.rental-shell-page small,
body.rental-shell-page .deposit-head p,
body.rental-shell-page .deposit-note,
body.rental-shell-page .qr-help,
body.rental-shell-page .pay-head p,
body.rental-shell-page .copy-row span,
body.rental-shell-page .info-row span,
body.rental-shell-page .amount-option span {
  color: #a1a1a1 !important;
  opacity: 1 !important;
}

body.rental-shell-page .deposit-card,
body.rental-shell-page .pay-card,
body.rental-shell-page .card,
body.rental-shell-page .panel,
body.rental-shell-page .manage-card,
body.rental-shell-page .settings-card,
body.rental-shell-page .bots-section,
body.rental-shell-page .uptime-card,
body.rental-shell-page .page-hero,
body.rental-shell-page .amount-option,
body.rental-shell-page .copy-row,
body.rental-shell-page .info-row,
body.rental-shell-page .qr-placeholder,
body.rental-shell-page .note,
body.rental-shell-page input,
body.rental-shell-page select,
body.rental-shell-page textarea {
  background: #171717 !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  color: #fafafa !important;
}

.shell-group-title,
.shell-link:hover,
.shell-link.active,
.shell-submenu a:hover,
.shell-submenu a.active,
body.rental-shell-page .amount-option.active,
body.rental-shell-page .amount-option:hover,
body.rental-shell-page .deposit-tabs a.active {
  background: rgba(124,58,237,.16) !important;
  border-color: rgba(124,58,237,.38) !important;
  color: #fafafa !important;
}

.shell-link.active i,
.shell-link:hover i,
.shell-submenu a.active i,
.shell-submenu a:hover i,
body.rental-shell-page a,
body.rental-shell-page .qr-bank,
body.rental-shell-page .amount-option.active b,
body.rental-shell-page .amount-option:hover b {
  color: #a78bfa !important;
}

body.rental-shell-page .deposit-submit,
body.rental-shell-page .btn.primary,
body.rental-shell-page .plan-button.primary,
body.rental-shell-page .ghost-btn:hover,
body.rental-shell-page .copy-btn:hover {
  background: #7c3aed !important;
  color: #fff !important;
  border-color: #7c3aed !important;
  box-shadow: none !important;
}

body.rental-shell-page .balance-status,
body.rental-shell-page .qr-state {
  color: #6ee7b7 !important;
  border-color: rgba(0,187,127,.34) !important;
}
