/* ====== RESET/LAYOUT BAS ====== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-page: #0f1a14;
  /* mörk-grönsvart bakgrund för hero overlay */
  --bg-surface: #ffffff;
  --bg-alt: #f5f8f6;
  /* ljusgrön/grå bakgrund för sektioner */
  --text-main: #0e1a11;
  --text-light: #ffffff;
  --text-muted: #53645a;
  --brand-dark: #153c2a;
  /* djup skogsgrön */
  --brand-mid: #1f5a3e;
  /* accent knappar */
  --brand-light: #dff2e7;
  /* soft highlight */
  --border-color: #d8e3dc;
  --radius-card: 1rem;
  --radius-btn: .5rem;
  --shadow-card: 0 20px 40px rgba(0, 0, 0, .06);
  --max-width: 1280px;
  --font-stack: system-ui, -apple-system, BlinkMacSystemFont, "Inter", "Roboto", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

body {
  font-family: var(--font-stack);
  color: var(--text-main);
  background-color: var(--bg-surface);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--brand-mid);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ====== HEADER / TOPBAR ====== */
header.site-header {
  border-bottom: 1px solid var(--border-color);
  background-color: #ffffffcc;
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 0;
  flex-wrap: wrap;
  row-gap: .75rem;
}

.brand {
  display: flex;
  align-items: flex-start;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  line-height: 1.2;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: .5rem;
  background: radial-gradient(circle at 30% 30%, #3fa96b 0%, #1f5a3e 60%, #0f2f21 100%);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .25);
  position: relative;
  flex-shrink: 0;
}

/* Enkel lövikon */
.brand-logo::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 24px;
  transform: translate(-50%, -50%) rotate(-12deg);
  background: radial-gradient(circle at 30% 30%, #fff 0%, #dff2e7 60%);
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 0 6px rgba(255, 255, 255, .4);
}

.brand-text {
  margin-left: .75rem;
  display: flex;
  flex-direction: column;
}

.brand-text .title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand-dark);
  letter-spacing: -0.03em;
}

.brand-text .sub {
  font-size: .75rem;
  color: #4b5a51;
  font-weight: 400;
}

nav.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-size: .9rem;
  font-weight: 500;
}

nav.main-nav a {
  color: var(--brand-dark);
  position: relative;
}

nav.main-nav a:hover {
  color: var(--brand-mid);
}

nav.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.4rem;
  height: 3px;
  border-radius: 999px;
  background-color: var(--brand-mid);
}

/* === Hamburgar-knapp === */
.nav-toggle {
  display: none;
  border: 1px solid var(--border-color);
  background: #fff;
  border-radius: .6rem;
  padding: .55rem .6rem;
  line-height: 0;
  cursor: pointer;
}

.nav-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--brand-dark);
  border-radius: 2px;
}

.nav-toggle .bar+.bar {
  margin-top: 5px;
}

/* === Mobilnav stängt som standard === */
@media (max-width: 900px) {
  nav.main-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 60px;
    background: #fff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .10);
    z-index: 999;
    gap: .75rem;
    overflow: hidden;
  }

  /* När menyn är STÄNGD – göm allt */
  header.site-header:not(.open) nav.main-nav {
    display: none;
    max-height: 0;
    padding: 0;
    border-top: 0;
    box-shadow: none;
  }

  /* När menyn är ÖPPEN – visa och ge padding/border */
  header.site-header.open nav.main-nav {
    display: grid;
    max-height: calc(100vh - 60px);
    padding: 1rem 1.25rem 1.5rem;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .10);
  }

  nav.main-nav a {
    font-size: 1rem;
    padding: .5rem 0;
  }

  .nav-toggle {
    display: inline-block;
  }

  .top-actions {
    display: none;
  }

  .nav-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: .6rem;
    margin-top: .5rem;
  }

  .nav-actions .btn-outline,
  .nav-actions .btn-solid {
    text-align: center;
    padding: .75rem .9rem;
    font-size: .95rem;
  }
}


