@charset "UTF-8";
@import "../../assets/bootstrap/bootstrap-icons/font/bootstrap-icons.css";
:root {
  --bs-app-header-base-box-shadow: 0px 10px 30px 0px rgba(82, 63, 105, 0.05);
  --gr-primary-color: #0fcd9d;
  --bs-primary-rgb: 15, 205, 157;
  --primary: #0fcd9d;
  --border: rgba(0, 0, 0, 0.0705882353);
  --bs-primary: #0fcd9d;
}

:root {
  --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans";
  --brand:#0fcd9d;
  --fg:#0f172a;
  --fg-on:#ffffff;
  --space-x:1.25rem;
  --section-gap:1rem;
}

.navbar {
  box-shadow: var(--bs-app-header-base-box-shadow, 0 2px 12px rgba(15, 23, 42, 0.06));
  z-index: 99999;
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.dropdown-mega .dropdown-menu {
  --bs-dropdown-min-width: auto;
  width: auto;
  max-width: calc(100vw - 2rem);
  border: 0;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 1rem;
}

.navbar .navbar-nav .dropdown-item:active, .navbar .navbar-nav .dropdown-item:focus {
  --bs-dropdown-link-active-bg: #0FCD9D;
  border-radius: 6px;
}

@media (min-width: 992px) {
  .dropdown-hover:hover > .dropdown-menu,
  .dropdown-hover:focus-within > .dropdown-menu {
    display: block;
  }
  .dropdown-hover > .dropdown-toggle:active {
    pointer-events: none;
  }
}
.dropdown-mega .mega-grid {
  display: grid;
  grid-template-columns: repeat(2, 320px);
  gap: 0.5rem 1rem;
  align-items: start;
  justify-content: flex-start;
}

.badge-soft {
  background: rgba(13, 253, 155, 0.05);
  color: #0fcd9d;
}

.navbar .nav-link {
  font-weight: 500;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.navbar-nav .nav-item {
  font-size: 14px;
  margin: 0 0.35rem;
}

.navbar .dropdown-menu .dropdown-item {
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  border-radius: 6px;
}

.navbar .dropdown-menu ul {
  margin-bottom: 0;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.avatar-initials {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  line-height: 1;
  text-transform: uppercase;
  background: #e5e7eb;
  color: #334155;
}

.navbar .nav-link.active, .nav-link.show {
  background: linear-gradient(180deg, rgba(13, 253, 111, 0.08), rgba(13, 253, 178, 0.05));
  color: #0fcd9d !important;
  border-radius: 8px;
}

.navbar .dropdown-menu .dropdown-item.active {
  background-color: #0fcd9d;
  color: #ffffff;
  border-radius: 0.5rem;
}

.streak-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 14px;
  padding: 0.25rem 0.6rem;
  border-radius: 8px;
  border: 1px solid rgba(249, 115, 22, 0.05);
  background: linear-gradient(180deg, rgba(249, 115, 22, 0.12), rgba(249, 115, 22, 0.08));
  box-shadow: 0 2px 10px rgba(249, 115, 22, 0.12);
  color: #9a3412;
  font-weight: 600;
  line-height: 1;
}

.streak-pill .bi-fire {
  color: #f97316;
}

.streak-pill .count {
  font-variant-numeric: tabular-nums;
}

.btn-light {
  --bs-btn-bg:#fff;
  --bs-btn-border-color:#e5e7eb;
  --bs-btn-color:#111827;
  --bs-btn-hover-bg:#f8fafc;
  --bs-btn-hover-border-color:#e5e7eb;
}

.btn-outline-primary {
  --bs-btn-color:#2b7cff;
  --bs-btn-border-color:#cfe0ff;
  --bs-btn-hover-color:#fff;
  --bs-btn-hover-bg:#2b7cff;
  --bs-btn-hover-border-color:#2b7cff;
  background: rgba(43, 124, 255, 0.08);
}

.btn-sm {
  padding: 0.4rem 0.75rem;
  border-radius: 10px;
}

.dropdown-mega .dropdown-header {
  padding: 0 var(--bs-dropdown-item-padding-x, 1rem);
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

.layouts-menu .dropdown-menu {
  width: auto;
  max-width: calc(100vw - 2rem);
  padding: 0.75rem;
}

.layouts-menu .mega-grid {
  grid-template-columns: repeat(2, 300px);
  gap: 0.5rem 0.75rem;
}

.layouts-menu .card .card-body {
  padding-left: var(--bs-dropdown-item-padding-x, 1rem);
}

.profile-menu .dropdown-menu {
  border: 0;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  padding: 0.5rem;
  min-width: 280px;
  font-size: 14px;
}

.profile-menu .menu-head {
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border-radius: 10px;
  margin: 0.25rem 0.5rem 0.5rem;
}

.profile-menu .menu-head .small {
  color: #64748b;
}

.profile-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  padding: 0.55rem 0.9rem;
}

.profile-menu .dropdown-item:hover {
  background: rgba(13, 253, 155, 0.05);
  color: #0fcd9d;
}

.profile-menu .dropdown-divider {
  margin: 0.5rem 0;
}

.profile-menu .dropdown-item.danger {
  color: #dc3545;
}

.profile-menu .dropdown-item.danger:hover {
  background: rgba(220, 53, 69, 0.08);
  color: #b02a37;
}

.profile-menu.dropstart .dropdown-menu {
  margin-right: 0.5rem;
}

.dropdown-menu.dropdown-menu-animate {
  display: block !important;
  opacity: 0;
  transform: translateY(10px);
  transition: transform 0.18s ease-out, opacity 0.18s ease-out;
  will-change: transform, opacity;
  pointer-events: none;
  z-index: 1055;
}

.dropdown-menu.dropdown-menu-animate.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (min-width: 992px) {
  .dropdown-hover:hover > .dropdown-menu.dropdown-menu-animate,
  .dropdown-hover:focus-within > .dropdown-menu.dropdown-menu-animate {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .dropdown-hover > .dropdown-toggle:active {
    pointer-events: none;
  }
}
.profile-menu.dropstart .dropdown-menu-animate {
  transform: translateY(10px);
}

.profile-menu.dropstart .dropdown-menu-animate.show {
  transform: translateY(0);
}

.profile-menu .dropdown-menu {
  left: auto;
  right: 0;
  transform-origin: top right;
}

@media (min-width: 992px) {
  .profile-menu.dropstart.dropdown-hover:hover > .dropdown-menu-animate,
  .profile-menu.dropstart.dropdown-hover:focus-within > .dropdown-menu-animate {
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .dropdown-menu.dropdown-menu-animate {
    transition: none !important;
  }
}
.navbar .profile-menu .dropdown-toggle::after,
.navbar .profile-menu.dropstart .dropdown-toggle::before {
  display: none !important;
  margin: 0 !important;
}

.navbar .profile-menu .dropdown-toggle::after,
.navbar .profile-menu.dropstart .dropdown-toggle::before {
  display: none !important;
  margin: 0 !important;
}

.navbar-toggler-custom {
  border: 0;
  border-radius: 10px;
  padding: 0.35rem 0.5rem;
  background: transparent;
}

/* Offcanvas base (Untitled-UI style) */
.offcanvas-nav {
  width: min(92vw, 420px);
  max-width: 92vw;
  background: #ffffff;
  color: var(--fg);
  height: 100dvh;
  border-radius: 0 16px 16px 0;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
}

.offcanvas-nav .offcanvas-header {
  border: 0;
  padding: 1rem var(--space-x);
  height: 64px;
}

.offcanvas-nav .offcanvas-title {
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--fg);
}

.offcanvas-nav .btn-close {
  opacity: 0.8;
}

.offcanvas-backdrop.show {
  backdrop-filter: blur(4px);
  background-color: rgba(2, 6, 23, 0.35);
}

.mobile-menu-panel {
  height: calc(100dvh - 64px);
  display: flex;
  flex-direction: column;
  padding: 0 var(--space-x) max(1rem, env(safe-area-inset-bottom));
  overflow: hidden;
}

.mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0 0.75rem;
}

.mobile-menu-item {
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  min-height: 48px;
}

.mobile-menu-item:last-child {
  border-bottom: 0;
}

.menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  font-weight: 600;
  color: var(--fg);
  text-decoration: none;
  border-radius: 8px;
}

.menu-link:hover {
  color: var(--fg);
}

.chev {
  transition: transform 0.2s ease, color 0.2s ease;
  color: #94a3b8;
  font-size: 1rem;
}

.chev.rotate {
  transform: rotate(180deg);
  color: #0fcd9d;
}

.submenu {
  padding: 0.25rem 0 0.75rem;
}

.submenu .dropdown-item {
  color: var(--fg);
  opacity: 0.9;
  padding: 0.55rem 0;
}

.submenu .dropdown-item:hover {
  opacity: 1;
}

.mobile-menu-footer {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding-bottom: 20px;
}

/* footer-grid removed */
/* footer-grid removed */
/* footer-grid removed */
.btn-cta {
  width: 100%;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.btn-cta:hover {
  background: rgba(0, 0, 0, 0.16);
}

/* User card at bottom */
.user-card {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 0.9rem;
  color: var(--fg);
}

.user-card .avatar-initials {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  background: #e5e7eb;
  color: #334155;
}

.user-card .small {
  letter-spacing: 0.02em;
}

.user-actions {
  margin: 0;
  padding: 0;
}

.user-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0;
  color: var(--fg);
  text-decoration: none;
}

.user-link:hover {
  color: #0fcd9d;
}

.user-link i {
  font-size: 1rem;
  opacity: 0.9;
}

.user-link.danger {
  color: #dc3545;
}

.user-link.danger:hover {
  color: #b02a37;
}

.hr-light {
  border-color: rgba(15, 23, 42, 0.08);
  opacity: 1;
}

/* Desktop bits just for demo */
.streak-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 14px;
  padding: 0.25rem 0.6rem;
  border-radius: 8px;
  border: 1px solid rgba(249, 115, 22, 0.05);
  background: linear-gradient(180deg, rgba(249, 115, 22, 0.12), rgba(249, 115, 22, 0.08));
  box-shadow: 0 2px 10px rgba(249, 115, 22, 0.12);
  color: #9a3412;
  font-weight: 600;
}

