:root {
  color-scheme: dark;
}

html[data-theme='bright'] {
  --bg-0: #f7fbff;
  --bg-1: #eef6ff;
  --bg-2: #e3effc;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --surface-soft: rgba(226, 238, 252, 0.68);
  --stroke: rgba(50, 75, 115, 0.16);
  --text: #071326;
  --muted: #51647f;
  --primary: #155bd8;
  --secondary: #eaf3ff;
  --highlight: #007eb8;
  --success: #087f5b;
  --success-soft: rgba(8, 127, 91, 0.12);
  --shadow: 0 24px 58px rgba(30, 64, 110, 0.15);
  --glow-blue: rgba(37, 99, 235, 0.16);
  --glow-cyan: rgba(0, 126, 184, 0.16);
  color-scheme: light;
}

.site-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 5px 11px 5px 5px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.58);
  color: var(--text);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.site-theme-toggle:hover,
.site-theme-toggle:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(6, 182, 212, 0.38);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.16), 0 0 22px rgba(6, 182, 212, 0.1);
}

.site-theme-toggle-track {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  width: 58px;
  height: 32px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.site-theme-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f8fafc, #bdefff);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.24), 0 0 14px rgba(6, 182, 212, 0.16);
  transition: transform 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
}

.site-theme-toggle-icon {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
}

.site-theme-toggle-sun::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow:
    0 -7px 0 -4px #f59e0b,
    0 7px 0 -4px #f59e0b,
    7px 0 0 -4px #f59e0b,
    -7px 0 0 -4px #f59e0b,
    5px 5px 0 -4px #f59e0b,
    -5px -5px 0 -4px #f59e0b,
    5px -5px 0 -4px #f59e0b,
    -5px 5px 0 -4px #f59e0b;
}

.site-theme-toggle-moon::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e0f2fe;
  box-shadow: -4px 0 0 0 #1e293b;
}

html[data-theme='bright'] .site-theme-toggle {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(20, 74, 126, 0.18);
  color: #071326;
  box-shadow: 0 10px 24px rgba(30, 64, 110, 0.12);
}

html[data-theme='bright'] .site-theme-toggle-track {
  background: rgba(226, 238, 252, 0.92);
  border-color: rgba(20, 74, 126, 0.16);
}

