/* assets/styles.css */
:root{
  --brand: #198754; /* bootstrap 'success' */
  --card-radius: 1rem;
}

.bg-body{ background: #f7f9fb; }

.section-title{
  font-weight: 700;
  letter-spacing: .2px;
  color: #1b1f23;
}

.card-bird{
  border: 0;
  border-radius: var(--card-radius);
  box-shadow: 0 8px 24px rgba(0,0,0,.07);
  overflow: hidden;
  background: #fff;
}

.card-bird .ratio{ background: #eef2f5; }

.bird-meta{
  color:#6c757d;
  font-size:.95rem;
}

.map-mini{
  height: 180px;
  border-radius: .75rem;
  overflow: hidden;
  border: 1px solid #e9ecef;
}

.badge-type{
  font-weight:600;
  letter-spacing:.3px;
}

.navbar .navbar-brand{ letter-spacing:.2px; }

.empty-state{
  border:2px dashed #e9ecef;
  border-radius:16px;
  background:#fff;
}

.footer a:hover{ text-decoration: underline; }

/* Helper: make <video> nice */
.video-rounded{
  border-radius: .75rem;
  overflow: hidden;
}

/* adminpanel switch */

.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #4cd964; /* iOS grønn */
}

input:checked + .slider:before {
  transform: translateX(22px);
}