/* lock panel: no internal scrollbars */
.offcanvas-nav .offcanvas-body {
  height: calc(100dvh - 64px);
  overflow: hidden;
}

.offcanvas-nav ::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.offcanvas-nav {
  scrollbar-width: none;
}

/* viewport height fallback for iOS/Android */
@supports (height: 100svh) {
  .offcanvas-nav {
    height: 100svh;
  }
  .offcanvas-nav .offcanvas-body {
    height: calc(100svh - 64px);
  }
  .mobile-menu-panel {
    height: calc(100svh - 64px);
  }
}
/* === Icon Button (Bootstrap Icons) === */
.icon-btn {
  --ring: rgba(15,205,157,.35);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: none;
  transition: box-shadow 0.15s ease, background 0.15s ease;
  background-color: #f9f9f9;
}

.icon-btn:hover {
  box-shadow: none;
}

.icon-btn:focus-visible {
  outline: none;
  outline-offset: 0;
}

.icon-btn:focus:not(:focus-visible) {
  outline: 0;
  box-shadow: none;
}

.icon-btn .bi {
  font-size: 20px;
  line-height: 1;
  position: absolute;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.icon-btn .icon-open {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  color: #0f172a;
}

.icon-btn .icon-close {
  opacity: 0;
  transform: scale(0.8) rotate(-90deg);
  color: #0fcd9d;
}

.icon-btn.is-active .icon-open {
  opacity: 0;
  transform: scale(0.8) rotate(90deg);
}

.icon-btn.is-active .icon-close {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.offcanvas-header button:focus:not(:focus-visible) {
  outline: 0;
  box-shadow: none;
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #0fcd9d;
  --bs-btn-border-color: #0fcd9d;
  --bs-btn-hover-bg: #11bf93;
  --bs-btn-hover-border-color: #11bf93;
  --bs-btn-active-bg: #0fa982;
  --bs-btn-active-border-color: #0fa982;
  --bs-btn-disabled-bg: #9effdc;
  --bs-btn-disabled-border-color: #9effdc;
}

.btn-light {
  --bs-btn-bg:#fff;
  --bs-btn-border-color:#e5e7eb;
  --bs-btn-color:#111827;
  --bs-btn-hover-bg:#f8fafc;
  --bs-btn-hover-border-color:#e5e7eb;
}

.btn-outline-primary {
  --bs-btn-color:#2b7cff;
  --bs-btn-border-color:#cfe0ff;
  --bs-btn-hover-color:#fff;
  --bs-btn-hover-bg:#2b7cff;
  --bs-btn-hover-border-color:#2b7cff;
  background: rgba(43, 124, 255, 0.08);
}

.btn-sm {
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
}

.btn-link:hover {
  --bs-btn-hover-color: #0fcd9d;
}

.btn-link {
  --bs-btn-color: #0fcd9d;
}

a, a:hover {
  --bs-link-color-rgb: 15, 205, 157;
}

.form-label {
  font-weight: 400;
  font-size: 14px;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.form-control, .form-select {
  border: 1px solid rgba(0, 0, 0, 0.0705882353);
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.form-control:hover, .form-select:hover {
  border-color: #d3dae3;
}

.form-control:focus, .form-select:focus {
  border-color: #bef8ea;
  outline: 0;
  box-shadow: none !important;
  background: #fff;
}

.form-control::placeholder {
  color: #94a3b8;
}

.form-check-input {
  border-color: rgba(0, 0, 0, 0.0705882353);
  box-shadow: none;
}

.form-check-input:focus {
  box-shadow: none;
  border-color: #cfe0ff;
}

.form-check-input:checked {
  background-color: #0fcd9d;
  border-color: #0fcd9d;
}

.invalid-feedback, .valid-feedback {
  font-size: 0.85rem;
}

.was-validated .form-control:invalid, .form-control.is-invalid,
.was-validated .form-select:invalid, .form-select.is-invalid {
  border-color: #ef4444;
  box-shadow: none;
}

.was-validated .form-control:valid, .form-control.is-valid {
  border-color: #22c55e;
  box-shadow: none;
}

.input-group > .form-control, .input-group > .form-select {
  border-radius: 10px;
}

.form-check-label {
  font-size: 14px;
}

.kpi-value {
  font-size: clamp(1.45rem, 1.5vw, 2.25rem);
  font-weight: 800;
}

.kpi-sub {
  color: #64748b;
  font-size: 14px;
}

.table-compact td, .table-compact th {
  padding: 0.5rem 0.75rem;
}

.card-title-main {
  font-weight: 600;
  font-size: 1rem;
  color: #0f172a;
  letter-spacing: 0.2px;
}

.card-subtitle-main {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 0.75rem;
}

.card-title-main + .card-subtitle-main {
  margin-top: 0.15rem;
}

.card-title-sm {
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #64748b;
  margin-bottom: 0.5rem;
}

.tool-tile {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  color: #0f172a;
  box-shadow: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.tool-tile:hover {
  background: #f9fafb;
  border-color: #dfe5ec;
  box-shadow: none;
  transform: none;
}

.tool-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.ti-blue {
  background: rgba(13, 110, 253, 0.12);
  color: #0d6efd;
}

.ti-green {
  background: rgba(13, 253, 155, 0.05);
  color: #0FCD9D;
}

.ti-amber {
  background: rgba(245, 158, 11, 0.15);
  color: #d97706;
}

.ti-violet {
  background: rgba(139, 92, 246, 0.15);
  color: #7c3aed;
}

.ti-cyan {
  background: rgba(6, 182, 212, 0.15);
  color: #0891b2;
}

.ti-pink {
  background: rgba(236, 72, 153, 0.15);
  color: #db2777;
}

.ti-slate {
  background: rgba(51, 65, 85, 0.12);
  color: #334155;
}

.card {
  --bs-card-spacer-y: 1.2rem;
  --bs-card-spacer-x: 1.4rem;
  border: 0;
  box-shadow: 0 6px 10px rgba(15, 23, 42, 0.02);
  border-radius: 12px;
}

.card-header:first-child {
  border-radius: 12px 12px 0 0;
  background: #fff;
  border-bottom: 0;
  padding: var(--bs-card-spacer-y) var(--bs-card-spacer-x);
}

.card-body .prize-card:last-child {
  margin-bottom: 0.75rem;
}

.leader-rank {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  font-weight: 700;
  color: #334155;
}

.prize-card {
  border: 1px solid rgba(0, 0, 0, 0.0705882353);
  border-radius: 12px;
  background: #fff;
}

.card-body .prize-card:last-child {
  margin-bottom: 0.75rem;
}

.prize-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
}

.bg-gradient-blue {
  background: linear-gradient(180deg, #60a5fa, #3b82f6);
}

.bg-gradient-green {
  background: linear-gradient(180deg, #34d399, #22c55e);
}

.bg-gradient-violet {
  background: linear-gradient(180deg, #a78bfa, #8b5cf6);
}

.bg-violet {
  background: #8b5cf6;
}

.my-stats .stat-chip {
  border: 1px solid rgba(0, 0, 0, 0.0705882353);
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  background: #fff;
  min-width: 110px;
}

.my-stats .stat-chip .label {
  font-size: 0.75rem;
  color: #64748b;
}

.my-stats .stat-chip .value {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.leader-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  background: #e5e7eb;
  color: #334155;
  font-size: 0.8rem;
}

.leader-rank {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  font-weight: 700;
  color: #334155;
}

.prize-card {
  border: 1px solid rgba(0, 0, 0, 0.0705882353);
  border-radius: 12px;
  background: #fff;
}

.prize-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
}

.bg-gradient-blue {
  background: linear-gradient(180deg, #60a5fa, #3b82f6);
}

.bg-gradient-green {
  background: linear-gradient(180deg, #34d399, #22c55e);
}

.bg-gradient-violet {
  background: linear-gradient(180deg, #a78bfa, #8b5cf6);
}

.bg-violet {
  background: #8b5cf6;
}

.reach-card .ic-badge {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #e7f7ee;
  color: #15803d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 10px;
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
}

.contact-btn:hover {
  background: #f8fafc;
  border-color: #dbe4f0;
}

.ds-card {
  background: #f8fffb;
  border: 1px solid #dff5e8;
  border-radius: 12px;
}

.ds-card .dot-ok {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #16a34a;
  display: inline-block;
}

.table-clean {
  --tbl-divider:#eef2f6;
  border-collapse: separate;
  border-spacing: 0;
}

.table-clean thead th {
  font-size: 0.85rem;
  color: #475569;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--tbl-divider);
  background: transparent;
  padding: 0.65rem 0.75rem;
}

.table-clean tbody td {
  padding: 0.9rem 0.75rem;
  border-top: 1px solid var(--tbl-divider);
}

.table-clean tbody tr:hover td {
  background: rgba(15, 23, 42, 0.02);
}

.table-clean .name {
  font-weight: 600;
  color: #0f172a;
}

.table-clean .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.table-clean .currency {
  white-space: nowrap;
}

.table-clean .badge {
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
}

.table {
  --bs-table-border-color: #dee2e61c;
}

.table-info, .table-info:hover {
  --bs-table-bg: #cefff2;
  background: #0fcd9d;
  border-color: rgba(15, 205, 157, 0.5607843137);
}

.tabs-card .nav-tabs {
  border: 0;
  gap: 0.35rem;
}

.tabs-card .nav-tabs .nav-link {
  border: 1px solid rgba(0, 0, 0, 0.0705882353);
  border-radius: 10px;
  color: #0f172a;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
}

.tabs-card .nav-tabs .nav-link .bi {
  margin-right: 0.4rem;
}

.tabs-card .nav-tabs .nav-link.active {
  background: #f8fcf9;
  color: #0fcd9d;
  border-color: rgba(66, 215, 115, 0.2705882353);
}

.tabs-card .tab-pane {
  padding-top: 1rem;
}

.tabs-card .list-mini .item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.tabs-card .list-mini .item i {
  margin-top: 0.15rem;
}

.alert {
  border-radius: 12px;
  padding: 0.9rem 1rem;
  border: 1px solid transparent;
  box-shadow: none;
}

.alert .bi {
  font-size: 1.25rem;
  line-height: 1;
}

.alert-success {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.25);
  color: #065f46;
}

.alert-success .bi {
  color: #22c55e;
}

.alert-warning {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.26);
  color: #854d0e;
}

.alert-warning .bi {
  color: #f59e0b;
}

.alert-danger {
  background: rgba(239, 68, 68, 0.09);
  border-color: rgba(239, 68, 68, 0.28);
  color: #7f1d1d;
}

.alert-danger .bi {
  color: #ef4444;
}

.alert-info {
  --bs-alert-bg: #e4f2ff;
  --bs-alert-border-color: #9ebdf9;
}

.card-progress {
  height: 6px;
  background: #eef2f6;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}

.card-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #8effe3, #0fcd9d);
}

.progress {
  height: 6px;
  background: #eef2f6;
  border-radius: 12px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(270deg, #8effe3, #0fcd9d);
}

.switch-tabs {
  display: flex;
  gap: 0.5rem;
}

.switch-tabs .nav-link {
  border: 1px solid var(--border);
  background: #fff;
  color: #0f172a;
  border-radius: 999px;
  font-weight: 400;
  padding: 0.32rem 0.7rem;
  line-height: 1.1;
}

.switch-tabs .nav-link:hover {
  background: rgba(15, 205, 157, 0.0784313725);
  border-color: rgba(59, 175, 113, 0.17);
  color: #0f172a;
}

.switch-tabs .nav-link.active {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
}

.switch-tabs .nav-link:focus-visible {
  outline: 2px solid rgba(13, 110, 253, 0.35);
  outline-offset: 2px;
}

.nav {
  --bs-nav-link-hover-color: #0fcd9d;
  --bs-nav-link-color: #0fcd9d;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: var(--bs-nav-pills-link-active-color);
  --bs-nav-pills-link-active-bg: #0fcd9d;
}

.settings-nav .nav-link {
  border: 1px solid transparent;
  border-radius: 10px;
  color: #0f172a;
  font-weight: 600;
  text-align: left;
  justify-content: flex-start;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.settings-nav .nav-link:hover {
  background: #f8fafc;
  border-color: #eef2f7;
}

.settings-nav .nav-link.active {
  background: #e8fff5;
  border-color: #bff3d6;
  color: #065f46;
}

.full-login {
  min-height: 100vh;
}

.split-row {
  min-height: 100vh;
}

.panel-left {
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  padding: clamp(28px, 6vw, 96px) clamp(24px, 4vw, 56px) clamp(24px, 3vw, 40px);
}

.panel-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 4vw, 56px);
  color: #fff;
  background: radial-gradient(1200px 600px at -20% -20%, rgba(34, 197, 94, 0.25), transparent), radial-gradient(800px 600px at 120% 120%, rgba(16, 185, 129, 0.22), transparent), linear-gradient(160deg, #059669 0%, #10b981 55%, #22c55e 100%);
}

.brand-mini {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.2px;
  margin-bottom: 1.25rem;
  color: #0f172a;
}

.brand-mini .logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.form-box {
  width: 100%;
  max-width: 400px;
  margin: 24px auto 0 auto;
}

.auth-meta {
  color: #64748b;
}

.hero-stack {
  width: min(520px, 90%);
}

.hero-card {
  border-radius: 14px;
  background: #ffffff;
  color: #0f172a;
  padding: 1rem;
  box-shadow: 0 20px 50px rgba(2, 6, 23, 0.18);
  border: 0;
}

.hero-card + .hero-card {
  margin-top: 1rem;
}

.hero-chart {
  height: 120px;
  background: linear-gradient(180deg, #eafff4, #ffffff);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.hero-chart::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.9));
}

@media (max-width: 991.98px) {
  .panel-left {
    padding: 32px 20px;
  }
}
@media (min-width: 992px) {
  .form-box {
    margin: auto auto;
  }
}
.mock-window {
  padding: 0;
  overflow: hidden;
}

.mock-window .titlebar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: linear-gradient(180deg, #f8fafc, #eef2f6);
  border-bottom: 1px solid #e5e7eb;
}

.titlebar .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e2e8f0;
}

.titlebar .dot.red {
  background: #ff5f56;
}

.titlebar .dot.yellow {
  background: #ffbd2e;
}

.titlebar .dot.green {
  background: #27c93f;
}

.titlebar .title {
  font-weight: 600;
  color: #0f172a;
  margin-left: 0.25rem;
}

.mock-body {
  padding: 0.9rem;
  background: #fff;
}

.mock-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.mock-kpi {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 0.5rem 0.6rem;
  background: #fff;
}

.mock-kpi small {
  color: #64748b;
}

.mock-chart-row {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 0.75rem;
  align-items: stretch;
}

.mock-area {
  position: relative;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  height: 160px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.12), rgba(16, 185, 129, 0.04)), repeating-linear-gradient(0deg, #f1f5f9, #f1f5f9 1px, transparent 1px, transparent 24px);
}

.mock-area::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.28) 0, rgba(16, 185, 129, 0.28) 2px, transparent 2px, transparent 34px);
  opacity: 0.08;
}

.mock-area::after {
  content: "";
  position: absolute;
  inset: 12% 8% 14% 6%;
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.35), rgba(16, 185, 129, 0.05));
  clip-path: polygon(0% 70%, 12% 60%, 22% 65%, 34% 48%, 46% 58%, 60% 35%, 72% 42%, 84% 30%, 100% 36%, 100% 100%, 0% 100%);
  border-radius: 8px;
}

.mock-donut {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
}

.mock-donut::before {
  content: "";
  display: block;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(#10b981 0 230deg, #e5e7eb 230deg);
}

.mock-donut::after {
  content: "";
  position: absolute;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #fff;
}

.mock-donut .val {
  position: absolute;
  font-weight: 800;
}

.dropdown-menu .dropdown-item.active {
  background-color: #0fcd9d;
  color: #ffffff;
  border-radius: 0;
}

.dropdown-menu .dropdown-item:focus {
  background-color: #0fcd9d;
  color: #ffffff;
  border-radius: 0;
}

.jobs-wrap {
  max-width: 1200px;
  margin: 0 auto;
}

.jobs-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.25rem 0 1rem;
}

.jobs-header .title {
  font-weight: 900;
  letter-spacing: 0.2px;
}

.jobs-header .sub {
  color: var(--muted);
}

.jobs-live {
  border: 1px solid rgba(15, 205, 157, 0.64);
  background: linear-gradient(180deg, rgba(15, 205, 157, 0.12), rgba(15, 205, 157, 0.06));
  border-radius: 12px;
  padding: 0.5rem 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #0fcd9d;
  box-shadow: 0 0 0 0 rgb(15, 205, 157);
  animation: live 1.6s infinite;
}

@keyframes live {
  0% {
    box-shadow: 0 0 0 0 rgba(15, 205, 157, 0.63);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(14, 165, 233, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(14, 165, 233, 0);
  }
}
.filters-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(2, 6, 23, 0.04);
  background: var(--card);
}

.filters-card .form-control, .filters-card .form-select {
  border-radius: 10px;
}

.sticky-lg-top {
  top: 88px;
} /* below navbar */
.filters-head {
  font-weight: 800;
}

.job-card {
  border: 0;
  border-radius: 16px;
  transition: all 0.18s ease;
}

.job-card:hover {
  transform: translateY(-2px);
  border: 0;
  box-shadow: 0 16px 38px rgba(2, 6, 23, 0.08);
}

.job-logo {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #eef2f6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #334155;
}

.job-title {
  font-weight: 800;
  margin: 0;
}

.job-company {
  color: #475569;
  font-weight: 600;
}

.job-meta {
  color: #64748b;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: #0f172a;
  font-weight: 600;
  font-size: 0.8rem;
}

.tag i {
  font-size: 0.9rem;
}

.job-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.metric {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.6rem 0.7rem;
}

.metric .label {
  font-size: 0.72rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.metric .value {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.apply-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
  justify-content: center;
}

.status-badge {
  border-radius: 999px;
  padding: 0.3rem 0.6rem;
  font-weight: 700;
  font-size: 0.75rem;
}

.status-sent {
  background: rgba(13, 110, 253, 0.12);
  color: #0d6efd;
  border: 1px solid #cfe0ff;
}

.status-review {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.status-inv {
  background: rgba(34, 197, 94, 0.12);
  color: #166534;
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.empty-hint {
  color: #64748b;
}

.certificate {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.08);
}

.cert-head {
  background: radial-gradient(1200px 200px at 10% 0%, rgba(15, 205, 157, 0.07), rgba(15, 205, 157, 0.06)), linear-gradient(180deg, rgba(15, 205, 157, 0), rgba(15, 205, 157, 0.04));
}

.avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #e5e7eb;
  color: #111827;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.verified {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.12);
  color: #166534;
  border: 1px solid rgba(22, 163, 74, 0.35);
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 992px) {
  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.kpi {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
}

.kpi .label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.kpi .value {
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  font-size: 1.15rem;
}

.kpi.good .value {
  color: var(--ok);
}

.qr {
  width: 110px;
  height: 110px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hash {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.8rem;
  color: #475569;
}

.sig-line {
  height: 1px;
  background: var(--border);
}

.sig-name {
  font-weight: 700;
}

.btn-soft {
  border: 1px solid var(--border);
  background: #fff;
}

@media print {
  .navbar, .actions, .alert, .footer-links {
    display: none !important;
  }
  body {
    background: #fff;
  }
  .wrap {
    margin: 0;
    max-width: none;
  }
  .certificate {
    box-shadow: none;
    border: none;
  }
}
.list-kv {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-kv li {
  padding: 0.6rem 0;
  border-bottom: 1px dashed #edf1f5;
}

.list-kv li:last-child {
  border-bottom: 0;
}

.list-kv .k {
  width: 220px;
  color: #475569;
}

.step {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.6rem 0;
}

.step .num {
  flex: 0 0 28px;
  height: 28px;
  border-radius: 9px;
  background: #f1f5f9;
  color: #0f172a;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step.done .num {
  background: #dcfce7;
  color: #166534;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  font-weight: 600;
  font-size: 0.8rem;
}

.pill.ok {
  background: #e8fff5;
  border-color: #c9f5de;
  color: #0f766e;
}

.list-dash {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.list-dash li {
  padding: 0.35rem 0;
  border-bottom: 1px dashed #edf1f5;
}

.list-dash li:last-child {
  border-bottom: 0;
}

.confetti {
  pointer-events: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.confetti i {
  position: absolute;
  top: -10px;
  width: 10px;
  height: 14px;
  opacity: 0.9;
  will-change: transform;
}

@keyframes fall {
  to {
    transform: translateY(110vh) rotate(1turn);
  }
}
@media (prefers-reduced-motion: reduce) {
  .confetti {
    display: none;
  }
}
.faq-accordion .accordion-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0.75rem;
  background: #fff;
  position: relative;
}

.faq-accordion .accordion-button {
  gap: 0.5rem;
  font-weight: 600;
  background: #f8fafc;
}

.faq-accordion .accordion-button:focus {
  box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 -1px 0 rgba(15, 23, 42, 0.05);
}

.faq-accordion .accordion-body {
  background: #fff;
}

.faq-accordion .badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.faq-success {
  border-left: 4px solid #10b981;
}

.faq-info {
  border-left: 4px solid #0ea5e9;
}

.faq-warn {
  border-left: 4px solid #f59e0b;
}

.faq-neutral {
  border-left: 4px solid #cbd5e1;
}

.faq-success > .accordion-header .accordion-button {
  background: #e8fff5;
  color: #065f46;
}

.faq-info > .accordion-header .accordion-button {
  background: #e6f6ff;
  color: #075985;
}

.faq-warn > .accordion-header .accordion-button {
  background: #fff7ed;
  color: #92400e;
}

.faq-neutral > .accordion-header .accordion-button {
  background: #f8fafc;
  color: #334155;
}

.faq-success .badge-dot {
  background: #10b981;
}

.faq-info .badge-dot {
  background: #0ea5e9;
}

.faq-warn .badge-dot {
  background: #f59e0b;
}

.faq-neutral .badge-dot {
  background: #94a3b8;
}

.maintenance-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  gap: 18px;
}

.maintenance-card {
  max-width: 960px;
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.mc-head {
  padding: 20px 24px;
  border-bottom: 1px solid #eef2f7;
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(180deg, #ffffff, #fafcff);
}

.badge-soft {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  font-weight: 600;
}

.mc-body {
  padding: 28px;
}

.lead-text {
  font-size: 1.05rem;
  color: #475569;
}

.kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.kpi {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.kpi .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.up {
  background: #22c55e;
}

.dot.down {
  background: #ef4444;
}

.dot.maint {
  background: #f59e0b;
}

.muted {
  color: #64748b;
}

.progress {
  height: 10px;
  background: #eef2f7;
}

.progress-bar {
  background: #10b981;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.step {
  border: 1px dashed #e5e7eb;
  border-radius: 12px;
  padding: 10px 12px;
  background: #fcfdfd;
  font-size: 0.925rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.step.done {
  border-style: solid;
  border-color: #d1fae5;
  background: #f0fdf4;
}

.step i {
  font-size: 1rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.mc-foot {
  padding: 16px 24px;
  border-top: 1px solid #eef2f7;
  background: #fafcff;
  color: #64748b;
  font-size: 0.925rem;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

.brand-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.2px;
}

.brand-mini .logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0d6efd;
  color: #fff;
}

@media (max-width: 768px) {
  .kpis {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
}
/* Letter (Founder note) */
.letter-card {
  max-width: 960px;
  width: 100%;
  margin: 0 auto 18px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #fbfeff);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
  padding: 22px 24px;
  position: relative;
}

.letter-card .close-btn {
  position: absolute;
  right: 10px;
  top: 10px;
  border: 0;
  background: transparent;
  opacity: 0.6;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.letter-card .close-btn:hover {
  opacity: 1;
}

.letter-head small {
  color: #64748b;
}

.letter-p {
  font-size: 1.02rem;
  color: #475569;
  margin-bottom: 0.75rem;
}

.letter-list i {
  font-size: 1rem;
  margin-right: 0.35rem;
}

.letter-sign {
  font-family: ui-script, "Segoe Script", "Bradley Hand", cursive;
  font-size: 1.1rem;
  color: #0f172a;
}

/* Confetti */
.confetti-piece {
  position: fixed;
  top: -12px;
  width: 8px;
  height: 14px;
  opacity: 0.95;
  z-index: 1050;
  border-radius: 2px;
  animation: confettiFall linear forwards;
}

@keyframes confettiFall {
  to {
    transform: translateY(110vh) rotate(720deg);
    opacity: 1;
  }
}
/* responsive two-column layout */
.maintenance-grid {
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

@media (min-width: 992px) {
  .maintenance-grid {
    grid-template-columns: 1fr 1fr;
  }
}
/* allow cards to fill their grid cell */
.letter-card, .maintenance-card {
  max-width: none;
}

.active > .page-link, .page-link.active {
  z-index: 3;
  color: var(--bs-pagination-active-color);
  --bs-pagination-active-bg: #0fcd9d;
  --bs-pagination-active-border-color: #0fcd9d;
}

.page-link:hover {
  z-index: 2;
  color: #0fcd9d;
  background-color: var(--bs-pagination-hover-bg);
  border-color: var(--bs-pagination-hover-border-color);
}

.page-link:focus {
  color: #0fcd9d;
}

.page-link {
  --bs-pagination-color: #0fcd9d;
}

.page-link:focus {
  box-shadow: none;
}

.has-bottom-bar {
  padding-bottom: 88px;
}

.bottom-bar {
  padding: 0 max(0.5rem, var(--space-x, 1.25rem)) max(0.5rem, env(safe-area-inset-bottom));
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1030;
}

.bottom-bar .dock {
  position: relative;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  padding: 0.35rem;
  max-width: 720px;
  margin: 0 auto;
}

[data-bs-theme=dark] .bottom-bar .dock {
  background: #0b1220;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.42);
}

.bottom-bar .nav {
  gap: 0.35rem;
}

.bottom-bar .nav-link {
  color: color-mix(in oklab, var(--fg, #0f172a) 58%, transparent);
  border-radius: 12px;
  padding: 0.5rem 0.4rem 0.65rem;
  min-height: 56px;
  line-height: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  position: relative;
  transition: color 0.16s ease, background-color 0.16s ease, transform 0.16s ease;
}

.bottom-bar .nav-link .bi {
  font-size: 1.22rem;
  line-height: 1;
  transition: transform 0.16s ease;
}

.bottom-bar .nav-link small {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  transition: font-weight 0.1s ease;
}

.bottom-bar .nav-pills .nav-link.active {
  background: color-mix(in oklab, var(--brand, #0fcd9d) 14%, transparent);
  color: var(--brand, #0fcd9d) !important;
}

[data-bs-theme=dark] .bottom-bar .nav-pills .nav-link.active {
  background: color-mix(in oklab, var(--brand, #0fcd9d) 20%, transparent);
}

.bottom-bar .nav-link.active .bi {
  color: var(--brand, #0fcd9d);
  transform: translateY(-1px) scale(1.06);
}

.bottom-bar .nav-link.active small {
  font-weight: 700;
}

.bottom-bar .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.35rem;
  height: 3px;
  width: 0;
  transform: translateX(-50%);
  border-radius: 2px;
  opacity: 0.95;
  background: var(--brand, #0fcd9d);
  transition: width 0.24s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s ease;
}

.bottom-bar .nav-link:hover::after {
  width: 28%;
}

.bottom-bar .nav-link.active::after {
  width: 56%;
}

.badge-soft {
  background: rgba(13, 253, 155, 0.07);
  color: var(--brand, #0fcd9d);
  font-variant-numeric: tabular-nums;
}

.nav-badge {
  position: absolute;
  top: 6px;
  right: 16px;
  font-size: 0.65rem;
  border-radius: 999px;
}

.bottom-bar .nav-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 0.2rem color-mix(in oklab, var(--brand, #0fcd9d) 24%, transparent);
}

.bottom-bar.compact .nav-link {
  min-height: 48px;
  padding: 0.35rem 0.25rem 0.45rem;
}

@media (prefers-reduced-motion: reduce) {
  .bottom-bar .nav-link {
    transition: none;
  }
  .bottom-bar .nav-link::after {
    transition: none;
  }
}
.pg {
  height: 2px;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.pg.pg-hidden {
  opacity: 0;
  visibility: hidden;
}

.pg:not(.pg-hidden) {
  opacity: 1;
  visibility: visible;
}

.pg.is-finishing {
  opacity: 0;
}

.pg .pg-bar {
  position: relative;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background-color: var(--primary);
  will-change: transform;
  backface-visibility: hidden;
}

.pg .pg-bar::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 120px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.55));
  filter: blur(6px);
  opacity: 0.6;
}

.pg--in-navbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100000;
}

@supports (color: color-mix(in oklab, white 50%, black)) {
  .pg .pg-bar {
    background: linear-gradient(90deg, color-mix(in oklab, var(--primary) 96%, #fff) 0%, var(--primary) 50%, var(--primary) 100%);
    box-shadow: 0 0 18px color-mix(in oklab, var(--primary) 30%, transparent);
  }
}
/* Underlined search */
.search {
  position: relative;
  width: 100%;
}

.search__input {
  display: block;
  height: 30px;
  padding-left: 1.9rem;
  padding-right: 2rem;
  border: 0;
  border-bottom: 1px solid var(--bs-border-color);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.search__input:focus {
  border-bottom-color: var(--bs-primary);
  border-bottom-width: 2px;
  box-shadow: none;
}

.search__icon {
  position: absolute;
  left: 0.45rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  line-height: 1;
  pointer-events: none;
  color: var(--bs-secondary-color, #6c757d);
}

.search__clear {
  position: absolute;
  right: 0.15rem;
  top: 50%;
  transform: translateY(-50%);
  padding: 0.125rem 0.25rem;
  border: 0;
  background: transparent;
  display: none;
}

/* Desktop-Breite: klein, damit es neben die Tabs passt
   Stellbar über CSS-Variablen, falls du pro Stelle variieren willst */
.controls {
  gap: 0.5rem;
}

.search {
  --search-w: 170px; /* Basisbreite */
  --search-max: 210px; /* Obergrenze */
  flex: 0 1 var(--search-w);
  max-width: var(--search-max);
  min-width: 140px;
}

/* Mobile: Search oben, Tabs darunter nebeneinander und Search vollbreit */
@media (max-width: 576px) {
  .controls {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.5rem;
  }
  .search {
    flex: 1 1 100%;
    max-width: 100%;
  }
}
body {
  background-color: #F9F9F9;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

.site-footer {
  margin-top: auto;
}

.site-footer {
  background: #fff;
  border-top: 1px solid var(--border);
}

.site-footer .footer-links a {
  color: #0f172a;
  text-decoration: none;
  font-weight: 600;
}

.site-footer .footer-links a:hover {
  color: var(--primary);
}

.site-footer .copy {
  color: #64748b;
}

.text-success {
  --bs-success-rgb: 15, 205, 157;
}

.step-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 0;
}

.step-row + .step-row {
  border-top: 1px solid var(--border);
}

.step-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 253, 155, 0.05);
  color: #0fcd9d;
  font-size: 1.05rem;
}

.step-row.done .step-icon {
  background: rgba(13, 253, 155, 0.05);
  color: #22c55e;
}

.step-title {
  font-weight: 400;
  color: #0f172a;
}

.step-meta {
  color: #64748b;
  font-size: 0.85rem;
}

.step-row .progress {
  height: 8px;
}

.month-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.month-badge {
  border: 1px solid var(--border);
  background: #fff;
  color: #0f172a;
  border-radius: 999px;
  padding: 0.3rem 0.6rem;
  font-weight: 600;
  font-size: 0.8rem;
}

.month-badge.done {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
  border-color: rgba(34, 197, 94, 0.25);
}

.prize-pot .amount {
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.prize-pot .hint {
  color: #64748b;
}

.prize-wide {
  background: linear-gradient(135deg, #1da583, #0fcd9d);
  color: #fff;
}

.prize-wide .pot-chip {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  font-weight: 600;
}

.prize-wide .display-6 {
  font-weight: 800;
}

.check-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(13, 253, 155, 0.05);
  color: #0fcd9d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(5, 150, 105, 0.18);
}

.order-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  font-weight: 600;
  color: #334155;
}

/* inter-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Inter";
  font-style: normal;
  font-weight: 300;
  src: url("../fonts/inter/files/inter-v20-latin-300.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/inter/files/inter-v20-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/inter/files/inter-v20-latin-500.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  src: url("../fonts/inter/files/inter-v20-latin-600.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/inter/files/inter-v20-latin-700.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/*# sourceMappingURL=style.css.map */