/* Desktop-beteende (oförändrat) */
@media (min-width: 901px) {
  nav.main-nav {
    position: static;
    display: flex;
    gap: 1rem 1.5rem;
    max-height: none !important;
    overflow: visible;
    padding: 0;
    box-shadow: none;
    border: 0;
    background: transparent;
  }

  .nav-actions {
    display: none;
  }

  .top-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
  }
}

/* Valfritt: lås scroll när meny är öppen på mobil */
body.no-scroll {
  height: 100vh;
  overflow: hidden;
}



.btn-outline {
  display: inline-block;
  border: 1px solid var(--brand-mid);
  border-radius: var(--radius-btn);
  padding: .5rem .75rem;
  line-height: 1.2;
  font-size: .8rem;
  font-weight: 500;
  color: var(--brand-mid);
  background-color: transparent;
  text-decoration: none;
}

.btn-outline:hover {
  background-color: var(--brand-light);
  text-decoration: none;
}

.btn-solid {
  display: inline-block;
  border-radius: var(--radius-btn);
  padding: .5rem .75rem;
  line-height: 1.2;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-light);
  background: linear-gradient(135deg, #2c7a52 0%, #1f5a3e 60%);
  box-shadow: 0 14px 30px rgba(31, 90, 62, .4);
  text-decoration: none;
}

.btn-solid:hover {
  filter: brightness(1.05);
  text-decoration: none;
}

/* ====== HERO ====== */
.hero {
  position: relative;
  background-color: var(--bg-page);
  color: var(--text-light);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(60, 160, 100, .4) 0%, rgba(0, 0, 0, 0) 60%),
    radial-gradient(circle at 80% 30%, rgba(20, 60, 40, .5) 0%, rgba(0, 0, 0, 0) 70%),
    url('https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1600&q=80');
  /* ovan url = skogsdimma, byt till egen bild sen */
  background-size: cover;
  background-position: center;
  filter: brightness(.6) saturate(1.2);
}

.hero-overlay {
  position: relative;
  z-index: 1;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.25rem 5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
    align-items: center;
    padding: 5rem 1.25rem 6rem;
  }
}

.hero-copy h1 {
  font-size: clamp(1.9rem, 1vw + 1.5rem, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: #fff;
  max-width: 20ch;
  text-shadow: 0 20px 40px rgba(0, 0, 0, .8);
}

.hero-copy p {
  margin-top: 1rem;
  font-size: 1rem;
  max-width: 45ch;
  color: #e6f5ec;
  text-shadow: 0 14px 30px rgba(0, 0, 0, .8);
}

.hero-buttons {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1rem;
}

.hero-card {
  background-color: rgba(15, 30, 22, .6);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-card);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .7);
  padding: 1rem 1.25rem;
  color: #fff;
  font-size: .9rem;
}

.hero-card h2 {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #a7e1c4;
  letter-spacing: .05em;
}

.hero-card p {
  margin-top: .5rem;
  font-size: .9rem;
  line-height: 1.4;
  color: #e8fff4;
}

.hero-card a {
  display: inline-block;
  margin-top: .75rem;
  font-size: .8rem;
  font-weight: 600;
  color: #fff;
  text-decoration: underline;
}

.hero-card a:hover {
  text-decoration: none;
}

/* ====== GRID: AKTUELLT / FOKUS ====== */
section.featured {
  background-color: var(--bg-surface);
  margin-top: -2rem;
  position: relative;
  z-index: 2;
}

.featured-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .featured-inner {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card-feature {
  background-color: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.25rem 1rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  min-height: 200px;
}

.card-kicker {
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--brand-mid);
  background-color: var(--brand-light);
  display: inline-block;
  padding: .4rem .6rem;
  border-radius: .4rem;
  line-height: 1;
}

.card-title {
  margin-top: .75rem;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--brand-dark);
  letter-spacing: -0.03em;
}

.card-text {
  margin-top: .5rem;
  font-size: .9rem;
  color: #3a4a40;
  line-height: 1.4;
  flex-grow: 1;
}

.card-link {
  margin-top: 1rem;
  font-size: .85rem;
  font-weight: 500;
  color: var(--brand-mid);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.card-link:hover {
  text-decoration: underline;
}

/* ====== NYHETER & RAPPORTER ====== */
section.news {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.news-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 992px) {
  .news-inner {
    grid-template-columns: 2fr 1fr;
    align-items: start;
  }
}

.news-headline-block h2 {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--brand-dark);
  letter-spacing: -0.03em;
}

