:root {
  --g-brand-navy: #00195A;
  --g-brand-deep: #003675;
  --g-brand-primary: #1074C4;
  --g-brand-accent: #1C98ED;

  --g-bg: #f6f7fb;
  --g-surface: #ffffff;
  --g-border: rgba(0, 25, 90, 0.12);
  --g-muted: rgba(0, 25, 90, 0.65);

  --g-radius: 14px;
  --g-radius-sm: 10px;
  --g-shadow: 0 10px 24px rgba(0, 25, 90, 0.10);
  --g-shadow-sm: 0 6px 16px rgba(0, 25, 90, 0.10);

  --bs-primary: var(--g-brand-primary);
  --bs-link-color: var(--g-brand-primary);
  --bs-link-hover-color: var(--g-brand-accent);
  --bs-border-color: var(--g-border);
  --bs-body-bg: var(--g-bg);
}

.navbar.navbar-gallwitz {
  background: linear-gradient(90deg, var(--g-brand-navy), var(--g-brand-deep));
  box-shadow: var(--g-shadow-sm);
}


/* Base */
body {
  background: var(--g-bg);
}

main.container {
  /* etwas großzügiger + modern */
  max-width: 1200px;
}

/* Navbar */
.navbar.navbar-gallwitz {
  background: linear-gradient(90deg, var(--g-brand-navy), #0b1220);
  box-shadow: var(--g-shadow-sm);
}

.navbar.navbar-gallwitz .navbar-brand {
  letter-spacing: .2px;
}

.navbar.navbar-gallwitz .nav-link {
  color: rgba(255, 255, 255, .86);
}

.navbar.navbar-gallwitz .nav-link:hover,
.navbar.navbar-gallwitz .nav-link:focus {
  color: #fff;
}

.navbar.navbar-gallwitz .dropdown-menu {
  border-radius: var(--g-radius-sm);
  box-shadow: var(--g-shadow-sm);
  border: 1px solid var(--g-border);
}

/* Cards */
.card {
  border-radius: var(--g-radius);
  border: 1px solid var(--g-border);
  box-shadow: var(--g-shadow-sm);
}

.card-header {
  border-top-left-radius: var(--g-radius);
  border-top-right-radius: var(--g-radius);
}

/* Buttons */
.btn {
  border-radius: 12px;
}

.btn-primary {
  box-shadow: 0 10px 18px rgba(37, 99, 235, 0.18);
}

/* Outline-secondary nur in der dunklen Navbar auf "weiß" stylen */
.navbar.navbar-gallwitz .btn-outline-secondary {
  border-color: rgba(255, 255, 255, .25);
  color: rgba(255, 255, 255, .92);
}

.navbar.navbar-gallwitz .btn-outline-secondary:hover,
.navbar.navbar-gallwitz .btn-outline-secondary:focus {
  border-color: rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

/* Optional: auf hellen Flächen wieder "brandig" */
.btn-outline-secondary {
  border-color: rgba(0, 25, 90, 0.25);
  color: var(--g-brand-navy);
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
  border-color: rgba(0, 25, 90, 0.35);
  background: rgba(0, 25, 90, 0.06);
  color: var(--g-brand-navy);
}

.btn-outline-danger {
  border-radius: 12px;
}

/* KPI Tiles – wenn ihr die bunten Cards nutzt */
.kpi-tile {
  border-radius: var(--g-radius);
  border: 0;
  box-shadow: var(--g-shadow);
}

/* Tables */
.table {
  border-color: var(--g-border);
}

.table thead th {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--g-muted);
  background: rgba(17, 24, 39, 0.02);
}

.table td,
.table th {
  vertical-align: middle;
}

/* Alerts */
.alert {
  border-radius: var(--g-radius);
  border: 1px solid var(--g-border);
}

/* Footer */
footer {
  background: transparent;
}

/* Small polish */
.badge {
  border-radius: 10px;
}

.dropdown-menu {
  border-radius: var(--g-radius-sm);
}

.form-control,
.form-select {
  border-radius: 12px;
}


/* ===== Page Header / Hero ===== */
.page-hero {
  border-radius: 18px;
  padding: 22px 22px;
  color: #fff;
  background: linear-gradient(90deg, var(--g-brand-navy), var(--g-brand-deep));
  box-shadow: var(--g-shadow);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.page-hero .subtitle {
  color: rgba(255, 255, 255, .80);
}

/* ===== KPI Tiles ===== */
.kpi {
  border: 0;
  border-radius: 16px;
  box-shadow: var(--g-shadow-sm);
  overflow: hidden;
}

.kpi .kpi-label {
  color: rgba(255, 255, 255, .80);
}

.kpi .kpi-value {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: .3px;
}

.kpi.kpi-primary {
  background: linear-gradient(135deg, #00195A, #1074C4);
  color: #fff;
}

.kpi.kpi-accent {
  background: linear-gradient(135deg, #003675, #1C98ED);
  color: #fff;
}

.kpi.kpi-warn {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #111827;
}

.kpi.kpi-danger {
  background: linear-gradient(135deg, #b91c1c, #ef4444);
  color: #fff;
}

/* ===== Subscription cards ===== */
.sub-card .card-header {
  background: rgba(0, 25, 90, 0.03);
}

.sub-meta {
  color: var(--g-muted);
}

.sub-total {
  font-weight: 800;
}

.table-modern thead th {
  background: rgba(0, 25, 90, 0.03);
}


/* ===== Top Status Announcements (Hetzner-like) ===== */
.top-status-fixed {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--top-status-top, 56px);
  /* wird per JS gesetzt (unter Navbar) */
  z-index: 1045;
}

.top-status-bar {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--g-border);
}

.top-status-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  background: transparent;
  border: 0;
  text-align: left;
}

.top-status-icon {
  font-size: 16px;
  opacity: .9;
}

.top-status-title {
  font-weight: 700;
  color: var(--g-brand-navy);
}

.top-status-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--g-brand-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 0 8px;
}

.top-status-spacer {
  flex: 1;
}

.top-status-chevron {
  color: rgba(0, 25, 90, 0.55);
  transition: transform .15s ease;
}

.top-status-chevron.is-open {
  transform: rotate(180deg);
}

.top-status-panel {
  display: none;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--g-border);
  box-shadow: var(--g-shadow);
  max-height: min(60vh, 520px);
  overflow: auto;
  padding: 12px 0 16px;
}

