html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.sr-main {
  padding-top: 0.5rem;
}

:root[data-bs-theme="dark"] {
  --bs-body-bg: #0b1220;
  --bs-body-color: #e7eefc;
  --bs-tertiary-bg: #0f1a2e;
  --bs-secondary-bg: #0d172a;
  --bs-border-color: rgba(255,255,255,.10);
  --bs-link-color: #8ab4ff;
  --bs-link-hover-color: #a8c7ff;
  --sr-accent: #ff8a2a;
  --sr-accent-2: #ffc18a;
}

[data-bs-theme="dark"] body {
  background:
    radial-gradient(1200px 500px at 0% -10%, rgba(255,138,42,.10), transparent 65%),
    linear-gradient(180deg, #0b1220 0%, #0f172a 100%);
  color: var(--bs-body-color);
}

.sr-navbar {
  background: linear-gradient(180deg, rgba(15,26,46,.92), rgba(15,26,46,.75));
  backdrop-filter: blur(10px);
  border-bottom-color: rgba(255,255,255,.08) !important;
}

.sr-navbar-brand {
  display: inline-flex;
  align-items: center;
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}

.sr-logo-wordmark {
  display: block;
  height: 2rem;
  width: auto;
  max-width: min(62vw, 240px);
}

@media (min-width: 768px) {
  .sr-logo-wordmark {
    height: 2.25rem;
    max-width: 280px;
  }
}

[data-bs-theme="dark"] .sr-navbar .navbar-brand,
[data-bs-theme="dark"] .sr-navbar .nav-link {
  color: #e5edf9;
}

[data-bs-theme="dark"] .sr-navbar .nav-link:hover,
[data-bs-theme="dark"] .sr-navbar .nav-link:focus {
  color: #ffb067;
}

.btn-sr {
  --bs-btn-bg: var(--sr-accent);
  --bs-btn-border-color: var(--sr-accent);
  --bs-btn-hover-bg: var(--sr-accent-2);
  --bs-btn-hover-border-color: var(--sr-accent-2);
  --bs-btn-color: #111;
  --bs-btn-hover-color: #111;
}

.btn-outline-sr {
  --bs-btn-color: var(--sr-accent);
  --bs-btn-border-color: rgba(255,138,42,.55);
  --bs-btn-hover-bg: rgba(255,138,42,.12);
  --bs-btn-hover-border-color: rgba(255,138,42,.9);
  --bs-btn-hover-color: #fff;
}

.sr-cta {
  padding: .85rem 2.25rem;
  font-weight: 600;
  transition: transform .15s ease, box-shadow .15s ease;
}

.sr-cta:hover {
  transform: translateY(-1px);
}

:root[data-bs-theme="dark"] .list-group-item {
  background-color: var(--bs-tertiary-bg);
  border-color: var(--bs-border-color);
}

.sr-home-card {
  background: linear-gradient(180deg, rgba(15,26,46,.92), rgba(15,26,46,.70));
  border: 1px solid rgba(255,255,255,.10);
}

.sr-subtle-border {
  border-color: rgba(255,255,255,.08) !important;
}

:root[data-bs-theme="dark"] .sr-form-panel {
  background: rgba(255,255,255,.03);
  border-color: rgba(255,255,255,.10) !important;
}

.sr-form-panel .form-control {
  min-height: 2.9rem;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.sr-learn-more {
  border-left: 2px solid rgba(255,255,255,.10);
}

/* Scope custom range styling to the create panel only. */
.sr-form-panel .sr-hop-range::-webkit-slider-runnable-track {
  height: 0.375rem;
  background: rgba(255,255,255,.20);
  border-radius: 999px;
}

.sr-form-panel .sr-hop-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 1rem;
  height: 1rem;
  margin-top: -0.3125rem;
  border-radius: 50%;
  background: var(--sr-accent);
  border: 0;
}

.sr-form-panel .sr-hop-range::-moz-range-track {
  height: 0.375rem;
  background: rgba(255,255,255,.20);
  border-radius: 999px;
}

.sr-form-panel .sr-hop-range::-moz-range-thumb {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--sr-accent);
  border: 0;
}

@media (min-width: 768px) {
  .w-md-auto {
    width: auto !important;
  }
}

.sr-artwork-placeholder {
  width: 64px;
  height: 64px;
  border-radius: 0.75rem;
  border: 1px dashed var(--bs-border-color);
  background: linear-gradient(135deg, #1a2540 0%, #111a2e 100%);
}

.sr-artist-image {
  width: 64px;
  height: 64px;
  border-radius: 0.75rem;
  border: 1px solid var(--bs-border-color);
  object-fit: cover;
  background: linear-gradient(135deg, #1a2540 0%, #111a2e 100%);
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
