/*
 * Generates public/css/site.css.
 * Edit SCSS files under assets/scss and run npm run css:build.
 */
:root {
  --th-sand: #f3ede2;
  --th-ink: #1d2733;
  --th-slate: #5b6776;
  --th-gold: #c98f2b;
  --th-gold-deep: #9e6b16;
  --th-panel: rgba(255, 255, 255, 0.82);
  --th-panel-strong: rgba(255, 255, 255, 0.9);
  --th-border: rgba(29, 39, 51, 0.1);
  --th-shadow: 0 24px 80px rgba(22, 30, 39, 0.12);
}

.navbar .nav-link {
  color: var(--th-slate);
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
  color: var(--th-ink);
}

.navbar-brand {
  padding: 0;
}

.display-4 {
  font-family: "Outfit", sans-serif;
  letter-spacing: -0.03em;
  font-weight: 800;
  line-height: 0.95;
}

.pagination .page-link {
  border-radius: 0.65rem;
  border-color: rgba(29, 39, 51, 0.18);
  color: var(--th-ink);
  background: rgba(255, 255, 255, 0.75);
  min-width: 2.5rem;
  text-align: center;
}

.pagination .page-link:hover,
.pagination .page-link:focus {
  color: var(--th-ink);
  background: rgba(29, 39, 51, 0.08);
  border-color: rgba(29, 39, 51, 0.28);
  box-shadow: none;
}

.pagination .page-item.active .page-link {
  color: #fff;
  background: var(--th-ink);
  border-color: var(--th-ink);
}

.pagination .page-item.disabled .page-link {
  color: rgba(29, 39, 51, 0.45);
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(29, 39, 51, 0.12);
}

body {
  min-height: 100vh;
  color: var(--th-ink);
  font-family: "Source Sans 3", sans-serif;
  background: radial-gradient(circle at top left, rgba(201, 143, 43, 0.18), transparent 28%), radial-gradient(circle at right center, rgba(29, 39, 51, 0.08), transparent 30%), linear-gradient(180deg, #fcfaf6 0%, #f3ede2 100%);
}

h1,
h2,
h3,
.navbar-brand {
  font-family: "Outfit", sans-serif;
  letter-spacing: -0.03em;
}

a {
  color: var(--th-gold-deep);
}

a:hover,
a:focus {
  color: var(--th-ink);
}

.app-main {
  min-height: calc(100vh - 12rem);
}

@media (min-width: 1600px) {
  .app-container {
    max-width: 1520px;
  }
}
.navbar-shell {
  border-radius: 1.25rem;
  margin-top: 1.5rem;
  position: relative;
  z-index: 1030;
}

.navbar-shell .dropdown-menu {
  z-index: 1035;
}

.site-logo {
  height: 6rem;
  width: auto;
  flex: 0 0 auto;
  object-fit: contain;
}

.site-footer {
  padding: 1.5rem 0 2.5rem;
}

.navbar-shell,
.hero-card,
.feature-card,
.checklist-card,
.stat-card,
.auth-panel,
.auth-card {
  background: var(--th-panel);
  backdrop-filter: blur(14px);
  border: 1px solid var(--th-border);
  box-shadow: var(--th-shadow);
}

.hero-copy,
.section-copy,
.feature-copy,
.checklist-card li,
.auth-benefits li,
.site-footer p {
  color: var(--th-slate);
  font-size: 1.05rem;
}

.auth-benefits strong {
  color: var(--th-ink);
}

.section-heading {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700;
}

.checklist-card ul,
.auth-benefits {
  padding-left: 1.1rem;
}

.checklist-card li + li,
.auth-benefits li + li {
  margin-top: 0.85rem;
}

.btn-brand {
  background: var(--th-ink);
  border-color: var(--th-ink);
  color: #fff;
}

.btn-brand:hover,
.btn-brand:focus {
  background: #111923;
  border-color: #111923;
  color: #fff;
}

.btn-outline-brand {
  border-color: rgba(29, 39, 51, 0.2);
  color: var(--th-ink);
  background: rgba(255, 255, 255, 0.5);
}

.btn-outline-brand:hover,
.btn-outline-brand:focus {
  background: rgba(29, 39, 51, 0.06);
  border-color: rgba(29, 39, 51, 0.3);
  color: var(--th-ink);
}

.stat-card,
.feature-card,
.checklist-card {
  border-radius: 1.5rem;
  height: 100%;
}

.stat-value {
  font-family: "Outfit", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: rgba(201, 143, 43, 0.15);
  color: var(--th-gold-deep);
  font-weight: 700;
}

.taxon-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.taxon-media-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--th-border);
  border-radius: 1rem;
  overflow: hidden;
}

