:root {
  --nav-offset: 90px;
}

html {
  scroll-padding-top: var(--nav-offset);
}

[id] {
  scroll-margin-top: var(--nav-offset);
}

#mainNav {
  background-color: #23272a;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.25);
}

body {
  background-color: #2c2f33;
}

.btn-primary {
  background-color: #5B64E9;
  border-color: #5B64E9;
}

.btn-outline-primary {
  color: #5B64E9;
  border-color: #5B64E9;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  background-color: #5B64E9;
  border-color: #5B64E9;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  color: #fff;
}

#carouselExample .carousel-inner {
  height: clamp(300px, 36vw, 420px);
}

#carouselExample .carousel-item {
  height: 100%;
}

#carouselExample .carousel-item > .text-center {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#carouselExample .carousel-control-prev,
#carouselExample .carousel-control-next {
  opacity: 1;
}

#carouselExample .carousel-control-prev-icon,
#carouselExample .carousel-control-next-icon,
#carouselExample .carousel-control-prev-icon:hover,
#carouselExample .carousel-control-next-icon:hover {
  filter: none;
}

#carouselExample .carousel-control-prev-icon:hover,
#carouselExample .carousel-control-next-icon:hover {
  filter: invert(1);
}

.site-footer {
  grid-column: 1 / -1;
  grid-row: 3;
  position: relative;
  z-index: 1105;
  margin-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #23272a;
  padding-top: 2rem;
  padding-bottom: 1rem;
}

.site-footer .footer-inner {
  max-width: 72rem;
}

.site-footer .footer-grid {
  display: grid;
  gap: 2.5rem;
}

.site-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-footer .footer-title {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
}

.site-footer .footer-heading {
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.site-footer .footer-muted {
  color: #9e9e8e;
  font-size: 0.875rem;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer .footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.site-footer .footer-list > li > a {
  color: #9e9e8e;
  font-size: 0.875rem;
  font-weight: 400;
}

.site-footer .footer-link-group {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.site-footer .footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
  font-size: 0.75rem;
  color: #9e9e8e;
}

.site-footer .footer-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.375rem 0.75rem;
  font-size: 0.6875rem;
  color: #9e9e8e;
}

@media (min-width: 576px) {
  .site-footer .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .site-footer .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
  }
}

.custom-page-main {
  padding-top: 7rem;
  padding-bottom: 3rem;
}

.dashboard-page-main {
  padding-top: 6.5rem;
  padding-bottom: 3rem;
}

.dashboard-hero {
  margin-bottom: 2rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at top left, rgba(91, 100, 233, 0.28), transparent 30%),
    radial-gradient(circle at bottom right, rgba(30, 41, 59, 0.8), transparent 36%),
    linear-gradient(145deg, rgba(9, 14, 28, 0.95), rgba(17, 24, 39, 0.82));
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.22);
}

.dashboard-orbit {
  position: absolute;
  border-radius: 9999px;
  filter: blur(12px);
  pointer-events: none;
}

.dashboard-orbit-one {
  top: -3rem;
  right: -2rem;
  width: 12rem;
  height: 12rem;
  background: rgba(91, 100, 233, 0.2);
}

.dashboard-orbit-two {
  bottom: -4rem;
  left: -1rem;
  width: 10rem;
  height: 10rem;
  background: rgba(59, 130, 246, 0.14);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 700;
  color: #9ec5fe;
}

.dashboard-panel {
  padding: 1.25rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-panel-label {
  color: #9ca3af;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}

.dashboard-panel-title {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.dashboard-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
  color: #d1d5db;
}

.dashboard-checklist li {
  position: relative;
  padding-left: 1.25rem;
}

.dashboard-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 9999px;
  background: #5b64e9;
}

.tool-grid {
  display: grid;
  gap: 1rem;
}

.tool-card {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  border-radius: 1.25rem;
  background: rgba(17, 24, 39, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.18);
}

.tool-card::after {
  content: "";
  position: absolute;
  inset: auto -2rem -2rem auto;
  width: 9rem;
  height: 9rem;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(91, 100, 233, 0.2), transparent 70%);
  pointer-events: none;
}

.tool-card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: rgba(91, 100, 233, 0.18);
  color: #c7d2fe;
  font-weight: 700;
  margin-bottom: 1rem;
}

.tool-card p {
  color: #cbd5e1;
  margin-bottom: 1.25rem;
}

.tool-card code {
  color: #93c5fd;
}

.tool-card .btn {
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .tool-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.custom-page-card {
  background: rgba(17, 24, 39, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
}

.custom-page-card .card-body {
  padding: 1.5rem;
}

.section-title {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
}

.form-label {
  color: #d1d5db;
}

.form-hint {
  color: #9ca3af;
  font-size: 0.85rem;
}

.talent-block {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.02);
  overflow: visible;
}

.placeholder-box {
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 0.75rem;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 0.9rem;
  background: rgba(0, 0, 0, 0.15);
}

.talent-builder-frame-wrap {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
  min-height: 760px;
}

.talent-builder-frame {
  display: block;
  height: 100%;
  width: 100%;
  min-height: 760px;
  border: 0;
  background: #0f172a;
}

.talent-builder-note {
  color: #9ca3af;
  font-size: 0.85rem;
}

.talent-builder-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.talent-builder-toolbar {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.talent-settings-panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  left: auto;
  width: fit-content;
  min-width: 0;
  max-width: calc(100vw - 1rem);
  z-index: 40;
  padding: 0.6rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.2);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.35);
}

.talent-settings-panel[hidden] {
  display: none;
}

.talent-settings-panel .form-check-label {
  white-space: nowrap;
}

.talent-settings-shared-note {
  margin-top: 0.6rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  line-height: 1.3;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.status-line {
  color: #cbd5e1;
  font-size: 0.9rem;
  margin-top: 0.75rem;
}