html[data-theme='bright'] .site-theme-toggle-thumb {
  transform: translateX(26px);
  background: linear-gradient(135deg, #0f172a, #155bd8);
  box-shadow: 0 4px 10px rgba(30, 64, 110, 0.22), 0 0 14px rgba(37, 99, 235, 0.16);
}

html[data-theme='bright'] body,
html[data-theme='bright'] body.auth-page,
html[data-theme='bright'] body.client-dashboard-page,
html[data-theme='bright'] body.admin-page,
html[data-theme='bright'] body.cart-page {
  color: var(--text);
  background:
    radial-gradient(circle at 78% 12%, rgba(6, 182, 212, 0.1), transparent 30%),
    radial-gradient(circle at 18% 12%, rgba(37, 99, 235, 0.08), transparent 28%),
    linear-gradient(135deg, #f8fbff 0%, #eef6ff 48%, #e4f0ff 100%);
}

html[data-theme='bright'] body::before,
html[data-theme='bright'] body.auth-page::before,
html[data-theme='bright'] body.client-dashboard-page::before,
html[data-theme='bright'] body.admin-page::before,
html[data-theme='bright'] body.cart-page::before {
  background:
    linear-gradient(rgba(30, 64, 110, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 64, 110, 0.045) 1px, transparent 1px),
    radial-gradient(ellipse at 72% 20%, rgba(6, 182, 212, 0.12), transparent 40%),
    radial-gradient(ellipse at 50% 52%, rgba(37, 99, 235, 0.08), transparent 48%);
}

html[data-theme='bright'] body::after {
  background-image:
    radial-gradient(circle at 25% 25%, rgba(30, 64, 110, 0.08) 0 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(210, 226, 248, 0.2));
  mix-blend-mode: normal;
  opacity: 0.5;
}

html[data-theme='bright'] .nav-shell,
html[data-theme='bright'] .auth-header .nav-shell,
html[data-theme='bright'] .client-dashboard-page .nav-shell,
html[data-theme='bright'] .admin-page .nav-shell,
html[data-theme='bright'] .cart-page .nav-shell,
html[data-theme='bright'] .mobile-drawer {
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(30, 64, 110, 0.14);
  box-shadow: 0 16px 42px rgba(30, 64, 110, 0.14);
}

html[data-theme='bright'] .mobile-overlay {
  background: rgba(30, 64, 110, 0.24);
}

html[data-theme='bright'] .glass,
html[data-theme='bright'] .auth-intro,
html[data-theme='bright'] .auth-card,
html[data-theme='bright'] .client-card,
html[data-theme='bright'] .dashboard-intro,
html[data-theme='bright'] .dashboard-card,
html[data-theme='bright'] .confirm-modal,
html[data-theme='bright'] .renew-contact-modal,
html[data-theme='bright'] .slip-viewer {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(238, 246, 255, 0.68)),
    radial-gradient(circle at 90% 10%, rgba(6, 182, 212, 0.1), transparent 34%);
  border-color: rgba(30, 64, 110, 0.14);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 24px 58px rgba(30, 64, 110, 0.14);
}

html[data-theme='bright'] .auth-highlight,
html[data-theme='bright'] .client-checklist li,
html[data-theme='bright'] .dashboard-menu,
html[data-theme='bright'] .kpi-card,
html[data-theme='bright'] .service-item,
html[data-theme='bright'] .summary-chip,
html[data-theme='bright'] .ticket-list li,
html[data-theme='bright'] .message-bubble,
html[data-theme='bright'] .cart-item,
html[data-theme='bright'] .payment-method-card,
html[data-theme='bright'] .payment-detail-rows li,
html[data-theme='bright'] .manual-fallback-details,
html[data-theme='bright'] .settings-fieldset,
html[data-theme='bright'] .ops-metric-card,
html[data-theme='bright'] .linode-key-item,
html[data-theme='bright'] .linode-assign-vps-item,
html[data-theme='bright'] .linode-instance-card,
html[data-theme='bright'] .linode-config-panel,
html[data-theme='bright'] .linode-create-section,
html[data-theme='bright'] .linode-instance-config,
html[data-theme='bright'] .linode-output,
html[data-theme='bright'] .linode-instance-output,
html[data-theme='bright'] .admin-client-item,
html[data-theme='bright'] .metric-card,
html[data-theme='bright'] .performance-panel,
html[data-theme='bright'] .terminal-preview,
html[data-theme='bright'] .stack-item,
html[data-theme='bright'] .trust-badge,
html[data-theme='bright'] .pricing-card,
html[data-theme='bright'] .feature-card,
html[data-theme='bright'] .payment-card,
html[data-theme='bright'] .location-card,
html[data-theme='bright'] .contact-card,
html[data-theme='bright'] .faq-item,
html[data-theme='bright'] .mobile-meta {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(232, 242, 255, 0.62));
  border-color: rgba(30, 64, 110, 0.14);
  box-shadow: 0 14px 34px rgba(30, 64, 110, 0.1);
}

html[data-theme='bright'] .currency-pill,
html[data-theme='bright'] .auth-tab,
html[data-theme='bright'] .dashboard-menu-item,
html[data-theme='bright'] .table-action,
html[data-theme='bright'] .checkout-cta,
html[data-theme='bright'] .topups-toolbar select,
html[data-theme='bright'] .dashboard-form input,
html[data-theme='bright'] .dashboard-form select,
html[data-theme='bright'] .dashboard-form textarea,
html[data-theme='bright'] .message-form input,
html[data-theme='bright'] .auth-form input,
html[data-theme='bright'] .slip-form input[type='text'],
html[data-theme='bright'] .slip-form textarea,
html[data-theme='bright'] .slip-form input[type='file'],
html[data-theme='bright'] .settings-fieldset input[type='text'],
html[data-theme='bright'] .settings-fieldset input[type='password'],
html[data-theme='bright'] .settings-fieldset input[type='email'],
html[data-theme='bright'] .settings-fieldset input[type='number'],
html[data-theme='bright'] .admin-client-search,
html[data-theme='bright'] .linode-manager-toolbar select,
html[data-theme='bright'] .linode-config-row select,
html[data-theme='bright'] .linode-config-row input,
html[data-theme='bright'] .linode-instance-config-row select,
html[data-theme='bright'] .linode-instance-config-row input,
html[data-theme='bright'] .mobile-nav a,
html[data-theme='bright'] .btn-secondary {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(30, 64, 110, 0.18);
  color: var(--text);
}

