:root {
  --color-primary: #086ad8;
  --color-primary-dark: #0654ad;
  --header-bg: #0c1222;
  --header-link: #34d399;
  --footer-bg: #0c1222;
  --footer-link: #60a5fa;
}

.rainy-topbar {
  background: linear-gradient(90deg, #0c1222 0%, #1e293b 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font-size: 0.72rem;
  padding: 0.35rem 0;
}

.rainy-topbar__inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
}

.rainy-topbar__note {
  opacity: 0.9;
}

.rainy-topbar__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.rainy-topbar__actions a {
  align-items: center;
  color: #e2e8f0;
  display: inline-flex;
  font-weight: 600;
  gap: 0.35rem;
  text-decoration: none;
}

.rainy-topbar__actions a:hover {
  color: #34d399;
}

.rainy-topbar__btn {
  background: linear-gradient(135deg, #059669, #047857);
  border-radius: 6px;
  color: #fff !important;
  padding: 0.25rem 0.65rem;
}

.rainy-topbar__btn:hover {
  filter: brightness(1.08);
  color: #fff !important;
}

.header img.rainy-logo {
  height: 40px;
  max-height: 40px;
  width: auto;
}

.site-header {
  background: linear-gradient(135deg, rgba(12, 18, 34, 0.95), rgba(8, 106, 216, 0.85)) !important;
}

.network-test-title {
  background: linear-gradient(45deg, #086ad8, #0654ad) !important;
}

html[data-theme="dark"] .network-test-title {
  background: linear-gradient(45deg, #086ad8, #047857) !important;
}

.action-btn-primary {
  background: linear-gradient(45deg, #086ad8, #0654ad) !important;
}

.test-tabs .nav-tabs .nav-link.active {
  background: #086ad8 !important;
  border-color: #0654ad !important;
}