.news-headline-block p.sub {
  font-size: .9rem;
  margin-top: .5rem;
  color: #4b5a51;
  max-width: 50ch;
}

.news-list {
  margin-top: 1.25rem;
  border-top: 1px solid var(--border-color);
}

.news-item {
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
  gap: .5rem;
}

.news-item-title {
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--brand-dark);
}

.news-item-meta {
  font-size: .75rem;
  color: #6b786f;
  line-height: 1.3;
}

.report-box {
  background-color: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 1.25rem;
}

.report-box h3 {
  font-size: .9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--brand-mid);
}

.report-box p {
  font-size: .9rem;
  line-height: 1.4;
  color: #3a4a40;
  margin-top: .5rem;
}

.report-box a {
  display: inline-block;
  margin-top: .75rem;
  font-size: .85rem;
  font-weight: 500;
  color: var(--brand-mid);
  text-decoration: underline;
}

.report-box a:hover {
  text-decoration: none;
}

/* ====== FOOTER ====== */
footer.site-footer {
  background-color: var(--brand-dark);
  color: var(--text-light);
  margin-top: 3rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-branding .logo-row {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  color: #fff;
  text-decoration: none;
}

.footer-branding .name {
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.footer-branding .desc {
  font-size: .8rem;
  line-height: 1.4;
  color: #cfe8da;
  margin-top: .75rem;
  max-width: 45ch;
}

.footer-col h4 {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #cfe8da;
  margin-bottom: .75rem;
}

.footer-col ul {
  list-style: none;
  font-size: .9rem;
  line-height: 1.5;
  color: #ffffff;
}

.footer-col ul li+li {
  margin-top: .4rem;
}

.footer-col a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 400;
  font-size: .9rem;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .15);
  font-size: .75rem;
  color: #9fc5b1;
  text-align: center;
  padding: 1rem 1.25rem 2rem;
  line-height: 1.4;
}

/* ===========================================
   UNDERSIDA / SUBPAGE-STILAR
   =========================================== */

/* Liten hero på undersida */
.subhero {
  background: linear-gradient(180deg, #0d2016 0%, #0f1a14 70%);
  color: #e7fff3;
  position: relative;
  overflow: hidden;
}

.subhero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  filter: brightness(.45) saturate(1.2);
}

.subhero .inner {
  position: relative;
  z-index: 1;
  padding: 2.25rem 0;
}

.breadcrumbs {
  font-size: .85rem;
  color: #cfe8da;
}

.breadcrumbs a {
  color: #cfe8da;
}

.subhero h1 {
  margin-top: .4rem;
  font-size: clamp(1.6rem, 1.8vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #fff;
}

.lead {
  margin-top: .5rem;
  color: #d9f3e6;
  max-width: 70ch;
}

/* Layout för undersida: sidokolumn + innehåll */
.page {
  display: grid;
  gap: 2rem;
  padding: 2rem 0;
  grid-template-columns: 1fr;
}

@media (min-width: 992px) {
  .page {
    grid-template-columns: 280px 1fr;
  }
}

/* Sidomeny */
.sidenav {
  position: relative;
}

.sidenav .box {
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 1rem;
}

.sidenav h2 {
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--brand-mid);
  margin-bottom: .5rem;
}

.sidenav ul {
  list-style: none;
}

.sidenav li+li {
  margin-top: .35rem;
}

.sidenav a {
  display: block;
  padding: .4rem .5rem;
  border-radius: .5rem;
  color: var(--brand-dark);
}

.sidenav a[aria-current="page"] {
  background: #eaf6f0;
  color: var(--brand-mid);
  font-weight: 600;
}

/* Mobilfällning av sidomenyn */
.sidenav-toggle {
  display: none;
  margin-bottom: .75rem;
}

@media (max-width: 991px) {
  .sidenav-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: .6rem;
    padding: .6rem .8rem;
    background: #fff;
  }

  .sidenav .box {
    display: none;
  }

  .sidenav.open .box {
    display: block;
    margin-top: .75rem;
  }
}