html[data-theme='bright'] .auth-tab.active,
html[data-theme='bright'] .dashboard-menu-item.is-active,
html[data-theme='bright'] .payment-method-card.active,
html[data-theme='bright'] .ticket-item.active,
html[data-theme='bright'] .admin-client-item.selected,
html[data-theme='bright'] #adminServiceList .service-item.selected,
html[data-theme='bright'] .desktop-nav a.nav-login-highlight,
html[data-theme='bright'] .mobile-nav a.nav-login-highlight {
  color: #042f4f;
  border-color: rgba(0, 126, 184, 0.32);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(6, 182, 212, 0.12)),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.12);
}

html[data-theme='bright'] .auth-panel h2,
html[data-theme='bright'] .dashboard-card h2,
html[data-theme='bright'] .dashboard-intro h1,
html[data-theme='bright'] .client-card h1,
html[data-theme='bright'] .subsection-title,
html[data-theme='bright'] .cart-item-main h3,
html[data-theme='bright'] h1,
html[data-theme='bright'] h2,
html[data-theme='bright'] h3,
html[data-theme='bright'] strong,
html[data-theme='bright'] .brand-text,
html[data-theme='bright'] .desktop-nav a:hover,
html[data-theme='bright'] .desktop-nav a:focus-visible {
  color: var(--text);
}

html[data-theme='bright'] p,
html[data-theme='bright'] .card-note,
html[data-theme='bright'] .helper-note,
html[data-theme='bright'] .desktop-nav a,
html[data-theme='bright'] .mobile-meta p,
html[data-theme='bright'] .summary-row,
html[data-theme='bright'] .cart-item-meta,
html[data-theme='bright'] .method-desc,
html[data-theme='bright'] .invoice-table td,
html[data-theme='bright'] .orders-table td,
html[data-theme='bright'] .data-table td {
  color: var(--muted);
}

html[data-theme='bright'] .service-detail-row dt,
html[data-theme='bright'] #adminServiceList .service-detail-row dt {
  color: #45647f;
}

html[data-theme='bright'] .service-detail-row dd,
html[data-theme='bright'] #adminServiceList .service-detail-row dd {
  color: #071326;
}

html[data-theme='bright'] .auth-form label,
html[data-theme='bright'] .dashboard-form label,
html[data-theme='bright'] .slip-form label,
html[data-theme='bright'] .settings-fieldset label,
html[data-theme='bright'] .linode-manager-toolbar label,
html[data-theme='bright'] .linode-config-row label,
html[data-theme='bright'] .linode-instance-config-row label,
html[data-theme='bright'] .invoice-table th,
html[data-theme='bright'] .orders-table th,
html[data-theme='bright'] .data-table th,
html[data-theme='bright'] .cart-section-title {
  color: #12355c;
}

html[data-theme='bright'] .keyword-pop,
html[data-theme='bright'] .kpi-card strong,
html[data-theme='bright'] .summary-total strong,
html[data-theme='bright'] .cart-item-price,
html[data-theme='bright'] .summary-chip strong,
html[data-theme='bright'] .ops-metric-card strong,
html[data-theme='bright'] .metric-value {
  color: #006ea6;
  text-shadow: none;
}

html[data-theme='bright'] .profile-hero {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(223, 244, 252, 0.72)),
    radial-gradient(circle at 92% 8%, rgba(20, 184, 166, 0.16), transparent 28%);
  border-color: rgba(0, 126, 184, 0.18);
}

html[data-theme='bright'] .profile-avatar {
  background:
    linear-gradient(135deg, rgba(20, 184, 166, 0.18), rgba(37, 99, 235, 0.14)),
    rgba(255, 255, 255, 0.76);
  border-color: rgba(30, 64, 110, 0.14);
  color: #075985;
  box-shadow: 0 14px 30px rgba(30, 64, 110, 0.12);
}

html[data-theme='bright'] .profile-display-name,
html[data-theme='bright'] .profile-completion-head strong,
html[data-theme='bright'] .profile-insight-card strong,
html[data-theme='bright'] .profile-action-card strong,
html[data-theme='bright'] .profile-health-item strong {
  color: #071326;
}