.top-status-panel.is-open {
  display: block;
}

.top-status-item {
  margin-bottom: 12px;
}

.top-status-item-inner {
  background: #fff;
  border: 1px solid var(--g-border);
  border-radius: 14px;
  box-shadow: var(--g-shadow-sm);
  padding: 14px 16px;
}

.top-status-item-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.top-status-dismiss {
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  color: rgba(0, 25, 90, 0.55);
}

.top-status-dismiss:hover {
  color: rgba(0, 25, 90, 0.85);
}

.top-status-item-body {
  margin-top: 10px;
  color: rgba(0, 25, 90, 0.92);
}

/* Backdrop */
.top-status-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1044;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}

.top-status-backdrop.is-active {
  opacity: 1;
  pointer-events: auto;
}


body.has-top-status main.container {
  padding-top: calc(var(--top-status-height, 0px) + 1rem);
}


.navbar.navbar-gallwitz {
  position: sticky;
  top: 0;
  z-index: 1060;
}

.navbar.navbar-gallwitz .dropdown-menu {
  z-index: 1065;
}

/* ===== Shop (Amazon-like, bootstrap-friendly) ===== */
.shop-card {
  border: 1px solid var(--g-border);
  transition: box-shadow .15s ease, transform .15s ease;
}

.shop-card:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.shop-card-img {
  height: 190px;
  object-fit: contain;
  background: #fff;
  padding: 12px;
}

.shop-title {
  font-size: 1.02rem;
  line-height: 1.3;
  font-weight: 600;
}

.shop-price {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: .2px;
}