/* Innehållsyta undersida */
.content article {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 1.25rem 1.25rem;
}

@media (min-width: 768px) {
  .content article {
    padding: 1.75rem 2rem;
  }
}

.content h2 {
  font-size: 1.25rem;
  margin-top: 1rem;
  color: var(--brand-dark);
  letter-spacing: -0.02em;
}

.content h3 {
  font-size: 1.05rem;
  margin-top: .9rem;
  color: #1f3b2c;
}

.content p {
  margin-top: .6rem;
  color: #213429;
}

.meta {
  font-size: .9rem;
  color: var(--text-muted);
}

/* Callout-ruta */
.callout {
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid #bfe6cf;
  background: #eef9f3;
  border-left: 6px solid var(--brand-mid);
  border-radius: .6rem;
}

.callout strong {
  color: var(--brand-mid);
}

/* Grid 2 kolumner (kort och info) */
.grid-2 {
  display: grid;
  gap: 1rem;
  margin: 1rem 0;
}

@media (min-width: 800px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* Generella kort för undersidan */
.card {
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: .8rem;
  padding: 1rem;
}

/* Knappar undersida (utöver btn-solid/outline) */
.btn {
  display: inline-block;
  border-radius: .5rem;
  padding: .65rem .9rem;
  font-weight: 600;
}

.btn.primary {
  background: linear-gradient(135deg, #2c7a52 0%, #1f5a3e 60%);
  color: #fff;
  box-shadow: 0 10px 20px rgba(31, 90, 62, .25);
}

.btn.ghost {
  border: 1px solid var(--brand-mid);
  color: var(--brand-mid);
  background: #fff;
}

.btn+.btn {
  margin-left: .5rem;
}

/* Tabeller i undersida */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: .95rem;
}

th,
td {
  padding: .6rem .5rem;
  border-bottom: 1px solid var(--border-color);
}

th {
  text-align: left;
  background: #f1f6f3;
  color: #1b3b2a;
}

/* FAQ med details/summary */
details {
  border: 1px solid var(--border-color);
  border-radius: .6rem;
  padding: .8rem 1rem;
  background: #fff;
  margin: .6rem 0;
}

summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--brand-dark);
}

details[open] {
  background: #f7fbf9;
}

/* Relaterat & kontakt-rutor */
.related {
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: .8rem;
  padding: 1rem;
  margin-top: 1rem;
}

.related ul {
  margin-top: .5rem;
  padding-left: 1rem;
}