html[data-theme='bright'] .profile-handle,
html[data-theme='bright'] .profile-status-stack,
html[data-theme='bright'] .profile-completion-head span,
html[data-theme='bright'] .profile-insight-card span,
html[data-theme='bright'] .profile-action-card span,
html[data-theme='bright'] .profile-completion-panel p,
html[data-theme='bright'] .profile-insight-card p,
html[data-theme='bright'] .profile-action-card small,
html[data-theme='bright'] .profile-health-item small {
  color: #51647f;
}

html[data-theme='bright'] .profile-completion-panel,
html[data-theme='bright'] .profile-insight-card,
html[data-theme='bright'] .profile-action-card,
html[data-theme='bright'] .profile-settings-panel,
html[data-theme='bright'] .profile-security-panel,
html[data-theme='bright'] .profile-form-card,
html[data-theme='bright'] .profile-health-item {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(30, 64, 110, 0.14);
}

html[data-theme='bright'] .profile-progress-track {
  background: rgba(203, 213, 225, 0.62);
}

html[data-theme='bright'] .keyword-shift {
  background-image: linear-gradient(120deg, #071326, #006ea6, #155bd8, #00a1c7);
}

html[data-theme='bright'] .brand-mark,
html[data-theme='bright'] .eyebrow,
html[data-theme='bright'] .pill-note,
html[data-theme='bright'] .live-chip,
html[data-theme='bright'] .status-led,
html[data-theme='bright'] .latency-badge {
  background: rgba(6, 182, 212, 0.09);
  border-color: rgba(0, 126, 184, 0.18);
  color: #006ea6;
  box-shadow: none;
}

html[data-theme='bright'] .menu-toggle {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(30, 64, 110, 0.16);
}

html[data-theme='bright'] .menu-toggle span {
  background: #071326;
}

html[data-theme='bright'] .table-wrap,
html[data-theme='bright'] .ops-table-grid {
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(30, 64, 110, 0.14);
}

html[data-theme='bright'] .invoice-table th,
html[data-theme='bright'] .invoice-table td,
html[data-theme='bright'] .orders-table th,
html[data-theme='bright'] .orders-table td,
html[data-theme='bright'] .data-table th,
html[data-theme='bright'] .data-table td,
html[data-theme='bright'] .cart-card-header,
html[data-theme='bright'] .summary-row,
html[data-theme='bright'] .payment-details-body li {
  border-bottom-color: rgba(30, 64, 110, 0.12);
}

html[data-theme='bright'] .terminal-preview,
html[data-theme='bright'] .code-window,
html[data-theme='bright'] .linode-output,
html[data-theme='bright'] .linode-instance-output,
html[data-theme='bright'] code {
  color: #12355c;
  background: rgba(226, 238, 252, 0.76);
}

html[data-theme='bright'] select option {
  color: #071326;
  background: #ffffff;
}

html[data-theme='bright'] .site-redirect-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(238, 246, 255, 0.84)),
    radial-gradient(circle at 50% 0%, rgba(6, 182, 212, 0.12), transparent 45%);
  border-color: rgba(30, 64, 110, 0.18);
  color: #071326;
  box-shadow: 0 28px 58px rgba(30, 64, 110, 0.2);
}

html[data-theme='bright'] .hero::before {
  background:
    radial-gradient(circle at 70% 34%, rgba(14, 165, 233, 0.13), transparent 32%),
    radial-gradient(circle at 47% 18%, rgba(37, 99, 235, 0.1), transparent 36%),
    linear-gradient(160deg, rgba(248, 251, 255, 0.95), rgba(232, 244, 255, 0.72));
}

html[data-theme='bright'] .hero::after {
  background: radial-gradient(circle, rgba(14, 165, 233, 0.12), rgba(37, 99, 235, 0.06) 42%, transparent 70%);
  opacity: 0.56;
}

html[data-theme='bright'] .hero-copy p,
html[data-theme='bright'] .section-head p,
html[data-theme='bright'] .provider-banner p {
  color: #39506d;
}

html[data-theme='bright'] .hero-panel {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(229, 241, 255, 0.76)),
    radial-gradient(circle at 86% 10%, rgba(14, 165, 233, 0.14), transparent 34%),
    radial-gradient(circle at 8% 88%, rgba(37, 99, 235, 0.1), transparent 36%);
  border-color: rgba(30, 64, 110, 0.18);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 30px 70px rgba(30, 64, 110, 0.18);
}

