/**
 * MiniMümin — Bayram Kartı katmanı (bayram-karti.js)
 * Kendi DOM'unu js/bayram-karti.js enjekte eder; burada yalnız stil.
 * Renkler proje paletinden: krem (#FFF9EC/#FFEFD0), yeşil (#0E9F6E/#0B7F58),
 * altın (#C9962E/#F4B93C). Dokunma hedefleri ≥48 px, reduced-motion'a saygılı.
 */

.bayram-overlay {
  position: fixed;
  inset: 0;
  z-index: 95;               /* funbreak (90) üstü, toast (9998) altı */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
  background: rgba(11, 61, 46, .55);
  -webkit-tap-highlight-color: transparent;
}

.bayram-panel {
  width: 100%;
  max-width: 560px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 14px 18px;
  border: 3px solid #C9962E;
  border-radius: 22px;
  background: linear-gradient(180deg, #FFF9EC, #FFEFD0);
  box-shadow: 0 18px 44px rgba(11, 61, 46, .35);
  animation: bayram-pop .22s ease-out;
}

@keyframes bayram-pop {
  from { transform: scale(.94); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.bayram-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.bayram-title {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  color: #0B7F58;
}

.bayram-close {
  min-width: 48px;
  min-height: 48px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: #F3E4C4;
  color: #8A6A1C;
  font-family: inherit;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  touch-action: manipulation;
}
.bayram-close:active { background: #EAD3A0; }

.bayram-canvas {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  background: #FFF9EC;
  box-shadow: inset 0 0 0 2px rgba(201, 150, 46, .35);
}

.bayram-greetings {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bayram-chip {
  min-height: 48px;
  padding: 0 14px;
  border: 2px solid #E3D2A8;
  border-radius: 999px;
  background: #FFFDF6;
  color: #6B5420;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  touch-action: manipulation;
}
.bayram-chip.active {
  background: #0E9F6E;
  border-color: #0B7F58;
  color: #fff;
}

.bayram-download {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, #16B37C, #0B7F58);
  color: #fff;
  font-family: inherit;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  touch-action: manipulation;
  box-shadow: 0 6px 0 #075E40;
}
.bayram-download:active {
  transform: translateY(3px);
  box-shadow: 0 3px 0 #075E40;
}

/* Ebeveyn kartındaki giriş butonu — mevcut "Etkinlik Sayfası" buton üslubu. */
#btn-bayram-karti {
  background: #FFF3D6;
  color: #8A6A1C;
}
#btn-bayram-karti:active { background: #FFE9B8; }

@media (prefers-reduced-motion: reduce) {
  .bayram-panel { animation: none; }
  .bayram-download:active { transform: none; }
}