.contact {
  background: linear-gradient(180deg, #f0fbf5 0%, #ffffff 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 1.25rem;
  margin-top: 1rem;
}

.contact h3 {
  margin-top: 0;
}

/* ================================
   FORMULÄR – RAPPORTERA MILJÖBROTT
   ================================ */

.report-form {
  margin-top: 1.5rem;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 1.5rem 1.5rem 1.75rem;
  display: grid;
  gap: 1.5rem;
}

/* Rubriker i formuläret */
.report-form h3 {
  font-size: 1.05rem;
  margin-bottom: .35rem;
  color: var(--brand-dark);
  letter-spacing: -0.01em;
}

.report-form p {
  margin-top: .35rem;
  margin-bottom: .75rem;
  font-size: .9rem;
}

/* Grundstil för inputs & textareas inom formuläret */
.report-form input[type="text"],
.report-form input[type="email"],
.report-form input[type="tel"],
.report-form input[type="date"],
.report-form input[type="time"],
.report-form input[type="file"],
.report-form textarea {
  width: 100%;
  margin-top: .25rem;
  padding: .55rem .65rem;
  border-radius: .5rem;
  border: 1px solid var(--border-color);
  font: inherit;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.report-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Fokustillstånd – tydligt men mjukt */
.report-form input:focus,
.report-form textarea:focus {
  outline: none;
  border-color: var(--brand-mid);
  box-shadow: 0 0 0 2px rgba(31, 90, 62, .18);
  background: #f9fdfb;
}

/* Etiketter */
.report-form label {
  font-size: .9rem;
  color: var(--brand-dark);
}

/* Radioknappar & checkboxar i linje med text */
.report-form input[type="radio"],
.report-form input[type="checkbox"] {
  margin-right: .4rem;
  transform: translateY(1px);
}

/* Spaltlayouten (du använder redan .grid-2) men lite tightare */
.report-form .grid-2 {
  gap: 1.25rem 1.5rem;
}

/* Gör grupperna snyggare i grid:en */
.report-form .grid-2>div {
  background: #f7fbf9;
  border-radius: .75rem;
  padding: .9rem .9rem 1rem;
  border: 1px solid rgba(216, 227, 220, 0.9);
}

/* Kryssrutor under beskrivningen i egen liten block-stil */
.report-form p>label input[type="checkbox"] {
  margin-right: .4rem;
}

/* Filuppladdning – lite mer “knappkänsla” */
.report-form input[type="file"] {
  padding: .4rem .5rem;
  background: #f5f8f6;
}

/* Knappsektionen */
.report-form button.btn {
  cursor: pointer;
  border: none;
}

.report-form button.btn.ghost {
  border: 1px solid var(--brand-mid);
}

/* Lite extra luft ovanför sista knappraden */
.report-form>p:last-child {
  margin-top: .5rem;
}

/* ============================
   MYNDIGHETSINLOGGNING
   ============================ */

.login-form {
  max-width: 380px;
  margin-top: 1.5rem;
  padding: 1.75rem 1.5rem;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.login-form h3 {
  margin-top: 0;
  margin-bottom: .5rem;
  font-size: 1.2rem;
  color: var(--brand-dark);
}

.login-form label {
  font-size: .9rem;
  font-weight: 500;
  color: var(--brand-dark);
}

.login-form input[type="text"],
.login-form input[type="password"] {
  padding: .65rem .75rem;
  border-radius: .5rem;
  border: 1px solid var(--border-color);
  background: #fff;
  transition: all .15s ease;
  font: inherit;
}

.login-form input:focus {
  outline: none;
  border-color: var(--brand-mid);
  box-shadow: 0 0 0 2px rgba(31, 90, 62, .15);
  background: #f9fdfb;
}

.login-form .remember {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-top: .25rem;
}

.login-form .small-links {
  margin-top: .5rem;
  font-size: .85rem;
}

.login-form .small-links a {
  color: var(--brand-mid);
}

/* ============================
   KAMEROR I NATURRESERVAT
   ============================ */

.camera-map-wrapper {
  margin: 1rem 0 1.5rem;
}

.camera-map {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  background: #000;
}

.camera-map img {
  display: block;
  width: 100%;
  height: auto;
}

/* Kameramarkörer */
.cam-marker {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 2px solid #ffffff;
  background: #1f5a3e;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, .4);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.cam-marker:hover {
  transform: scale(1.15);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .4);
}

.cam-marker--active {
  background: #2c7a52;
  box-shadow: 0 0 0 4px rgba(79, 209, 140, .6);
}

/* Panel för datum/tid */
.camera-panel {
  margin: 1rem 0 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-color);
  background: var(--bg-alt);
}

.camera-time-form .grid-2 {
  gap: 1rem 1.5rem;
  margin-bottom: .75rem;
}

.camera-time-form input[type="date"],
.camera-time-form input[type="time"] {
  margin-top: .25rem;
  width: 100%;
  padding: .55rem .65rem;
  border-radius: .5rem;
  border: 1px solid var(--border-color);
  font: inherit;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.camera-time-form input[type="date"]:focus,
.camera-time-form input[type="time"]:focus {
  outline: none;
  border-color: var(--brand-mid);
  box-shadow: 0 0 0 2px rgba(31, 90, 62, .18);
  background: #f9fdfb;
}

/* Videopanel */
.video-panel {
  margin: .5rem 0 0;
}

.video-panel--hidden {
  display: none;
}

.video-wrapper {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  background: #000;
}

.video-wrapper video {
  display: block;
  width: 100%;
  height: auto;
}

/* Tidsstämpel-överlägg */
.video-timestamp {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  padding: .25rem .6rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, .65);
  color: #f5fff8;
  font-size: .8rem;
  font-weight: 500;
  pointer-events: none;
}