.taxon-media-image-link {
  display: block;
  background: rgba(29, 39, 51, 0.04);
}

.taxon-media-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.taxon-media-body {
  padding: 0.85rem 0.9rem;
}

.taxon-media-title {
  font-weight: 700;
  color: var(--th-ink);
  overflow-wrap: anywhere;
}

.taxon-media-meta,
.taxon-media-caption {
  color: var(--th-slate);
  font-size: 0.9rem;
}

.hero,
.page-section {
  padding: 4rem 0 3rem;
}

.hero-card,
.auth-panel,
.auth-card {
  border-radius: 2rem;
  overflow: hidden;
  position: relative;
}

.hero-card::after,
.auth-panel::after {
  content: "";
  position: absolute;
  inset: auto -10% -25% auto;
  width: 16rem;
  height: 16rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(201, 143, 43, 0.38) 0%, rgba(201, 143, 43, 0) 72%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(29, 39, 51, 0.06);
  color: var(--th-slate);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.auth-page {
  padding-top: 2.75rem;
}

.auth-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(243, 237, 226, 0.96) 100%);
}

.auth-card {
  background: var(--th-panel-strong);
}

.auth-card .form-control {
  min-height: 3.25rem;
  border-color: rgba(29, 39, 51, 0.14);
  padding-inline: 1rem;
}

.auth-card .form-control:focus {
  border-color: rgba(201, 143, 43, 0.8);
  box-shadow: 0 0 0 0.25rem rgba(201, 143, 43, 0.18);
}

.bulk-media-import {
  max-width: 68rem;
  padding: clamp(1.25rem, 3vw, 3rem);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 247, 244, 0.92));
  border: 1px solid rgba(28, 92, 73, 0.16);
  border-radius: 0.5rem;
  box-shadow: 0 1rem 2.5rem rgba(28, 57, 47, 0.08);
}

.bulk-media-import-form {
  max-width: 52rem;
}

.bulk-media-dropzone {
  display: grid;
  min-height: 7rem;
  place-items: center;
  padding: 1.5rem;
  color: #1c5c49;
  text-align: center;
  background: repeating-linear-gradient(-45deg, #f4faf7 0, #f4faf7 10px, #edf6f1 10px, #edf6f1 20px);
  border: 2px dashed rgba(28, 92, 73, 0.35);
  border-radius: 0.375rem;
  transition: border-color 0.15s ease, background-color 0.15s ease;
  cursor: pointer;
}

.bulk-media-selection {
  width: 100%;
}

.bulk-media-selection-summary {
  display: block;
  margin-bottom: 1rem;
}

.bulk-media-previews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr));
  gap: 0.75rem;
  width: 100%;
}

.bulk-media-preview {
  min-width: 0;
  margin: 0;
}

.bulk-media-preview img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: #fff;
  border: 1px solid rgba(28, 92, 73, 0.18);
  border-radius: 0.25rem;
}

.bulk-media-preview figcaption {
  overflow: hidden;
  margin-top: 0.25rem;
  color: #344f45;
  font-size: 0.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bulk-media-dropzone.is-dragging,
.bulk-media-dropzone:focus {
  background: #e5f2eb;
  border-color: #1c5c49;
  outline: 0;
}

.bulk-media-rules {
  max-width: 60rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(28, 92, 73, 0.18);
}

.bulk-media-rules p {
  max-width: 62rem;
  color: #4d6259;
}

@media (max-width: 767.98px) {
  .hero,
  .page-section {
    padding-top: 2rem;
  }
  .display-4 {
    font-size: 2.8rem;
  }
}
