/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

:root {
  --plant-ink: #3f352b;
  --plant-muted: #766857;
  --plant-surface: rgba(255, 249, 238, 0.92);
  --plant-line: rgba(111, 86, 56, 0.12);
  --plant-accent: #7b4e57;
  --plant-accent-deep: #5f3b43;
  --plant-leaf: #6f8f72;
  --plant-moss: #57745b;
  --plant-cream: #fff8ea;
  --plant-warm: #f1e4be;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

body {
  color: var(--plant-ink);
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(123, 78, 87, 0.1), transparent 26rem),
    radial-gradient(circle at top right, rgba(111, 143, 114, 0.16), transparent 25rem),
    radial-gradient(circle at 50% 6rem, rgba(201, 137, 74, 0.12), transparent 23rem),
    linear-gradient(180deg, #fff4df 0%, #fffaf1 42%, #f5ead2 100%);
}

main p,
main li {
  line-height: 1.65;
}

summary {
  line-height: 1.35;
}

h1,
h2,
h3,
.font-display {
  font-family: "Fraunces", "Iowan Old Style", "Georgia", serif;
  letter-spacing: -0.03em;
}

.app-orb {
  position: fixed;
  z-index: -1;
  pointer-events: none;
  border-radius: 9999px;
  filter: blur(16px);
  opacity: 0.7;
}

.app-orb-left {
  top: 7rem;
  left: -3rem;
  height: 12rem;
  width: 12rem;
  background: linear-gradient(135deg, rgba(123, 78, 87, 0.18), rgba(201, 137, 74, 0.14));
}

.app-orb-right {
  right: -2rem;
  bottom: 6rem;
  height: 10rem;
  width: 10rem;
  background: linear-gradient(135deg, rgba(111, 143, 114, 0.2), rgba(215, 184, 93, 0.15));
}

.field-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #5f4a39;
}

.field-input,
.field-textarea,
.field-select {
  width: 100%;
  margin-top: 0.45rem;
  border-radius: 1rem;
  border: 1px solid rgba(111, 86, 56, 0.16);
  background: rgba(255, 249, 238, 0.96);
  padding: 0.85rem 0.95rem;
  color: var(--plant-ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

.field-input:focus,
.field-textarea:focus,
.field-select:focus {
  border-color: rgba(123, 78, 87, 0.5);
  box-shadow: 0 0 0 4px rgba(123, 78, 87, 0.12);
}

.field-textarea {
  min-height: 7rem;
  resize: vertical;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #7b6550;
}

.section-title {
  font-size: clamp(1.35rem, 5vw, 1.9rem);
  line-height: 1.05;
}

.glass-strip {
  background: linear-gradient(135deg, rgba(255, 249, 238, 0.9), rgba(246, 231, 201, 0.74));
  backdrop-filter: blur(18px);
}

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

.species-card-layout {
  grid-template-columns: 7.5rem minmax(0, 1fr);
}

.admin-shell {
  max-width: 1500px;
}

.admin-kpi-grid,
.admin-main-grid,
.admin-split-grid,
.admin-three-grid,
.admin-chart-grid {
  display: grid;
  gap: 1rem;
}

.admin-kpi-grid {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.admin-chart-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

  .admin-three-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .admin-chart-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .admin-main-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(22rem, 0.85fr);
  }

  .admin-split-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(22rem, 0.9fr);
  }
}

@media (min-width: 1280px) {
  .admin-kpi-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .species-card-layout {
    grid-template-columns: 8.5rem minmax(0, 1fr);
  }

  .app-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .field-input,
  .field-textarea,
  .field-select {
    border-radius: 0.9rem;
    font-size: 16px;
    padding: 0.78rem 0.85rem;
  }

  .eyebrow {
    letter-spacing: 0.18em;
  }
}