.shop-price small {
  font-weight: 600;
  font-size: .85rem;
  color: var(--g-muted);
}

.shop-subtitle {
  color: var(--g-muted);
  font-size: .85rem;
}

.shop-badge {
  font-size: .72rem;
  border-radius: 999px;
  padding: 4px 8px;
  border: 1px solid rgba(0, 25, 90, 0.15);
  color: var(--g-brand-navy);
  background: rgba(0, 25, 90, 0.04);
}

.shop-badge-hot {
  background: #fef3c7;
  border-color: #f59e0b;
  color: #7a4b00;
}

.shop-breadcrumb {
  font-size: .85rem;
  color: var(--g-muted);
}

.shop-breadcrumb a {
  color: var(--g-brand-primary);
  text-decoration: none;
}

.shop-breadcrumb a:hover {
  text-decoration: underline;
}

.shop-actions .btn {
  border-radius: 999px;
}

.shop-filter-pill .btn {
  border-radius: 999px;
}

.btn.btn-amz,
a.btn.btn-amz,
button.btn.btn-amz {
  background-color: #f0c14b !important;
  background-image: linear-gradient(#f7dfa5, #f0c14b) !important;
  border: 1px solid #a88734 !important;
  color: #111 !important;
  display: inline-block;
  padding: .5rem .9rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-warning,
.btn.btn-warning,
a.btn.btn-warning,
button.btn.btn-warning {
  background-color: #f0c14b !important;
  background-image: linear-gradient(#f7dfa5, #f0c14b) !important;
  border: 1px solid #a88734 !important;
  color: #111 !important;
}

.btn.btn-amz:hover,
a.btn.btn-amz:hover,
button.btn.btn-amz:hover,
.btn.btn-warning:hover {
  background-color: #eeb933 !important;
  background-image: linear-gradient(#f5d78e, #eeb933) !important;
  color: #111 !important;
  border-color: #a88734 !important;
}

.btn.btn-amz:active,
.btn.btn-amz:focus,
a.btn.btn-amz:active,
a.btn.btn-amz:focus,
button.btn.btn-amz:active,
button.btn.btn-amz:focus,
.btn.btn-warning:active,
.btn.btn-warning:focus {
  background-color: #e6b422 !important;
  background-image: linear-gradient(#f1cf7a, #e6b422) !important;
  color: #111 !important;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.shop-sidebar {
  border: 1px solid var(--g-border);
  border-radius: 12px;
  padding: 12px;
  background: #fff;
}

.shop-sidebar h6 {
  font-weight: 700;
  font-size: .9rem;
}

.shop-search {
  border: 1px solid var(--g-border);
  border-radius: 12px;
  background: #fff;
  padding: 10px;
}

.shop-search .form-control {
  border-radius: 8px;
}

.shop-results-head {
  border-bottom: 1px solid var(--g-border);
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.shop-results-count {
  color: var(--g-muted);
  font-size: .9rem;
}

.shop-empty {
  border: 1px dashed var(--g-border);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  color: var(--g-muted);
}

.shop-loading-text {
  color: var(--g-muted);
  font-size: .85rem;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.shop-loading {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.shop-skeleton {
  background: linear-gradient(90deg, #f3f4f6 25%, #e9ecef 37%, #f3f4f6 63%);
  background-size: 400% 100%;
  animation: shop-shimmer 1.2s ease-in-out infinite;
  border-radius: 8px;
}

.shop-skel-card {
  border: 1px solid var(--g-border);
  border-radius: 12px;
  padding: 12px;
  background: #fff;
}

.shop-skel-img {
  height: 140px;
  margin-bottom: 10px;
}

.shop-skel-line {
  height: 12px;
  margin: 6px 0;
}

.shop-skel-line.sm {
  width: 60%;
}

.shop-skel-line.md {
  width: 80%;
}

.shop-skel-line.lg {
  width: 95%;
}

.shop-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.shop-trust .shop-pill {
  font-size: .72rem;
}

@keyframes shop-shimmer {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: -100% 0;
  }
}

.shop-card {
  border: 1px solid var(--g-border);
  transition: box-shadow .15s ease, transform .15s ease;
}

.shop-card:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.shop-card-img {
  height: 190px;
  object-fit: contain;
  background: #fff;
  padding: 12px;
}

.shop-pill {
  border-radius: 999px;
  padding: 4px 10px;
  font-size: .75rem;
  background: rgba(16, 116, 196, 0.08);
  border: 1px solid rgba(16, 116, 196, 0.18);
  color: #0b1220;
}

.shop-pill-muted {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
  color: rgba(0, 0, 0, 0.65);
}

.shop-detail-media {
  border: 1px solid var(--g-border);
  border-radius: 10px;
  padding: 16px;
  background: #fff;
}

.shop-detail-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.shop-buy-box {
  border: 1px solid var(--g-border);
  border-radius: 12px;
  padding: 16px;
  background: #fff;
  box-shadow: var(--g-shadow-sm);
}

.shop-buy-box .btn {
  width: 100%;
}

.shop-detail-list {
  border-top: 1px solid var(--g-border);
  margin-top: 12px;
  padding-top: 12px;
  font-size: .9rem;
}

.shop-detail-list .row {
  margin-bottom: 6px;
}

.shop-buy-box.is-sticky {
  position: sticky;
  top: 84px;
}

.shop-buy-box .btn {
  width: 100%;
}

.shop-price-strong {
  font-size: 1.6rem;
  font-weight: 800;
}

.shop-kv {
  font-size: .85rem;
  color: var(--g-muted);
}

.shop-table-summary {
  border: 1px solid var(--g-border);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
}

.shop-summary-total {
  font-size: 1.2rem;
  font-weight: 800;
}

.shop-active-note {
  border: 1px solid rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.12);
  color: #7a4b00;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: .8rem;
}

.shop-price-rail {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.shop-price-rail .price-currency {
  font-size: .9rem;
  color: var(--g-muted);
}

.shop-cart-summary {
  border: 1px solid var(--g-border);
  border-radius: 12px;
  padding: 14px;
  background: #fff;
  box-shadow: var(--g-shadow-sm);
}

.shop-cart-summary .btn {
  width: 100%;
}

/* ===== Hosting Dashboard ===== */
.hosting-dashboard {
  border: 1px solid var(--g-border);
}

.hosting-theme {
  background: linear-gradient(135deg, rgba(16, 116, 196, 0.08), rgba(16, 185, 129, 0.06));
  border-radius: var(--g-radius);
}

.hosting-theme .kpi-card {
  border: 1px solid rgba(16, 116, 196, 0.15);
  background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
}

.hosting-theme .card.h-100 {
  border: 1px solid rgba(0, 25, 90, 0.10);
}

.hosting-theme .badge {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.hosting-theme .form-range::-webkit-slider-thumb {
  background: #1C98ED;
}

.hosting-theme .form-range::-moz-range-thumb {
  background: #1C98ED;
  border: 0;
}

.hosting-theme .badge.bg-success {
  background: linear-gradient(135deg, #10b981, #14b8a6);
}

.hosting-theme .badge.bg-secondary {
  background: linear-gradient(135deg, #94a3b8, #64748b);
}

.kpi-card {
  background: linear-gradient(135deg, rgba(16, 116, 196, 0.10), rgba(16, 185, 129, 0.10));
  border: 1px solid rgba(16, 116, 196, 0.18);
}

.gauge {
  --gauge: 0%;
  width: 92px;
  height: 92px;
  position: relative;
  border-radius: 50%;
  background: #f1f3f7;
}

.gauge.gauge-lg {
  width: 128px;
  height: 128px;
}

.gauge-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gauge-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.1;
}

.gauge-value {
  font-weight: 700;
  font-size: 0.95rem;
}

.gauge.gauge-lg .gauge-value {
  font-size: 1.1rem;
}

.gauge-title {
  font-size: 0.7rem;
  color: #6c757d;
}

.kpi-lines {
  display: grid;
  gap: 2px;
}

.kpi-delta {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
}

.delta-up {
  color: #16a34a !important;
  font-weight: 700;
}

.delta-down {
  color: #dc2626 !important;
  font-weight: 700;
}

/* ===== Invoices Chart ===== */
.invoice-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 140px;
  padding: 8px 4px;
  background: rgba(16, 116, 196, 0.06);
  border-radius: 12px;
}

.invoice-bar {
  flex: 1;
  min-width: 10px;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.9), rgba(14, 116, 144, 0.9));
  border-radius: 8px 8px 4px 4px;
  opacity: 0.6;
  transition: opacity .15s ease, transform .15s ease;
}

.invoice-bar.active {
  opacity: 1;
  transform: translateY(-2px);
}

.mini-kpi {
  border: 1px solid var(--g-border);
  background: #fff;
}

.level-badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6366f1, #3b82f6);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
}

.xp-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.15);
  overflow: hidden;
}

.xp-fill {
  height: 100%;
  background: linear-gradient(90deg, #34d399, #3b82f6);
  transition: width .2s ease;
}

.medal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.medal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  color: #fff;
}

.badge.medal {
  border-radius: 999px;
  font-weight: 700;
  color: #fff;
}

.badge-uncommon {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.badge-rare {
  background: linear-gradient(135deg, #3b82f6, #0ea5e9);
}

.badge-epic {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

.badge-legendary {
  background: linear-gradient(135deg, #f59e0b, #fde047);
  color: #0f172a;
}

.badge-mythic {
  background: linear-gradient(135deg, #db2777, #8b5cf6);
}

.badge-apex {
  background: linear-gradient(135deg, #06b6d4, #22c55e);
}

.badge-infinite {
  background: linear-gradient(135deg, #111827, #3b82f6);
}

.badge-ascendant {
  background: linear-gradient(135deg, #0f172a, #64748b);
}

.badge-eternal {
  background: linear-gradient(135deg, #000000, #7c3aed);
}

.dashboard-hero {
  border-radius: 20px;
  padding: 26px 26px;
  color: #fff;
  background: linear-gradient(110deg, #0d6efd 0%, #4b22b3 55%, #6610f2 100%);
  box-shadow: 0 16px 30px rgba(13, 110, 253, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.dashboard-hero>.d-flex {
  position: relative;
  z-index: 2;
}

.dashboard-hero .eyebrow {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 4px;
}

.dashboard-meta {
  padding-left: 4px;
}

.dashboard-surface {
  border-radius: 16px;
  border: 1px solid var(--g-border);
  box-shadow: var(--g-shadow-sm);
}

.dashboard-kpi {
  position: relative;
  border: 1px solid var(--g-border);
  border-left: 5px solid var(--g-brand-primary);
  color: #0b1220;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  transition: transform .18s ease, box-shadow .18s ease;
  min-height: 140px;
  text-decoration: none;
}

.dashboard-kpi:hover {
  transform: translateY(-2px);
  box-shadow: var(--g-shadow);
}

.dashboard-kpi .kpi-value {
  font-size: 1.9rem;
  font-weight: 700;
}

.dashboard-kpi .kpi-label {
  color: var(--g-muted);
}

.dashboard-kpi.kpi-gradient-1 {
  border-left-color: #0d6efd;
}

.dashboard-kpi.kpi-gradient-2 {
  border-left-color: #6610f2;
}

.dashboard-kpi.kpi-gradient-3 {
  border-left-color: #6c757d;
}

.dashboard-kpi.kpi-gradient-4 {
  border-left-color: #dc3545;
}

.dashboard-kpi.kpi-gradient-5 {
  border-left-color: #0d6efd;
}

.section-label {
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--g-muted);
  margin-bottom: 6px;
}

.news-focus {
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.10);
  border: 1px solid rgba(13, 110, 253, 0.18);
  background: linear-gradient(180deg, #ffffff, #f5f7fb);
}

.proxlb-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.proxlb-tag-chip {
  border-radius: 999px;
}

.status-grid {
  display: grid;
  gap: 8px;
}

.status-card {
  padding: 8px 10px;
  border: 1px solid var(--g-border);
  border-radius: 10px;
  background: #fff;
}

.finance-grid {
  display: grid;
  gap: 8px;
}

.finance-row {
  padding: 8px 10px;
  border: 1px solid var(--g-border);
  border-radius: 10px;
  background: #fff;
}

.finance-row .label {
  font-weight: 600;
}

.finance-chart {
  display: grid;
  gap: 8px;
}

.finance-bar {
  display: grid;
  grid-template-columns: 70px 1fr 120px;
  gap: 10px;
  align-items: center;
}

.finance-bar .bar-label {
  font-size: .8rem;
  color: var(--g-muted);
}

.finance-bar .bar-track {
  height: 8px;
  background: #eef1f7;
  border-radius: 999px;
  overflow: hidden;
}

.finance-bar .bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #0d6efd, #6610f2);
}

.finance-bar .bar-value {
  text-align: right;
  font-weight: 600;
}

.changes-list {
  display: grid;
  gap: 8px;
}

.change-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--g-border);
  border-radius: 10px;
  background: #fff;
}

.change-type {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--g-muted);
}

.news-focus .card-title {
  font-weight: 700;
}

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

.news-row {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  gap: 12px;
  align-items: center;
  text-align: left;
  background: #fff;
  border: 1px solid var(--g-border);
  border-radius: 12px;
  padding: 10px 12px;
}

.news-row:hover {
  border-color: rgba(13, 110, 253, 0.35);
  box-shadow: 0 10px 18px rgba(13, 110, 253, 0.12);
}

.news-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  margin-top: 2px;
  background: linear-gradient(180deg, #0d6efd, #6610f2);
  box-shadow: 0 0 0 3px rgba(102, 16, 242, 0.1);
}

.news-dot.news-danger {
  background: linear-gradient(180deg, #ef4444, #f43f5e);
}

.news-dot.news-warning {
  background: linear-gradient(180deg, #f59e0b, #f97316);
}

.news-dot.news-success {
  background: linear-gradient(180deg, #10b981, #22c55e);
}

.news-dot.news-secondary {
  background: linear-gradient(180deg, #0d6efd, #6610f2);
}

.news-summary {
  min-width: 0;
}

.news-summary .text-truncate {
  max-width: 100%;
}

.news-cta .btn {
  white-space: nowrap;
}

/* Modal slightly lower to feel centered */
.modal-dialog {
  margin-top: 6vh;
}

.orders-compact {
  display: grid;
  gap: 10px;
}

.order-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--g-border);
}

.order-row.order-failed {
  border-color: rgba(239, 68, 68, 0.35);
  box-shadow: 0 10px 18px rgba(239, 68, 68, 0.12);
}

.order-row.order-submitted {
  border-color: rgba(13, 110, 253, 0.35);
  box-shadow: 0 10px 18px rgba(13, 110, 253, 0.12);
}

.order-title {
  display: flex;
  gap: 8px;
  align-items: center;
}

.order-qty .qty {
  font-weight: 700;
  font-size: 1.1rem;
}

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

.insight {
  padding: 8px 10px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.08), rgba(99, 102, 241, 0.1));
  border: 1px solid rgba(99, 102, 241, 0.18);
}

.insight .label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--g-muted);
}

.insight .value {
  font-weight: 700;
}

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

.finance-card {
  padding: 10px 12px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(13, 110, 253, 0.05), rgba(102, 16, 242, 0.08));
  border: 1px solid rgba(102, 16, 242, 0.14);
}

.finance-card .label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--g-muted);
}

.finance-card .value {
  font-weight: 700;
}

@media (max-width: 992px) {
  .finance {
    grid-template-columns: 1fr;
  }
}

.news-card {
  border: 1px solid var(--g-border);
  box-shadow: var(--g-shadow-sm);
}

.news-card .badge {
  border-radius: 999px;
}