/* Warmate dark theme overrides for Bootstrap 5.3 */
:root,
[data-bs-theme="dark"] {
  --bs-body-bg: #07111d;
  --bs-body-bg-rgb: 7, 17, 29;
  --bs-body-color: #f5f9ff;
  --bs-body-color-rgb: 245, 249, 255;
  --bs-emphasis-color: #ffffff;
  --bs-secondary-color: rgba(245, 249, 255, 0.72);
  --bs-secondary-color-rgb: 245, 249, 255;
  --bs-tertiary-color: rgba(245, 249, 255, 0.6);
  --bs-border-color: rgba(255, 255, 255, 0.14);
  --bs-border-color-translucent: rgba(255, 255, 255, 0.14);
  --bs-primary: #59e8ff;
  --bs-primary-rgb: 89, 232, 255;
  --bs-link-color: #59e8ff;
  --bs-link-hover-color: #8df1ff;
  --bs-success: #77ffb2;
  --bs-danger: #ff7b95;
  --bs-warning: #ffd37b;
  --bs-info: #7ad1ff;
}

html, body {
  height: 100%;
}

body {
  background: radial-gradient(circle at top, #12253d, var(--bs-body-bg));
}

.navbar.wm-nav {
  background: rgba(4, 12, 22, 0.82) !important;
  border-bottom: 1px solid var(--bs-border-color) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.wm-brand-dot {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--bs-primary), #ff6ed8);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.wm-brand-dot img {
  width: 18px;
  height: 18px;
  display: block;
  filter: invert(1);
  opacity: 0.95;
}

.wm-hero {
  background: linear-gradient(135deg, rgba(89, 232, 255, 0.16), rgba(255, 110, 216, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
}

.card.wm-card,
.wm-card {
  background: rgba(11, 26, 44, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.wm-muted {
  color: var(--bs-secondary-color) !important;
}

.btn-primary {
  --bs-btn-color: #07111d;
  --bs-btn-bg: var(--bs-primary);
  --bs-btn-border-color: rgba(89, 232, 255, 0.65);
  --bs-btn-hover-bg: #8df1ff;
  --bs-btn-hover-border-color: #8df1ff;
}

.btn-outline-primary {
  --bs-btn-color: var(--bs-primary);
  --bs-btn-border-color: rgba(89, 232, 255, 0.55);
  --bs-btn-hover-bg: rgba(89, 232, 255, 0.16);
  --bs-btn-hover-border-color: rgba(89, 232, 255, 0.7);
}

.table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--bs-body-color);
  --bs-table-striped-bg: rgba(255, 255, 255, 0.03);
  --bs-table-hover-bg: rgba(89, 232, 255, 0.06);
  --bs-table-border-color: rgba(255, 255, 255, 0.08);
}

.form-control,
.form-select {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--bs-body-color);
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(89, 232, 255, 0.55);
  box-shadow: 0 0 0 0.2rem rgba(89, 232, 255, 0.18);
}

.alert {
  border-color: rgba(255, 255, 255, 0.16);
}

.wm-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: -0.2em;
  opacity: 0.9;
  filter: invert(1);
}

@media (max-width: 900px) {
  .wm-hero {
    border-radius: 1rem !important;
  }
}