html[data-theme='bright'] .hero-panel::before {
  background:
    linear-gradient(115deg, transparent 0 32%, rgba(255, 255, 255, 0.42) 46%, transparent 60%),
    linear-gradient(rgba(30, 64, 110, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 64, 110, 0.05) 1px, transparent 1px);
  opacity: 0.62;
}

html[data-theme='bright'] .hero-panel::after {
  background: radial-gradient(circle, rgba(14, 165, 233, 0.16), transparent 68%);
}

html[data-theme='bright'] .window-controls,
html[data-theme='bright'] .dashboard-status-row,
html[data-theme='bright'] .performance-panel,
html[data-theme='bright'] .terminal-preview,
html[data-theme='bright'] .stack-item {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(30, 64, 110, 0.16);
  box-shadow: 0 12px 28px rgba(30, 64, 110, 0.08);
}

html[data-theme='bright'] .hero-panel h2,
html[data-theme='bright'] .panel-header,
html[data-theme='bright'] .terminal-top strong,
html[data-theme='bright'] .stack-item strong {
  color: #071326;
  text-shadow: none;
}

html[data-theme='bright'] .status-led,
html[data-theme='bright'] .protection-bar span:first-child {
  color: #087f5b;
}

html[data-theme='bright'] .dashboard-status-row > span:last-child,
html[data-theme='bright'] .chart-legend,
html[data-theme='bright'] .terminal-top,
html[data-theme='bright'] .stack-item,
html[data-theme='bright'] .metric-card span {
  color: #4b617d;
}

html[data-theme='bright'] .chart-stage {
  background:
    radial-gradient(circle at 16% 16%, rgba(14, 165, 233, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(232, 244, 255, 0.9), rgba(215, 231, 250, 0.72));
  border: 1px solid rgba(30, 64, 110, 0.12);
}

html[data-theme='bright'] .chart-grid {
  stroke: rgba(30, 64, 110, 0.14);
}

html[data-theme='bright'] .protection-bar {
  background:
    linear-gradient(90deg, rgba(34, 197, 94, 0.14), rgba(14, 165, 233, 0.1)),
    rgba(255, 255, 255, 0.72);
  border-color: rgba(8, 127, 91, 0.2);
  box-shadow: 0 14px 28px rgba(8, 127, 91, 0.08);
}

html[data-theme='bright'] .protection-bar strong {
  color: #49627f;
}

html[data-theme='bright'] .terminal-preview code {
  color: #0f5132;
  background: transparent;
  text-shadow: none;
}

html[data-theme='bright'] .service-tabs {
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(30, 64, 110, 0.14);
  box-shadow: 0 18px 38px rgba(30, 64, 110, 0.12);
}

html[data-theme='bright'] .service-tab {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(30, 64, 110, 0.16);
  color: #173659;
  text-shadow: none;
  box-shadow: 0 8px 18px rgba(30, 64, 110, 0.08);
}

html[data-theme='bright'] .service-tab:hover,
html[data-theme='bright'] .service-tab:focus-visible {
  background: #ffffff;
  border-color: rgba(0, 126, 184, 0.28);
  color: #071326;
  box-shadow: 0 14px 28px rgba(30, 64, 110, 0.14);
}

html[data-theme='bright'] .service-tab.active {
  color: #ffffff;
  background: linear-gradient(135deg, #155bd8, #06b6d4);
  border-color: rgba(0, 126, 184, 0.36);
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.18);
}

html[data-theme='bright'] .provider-banner {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(238, 246, 255, 0.82)),
    radial-gradient(circle at 92% 12%, rgba(14, 165, 233, 0.1), transparent 36%);
}

html[data-theme='bright'] .provider-summary {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(30, 64, 110, 0.16);
  box-shadow: 0 12px 26px rgba(30, 64, 110, 0.1);
}

html[data-theme='bright'] .pricing-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(236, 246, 255, 0.78));
}

html[data-theme='bright'] .pricing-card:hover {
  border-color: rgba(0, 126, 184, 0.24);
  box-shadow: 0 26px 48px rgba(30, 64, 110, 0.16);
}

html[data-theme='bright'] .plan-type-pill {
  background: rgba(226, 238, 252, 0.82);
  border-color: rgba(30, 64, 110, 0.12);
  color: #36516f;
}

