*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: Georgia, 'Times New Roman', serif;
  background: #fdf6ec;
  color: #3b2a1a;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

header {
  width: 100%;
  /* background: #4a2c0a; */
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

header img {
  max-height: 290px;
  max-width: 260px;
  object-fit: contain;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  width: 100%;
  max-width: 520px;
}

.note { text-align: center; margin-top: 20px; }

/* ── Status card ── */
.status-card {
  width: 100%;
  border-radius: 18px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
  transition: background .3s;
}

.status-card.open {
  background: linear-gradient(135deg, #d4edda, #a8d8ae);
  border: 3px solid #5a9e6f;
}

.status-card.closed {
  background: linear-gradient(135deg, #e8e0d8, #cfc4b5);
  border: 3px solid #a08060;
}

.chicken {
  font-size: 100px;
  line-height: 1;
  margin-bottom: 16px;
  display: block;
  filter: drop-shadow(2px 4px 4px rgba(0,0,0,.2));
}

.status-card.closed .chicken {
  filter: drop-shadow(2px 4px 4px rgba(0,0,0,.2)) grayscale(40%);
}

.status-label { font-size: 1.9rem; font-weight: bold; line-height: 1.2; }
.status-card.open   .status-label { color: #1e5c34; }
.status-card.closed .status-label { color: #6b4c30; }

.eggs { font-size: 2rem; margin-top: 12px; letter-spacing: 6px; }
.status-card.closed .eggs { opacity: .4; }

/* ── Panels (admin + contact) ── */
.admin-panel, .contact-panel {
  margin-top: 36px;
  width: 100%;
  background: #fff8f0;
  border: 1px solid #d4b896;
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
}

.admin-panel h2, .contact-panel h2 {
  font-size: 1.1rem;
  color: #7a4f2a;
  margin-bottom: 18px;
}

.admin-panel input[type=password],
.contact-panel input[type=text],
.contact-panel input[type=email],
.contact-panel input[type=tel],
.contact-panel textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid #c8a87a;
  border-radius: 8px;
  margin-bottom: 12px;
  background: #fff;
}

.contact-panel textarea { min-height: 120px; resize: vertical; }
.contact-panel label { display: block; text-align: left; font-size: .9rem; color: #7a4f2a; margin-bottom: 4px; }

/* honeypot: hidden from people, visible to bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn {
  display: inline-block;
  width: 100%;
  padding: 14px;
  font-size: 1.1rem;
  font-family: inherit;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity .2s;
}
.btn:hover { opacity: .88; }

.btn-login  { background: #4a2c0a; color: #f5d98b; }
.btn-send   { background: #2e7d46; color: #fff; }
.btn-open   { background: #2e7d46; color: #fff; margin-bottom: 10px; }
.btn-close  { background: #b05c2a; color: #fff; margin-bottom: 10px; }
.btn-logout { background: #888; color: #fff; font-size: .9rem; padding: 10px; }

.admin-status {
  font-size: 1rem;
  margin-bottom: 16px;
  padding: 10px;
  border-radius: 8px;
  background: #f0e8dc;
}

.notice { color: #2e7d46; font-weight: bold; margin-bottom: 12px; }
.error  { color: #b05c2a; font-weight: bold; margin-bottom: 12px; }

footer { padding: 16px; font-size: .85rem; color: #9a7a5a; }

@media (max-width: 400px) {
  .chicken { font-size: 72px; }
  .status-label { font-size: 1.5rem; }
}

/* ── Request form ── */
.contact-panel { text-align: left; }
.contact-panel h2 { font-size: 1.4rem; color: #3b2a1a; margin-bottom: 8px; }
.contact-panel .sub { font-size: .9rem; color: #7a6a5a; margin-bottom: 16px; }
.contact-panel .q { font-size: .9rem; color: #7a4f2a; margin: 4px 0 8px; }
.contact-panel .hint { font-size: .8rem; color: #8a7a6a; margin: -6px 0 14px; }
.contact-panel .hint.center { text-align: center; margin: 12px 0 0; }
.choices { margin-bottom: 12px; }
.choices.inline { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.choice { display: flex !important; align-items: center; gap: 8px; font-size: 1rem !important; color: #3b2a1a !important; padding: 6px 0; cursor: pointer; margin: 0 !important; }
.choice input { width: 18px; height: 18px; accent-color: #4a2c0a; }