html[data-theme='bright'] .price-row,
html[data-theme='bright'] .price-note {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(225, 238, 252, 0.7));
  border-color: rgba(30, 64, 110, 0.14);
  color: #39506d;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.62) inset,
    0 10px 22px rgba(30, 64, 110, 0.08);
}

html[data-theme='bright'] .price-row small,
html[data-theme='bright'] .price-note {
  color: #39506d;
}

html[data-theme='bright'] .price-row strong {
  color: #071326;
}

html[data-theme='bright'] .spec-list li {
  border-bottom-color: rgba(30, 64, 110, 0.12);
}

html[data-theme='bright'] .profile-warning,
html[data-theme='bright'] .service-usage-alert-summary.is-error,
html[data-theme='bright'] .status-pending,
html[data-theme='bright'] .status-warning,
html[data-theme='bright'] .risk-pill.low,
html[data-theme='bright'] .risk-pill.medium {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(180, 83, 9, 0.22);
  color: #7c3f00;
}

html[data-theme='bright'] .service-item.service-item-usage-alert,
html[data-theme='bright'] .service-usage-warning,
html[data-theme='bright'] .service-usage-alert-summary.is-over,
html[data-theme='bright'] .status-due,
html[data-theme='bright'] .status-expired,
html[data-theme='bright'] .table-action.danger,
html[data-theme='bright'] .risk-pill.high {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(185, 28, 28, 0.22);
  color: #8b1d1d;
}

html[data-theme='bright'] .service-usage-warning strong {
  color: #7c3f00;
}

html[data-theme='bright'] .service-usage-alert-summary,
html[data-theme='bright'] .status-paid,
html[data-theme='bright'] .status-pill.info,
html[data-theme='bright'] .risk-pill.none {
  background: rgba(14, 165, 233, 0.1);
  border-color: rgba(0, 126, 184, 0.18);
  color: #075985;
}

html[data-theme='bright'] .service-usage-alert-summary.is-ok,
html[data-theme='bright'] .status-active,
html[data-theme='bright'] .table-action.success {
  background: rgba(8, 127, 91, 0.1);
  border-color: rgba(8, 127, 91, 0.22);
  color: #075c44;
}

html[data-theme='bright'] .map-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(233, 244, 255, 0.72)),
    radial-gradient(circle at 78% 14%, rgba(14, 165, 233, 0.12), transparent 32%);
  border-color: rgba(30, 64, 110, 0.14);
}

html[data-theme='bright'] .legend-chip {
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(30, 64, 110, 0.14);
  color: #36516f;
}

html[data-theme='bright'] .world-map-shell {
  background:
    linear-gradient(180deg, rgba(236, 248, 255, 0.96), rgba(211, 232, 250, 0.92));
  border-color: rgba(30, 64, 110, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 18px 38px rgba(30, 64, 110, 0.12);
}

html[data-theme='bright'] #oceanGradient stop:first-child {
  stop-color: #ecf8ff;
}

html[data-theme='bright'] #oceanGradient stop:last-child {
  stop-color: #d6eafb;
}

html[data-theme='bright'] #mapGrid line {
  stroke: rgba(30, 64, 110, 0.16);
}

html[data-theme='bright'] #mapLand path {
  fill: rgba(50, 108, 160, 0.2);
  stroke: rgba(20, 74, 126, 0.36);
}

html[data-theme='bright'] #mapRoutes path {
  stroke: rgba(0, 126, 184, 0.46);
  filter: none;
}

html[data-theme='bright'] .map-marker .marker-ring {
  stroke: rgba(0, 126, 184, 0.58);
}

html[data-theme='bright'] .map-marker .marker-core {
  fill: #007eb8;
  stroke: #ffffff;
  stroke-width: 1.25;
}

html[data-theme='bright'] .map-marker:hover .marker-core,
html[data-theme='bright'] .map-marker:focus-visible .marker-core {
  fill: #155bd8;
}

html[data-theme='bright'] .map-tooltip {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(232, 242, 255, 0.9));
  border-color: rgba(30, 64, 110, 0.18);
  color: #071326;
  box-shadow: 0 18px 38px rgba(30, 64, 110, 0.18);
}

html[data-theme='bright'] .map-tooltip strong {
  color: #071326;
}

html[data-theme='bright'] .map-tooltip span {
  color: #51647f;
}

html[data-theme='bright'] .location-code {
  color: #007eb8;
}

html[data-theme='bright'] .location-country {
  color: #273b56;
}

html[data-theme='bright'] .status-chip {
  background: rgba(8, 127, 91, 0.12);
  border-color: rgba(8, 127, 91, 0.28);
  color: #075c44;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.64);
}

html[data-theme='bright'] .status-chip::before {
  background: #087f5b;
  box-shadow: 0 0 0 6px rgba(8, 127, 91, 0.12);
}

html[data-theme='bright'] .client-welcome-message {
  background:
    linear-gradient(135deg, rgba(8, 127, 91, 0.12), rgba(14, 165, 233, 0.12)),
    rgba(255, 255, 255, 0.82);
  border-color: rgba(8, 127, 91, 0.26);
  box-shadow: 0 14px 30px rgba(30, 64, 110, 0.1);
}

html[data-theme='bright'] .client-welcome-message strong {
  color: #075c44;
}

html[data-theme='bright'] .client-welcome-message span {
  color: #12355c;
}

html[data-theme='bright'] .client-status,
html[data-theme='bright'] .client-status.info,
html[data-theme='bright'] .renew-contact-target,
html[data-theme='bright'] .linode-config-note,
html[data-theme='bright'] .linode-output p,
html[data-theme='bright'] .linode-instance-output p,
html[data-theme='bright'] .admin-ticket-meta,
html[data-theme='bright'] .admin-overdue-service p,
html[data-theme='bright'] .linode-key-item-meta span,
html[data-theme='bright'] .linode-assign-vps-meta span,
html[data-theme='bright'] .linode-instance-meta,
html[data-theme='bright'] .linode-resize-detail-grid,
html[data-theme='bright'] .linode-resize-detail-grid span,
html[data-theme='bright'] .muted-inline,
html[data-theme='bright'] .data-table small,
html[data-theme='bright'] .data-table .muted,
html[data-theme='bright'] .data-table td.empty-state,
html[data-theme='bright'] .service-stock-toggle span,
html[data-theme='bright'] .settings-fieldset label small {
  color: #51647f;
}

html[data-theme='bright'] .client-status.success {
  color: #087f5b;
}

html[data-theme='bright'] .client-status.error {
  color: #b42323;
}

html[data-theme='bright'] .admin-client-item,
html[data-theme='bright'] .linode-key-item,
html[data-theme='bright'] .linode-assign-vps-item,
html[data-theme='bright'] .linode-instance-card,
html[data-theme='bright'] .linode-config-panel,
html[data-theme='bright'] .linode-create-section,
html[data-theme='bright'] .linode-instance-config,
html[data-theme='bright'] .linode-resize-details,
html[data-theme='bright'] .service-stock-toggle,
html[data-theme='bright'] .ops-metric-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(232, 242, 255, 0.66));
  border-color: rgba(30, 64, 110, 0.14);
  color: #071326;
  box-shadow: 0 12px 28px rgba(30, 64, 110, 0.09);
}

html[data-theme='bright'] .admin-client-item.selected,
html[data-theme='bright'] #adminServiceList .service-item.selected,
html[data-theme='bright'] .ticket-item.active {
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(6, 182, 212, 0.1)),
    rgba(255, 255, 255, 0.82);
  border-color: rgba(0, 126, 184, 0.28);
  color: #071326;
}

html[data-theme='bright'] .admin-client-meta strong,
html[data-theme='bright'] .admin-overdue-service strong,
html[data-theme='bright'] .linode-key-item-meta strong,
html[data-theme='bright'] .linode-assign-vps-meta strong,
html[data-theme='bright'] .linode-instance-header strong,
html[data-theme='bright'] .linode-resize-detail-grid strong,
html[data-theme='bright'] .message-bubble strong,
html[data-theme='bright'] .ops-metric-card strong,
html[data-theme='bright'] .ops-metric-card h3,
html[data-theme='bright'] .settings-fieldset legend {
  color: #071326;
}

html[data-theme='bright'] .admin-client-meta span {
  color: #51647f;
}

html[data-theme='bright'] .admin-client-item .table-action,
html[data-theme='bright'] .table-action.secondary {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(30, 64, 110, 0.16);
  color: #12355c;
}

html[data-theme='bright'] .topups-toolbar label,
html[data-theme='bright'] .linode-create-checkbox-label {
  color: #12355c;
}

html[data-theme='bright'] .data-table th {
  color: #12355c;
  background: rgba(226, 238, 252, 0.54);
}

html[data-theme='bright'] .data-table td {
  color: #273b56;
}

html[data-theme='bright'] .data-table th,
html[data-theme='bright'] .data-table td {
  border-bottom-color: rgba(30, 64, 110, 0.12);
}

html[data-theme='bright'] .settings-fieldset {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(30, 64, 110, 0.14);
}

html[data-theme='bright'] .service-stock-toggle.is-off {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(185, 28, 28, 0.2);
}

html[data-theme='bright'] .ops-alert-row.critical td {
  background: rgba(239, 68, 68, 0.1);
}

html[data-theme='bright'] .ops-alert-row.warning td {
  background: rgba(245, 158, 11, 0.12);
}

html[data-theme='bright'] #adminOutboundAlertTable td.usage-over,
html[data-theme='bright'] #linodeCreateAccountStatus.linode-create-account-full {
  color: #b42323;
}

html[data-theme='bright'] #adminOutboundAlertTable td.usage-limit {
  color: #8a4b00;
}

html[data-theme='bright'] #linodeCreateAccountStatus.linode-create-account-ok {
  color: #087f5b;
}

html[data-theme='bright'] #linodeCreateAccountStatus.linode-create-account-info {
  color: #075985;
}

html[data-theme='bright'] .linode-bandwidth-chart {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(232, 242, 255, 0.88)),
    radial-gradient(circle at 12% 0%, rgba(14, 165, 233, 0.14), transparent 34%);
  border-color: rgba(0, 126, 184, 0.18);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

html[data-theme='bright'] .linode-bandwidth-chart.is-over-limit {
  background:
    linear-gradient(135deg, rgba(255, 247, 247, 0.96), rgba(255, 235, 235, 0.86)),
    radial-gradient(circle at 12% 0%, rgba(239, 68, 68, 0.12), transparent 34%);
  border-color: rgba(220, 38, 38, 0.22);
}

html[data-theme='bright'] .linode-bandwidth-chart-head span,
html[data-theme='bright'] .linode-bandwidth-meter-head span,
html[data-theme='bright'] .linode-bandwidth-limit-head span {
  color: #60718a;
}

html[data-theme='bright'] .linode-bandwidth-chart-head strong,
html[data-theme='bright'] .linode-bandwidth-meter-head strong,
html[data-theme='bright'] .linode-bandwidth-limit-head strong {
  color: #12355c;
}

html[data-theme='bright'] .linode-bandwidth-meter,
html[data-theme='bright'] .linode-bandwidth-limit {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(15, 23, 42, 0.08);
}

html[data-theme='bright'] .linode-bandwidth-track,
html[data-theme='bright'] .linode-bandwidth-limit-track {
  background: rgba(203, 213, 225, 0.62);
}

html[data-theme='bright'] .message-bubble.outgoing,
html[data-theme='bright'] .auto-poll-banner {
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(0, 126, 184, 0.18);
}

html[data-theme='bright'] .message-bubble time {
  color: #64748b;
}

html[data-theme='bright'] .confirm-modal-backdrop,
html[data-theme='bright'] .renew-contact-backdrop,
html[data-theme='bright'] #slipViewerBackdrop {
  background: rgba(15, 23, 42, 0.38);
}

@media (max-width: 760px) {
  body.auth-page:not(.client-dashboard-page) .auth-top-actions {
    display: flex;
  }

  body.auth-page:not(.client-dashboard-page) .auth-top-actions .btn {
    display: none;
  }

  .site-theme-toggle {
    min-height: 38px;
    padding-right: 9px;
    font-size: 0.74rem;
  }

  .site-theme-toggle-track {
    width: 52px;
    height: 30px;
  }

  .site-theme-toggle-thumb {
    width: 22px;
    height: 22px;
  }

  html[data-theme='bright'] .site-theme-toggle-thumb {
    transform: translateX(22px);
  }
}

@media (max-width: 560px) {
  .nav-actions .site-theme-toggle-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .nav-actions .site-theme-toggle {
    padding-right: 5px;
  }
}

@media (max-width: 420px) {
  .site-theme-toggle-track {
    width: 48px;
  }

  html[data-theme='bright'] .site-theme-toggle-thumb {
    transform: translateX(18px);
  }
}
