/* ===========================
   Zöld Sziget – Booking UI (no-footer mode)
   - Középre nyíló, fix overlay modal
   - Kéthasábos naptár grid (mobilon 1)
=========================== */

.zs-modal{
  position:fixed; inset:0;
  display:none; align-items:center; justify-content:center;
  padding:16px; background:rgba(0,0,0,.55);
  z-index:2147483000;
}
.zs-modal[aria-hidden="false"]{ display:flex; }
.zs-dialog{
  width:min(100%,980px);
  max-height:calc(100vh - 64px);
  background:#fff; border-radius:16px; box-shadow:0 8px 32px rgba(0,0,0,.25);
  display:flex; flex-direction:column; overflow:hidden; outline:none;
}

/* header + body */
.zs-header{
  position:sticky; top:0; z-index:2;
  background:#f6fbf7; border-bottom:1px solid #e6efe9;
  padding:12px 16px; display:flex; gap:12px; align-items:center; justify-content:space-between;
}
.zs-steps{ display:flex; gap:8px; }
.zs-steps .dot{ width:8px; height:8px; border-radius:50%; background:#cfdad3; }
.zs-steps .dot.active{ background:#31b76a; }
.zs-close-btn{ border:1px solid #dfe9e3; background:#fff; border-radius:10px; padding:6px 10px; cursor:pointer; }

.zs-body{ padding:20px; overflow:auto; }
.step{ display:none; } .step.active{ display:block; }

/* topbar */
.zs-topbar{ display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; gap:12px; }
.zs-title{ font-weight:700; color:#1a4528; font-size:18px; }
.zs-nav{ display:flex; gap:8px; }
.zs-btn{
  border:1px solid #dfe9e3; background:#fff; color:#1a4528;
  border-radius:10px; padding:8px 12px; cursor:pointer;
}
.zs-btn.primary{ background:#31b76a; border-color:#31b76a; color:#fff; }
.zs-btn:disabled{ opacity:.5; cursor:not-allowed; }

/* calendar */
.zs-cal{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media (max-width:820px){ .zs-cal{ grid-template-columns:1fr; } }
.zs-month{ border:1px solid #e6efe9; border-radius:12px; padding:12px; }
.zs-cal-head{ display:flex; align-items:center; justify-content:center; margin-bottom:8px; }
.zs-month-title{ font-weight:700; color:#1a4528; }

.zs-weekhead{ display:grid; grid-template-columns:repeat(7,1fr); gap:6px; margin-bottom:6px; }
.zs-weekhead div{ text-align:center; font-size:12px; color:#6b7d71; font-weight:600; }
.zs-days{ display:grid; grid-template-columns:repeat(7,1fr); gap:6px; align-content:start; }

.day{
  display:flex; align-items:center; justify-content:center;
  height:36px; border-radius:8px; user-select:none; font-size:14px;
}
.day.mute{ background:transparent; background-size: 100% 100%;}
.day.free{ background:#eaf7ee; color:#0b5; cursor:pointer; background-size: 100% 100%; }
.day.free:hover{ background:#def3e7; background-size: 100% 100%;}
/* Teljesen foglalt nap – piros */
.day.booked-full {
  background: #ffe5e5;
  color: #b44a4a;
  box-shadow: 0 0 0 1px #f3b3b3;
  cursor: not-allowed;
  background-size: 100% 100%;
}

/* Érkezés napja – bal alsó háromszög piros */
.day.booked-start {
  background:
    linear-gradient(to top left,
      #ffe5e5 0, #ffe5e5 50%,
      #ffffff 50%, #ffffff 100%);
      
  color: #b44a4a;
  box-shadow: 0 0 0 1px #f3b3b3;
  background-size: 100% 100%;
  cursor: pointer; /* ← FONTOS */
}

/* Távozás napja – jobb felső háromszög piros */
.day.booked-end {
  background:
    linear-gradient(to top right,
      #ffe5e5 0, #ffe5e5 50%,
      #ffffff 50%, #ffffff 100%);
  color: #b44a4a;
  box-shadow: 0 0 0 1px #f3b3b3;
  background-size: 100% 100%;
  cursor: pointer; /* ← FONTOS */
  /* szándékosan NEM not-allowed, mert innen indulhat új foglalás */
}

/* A sima .day.past most már nem kell külön,
   ha még van ilyen szabályod, nyugodtan törölheted */



/* chips + guests */
.zs-row{ display:flex; gap:12px; align-items:center; flex-wrap:wrap; margin-top:12px; }
.zs-chipbar{ display:flex; gap:8px; flex-wrap:wrap; }
.chip{
  border:1px solid #dfe9e3; background:#f8fbf9; border-radius:999px;
  padding:6px 10px; cursor:pointer; font-size:13px;
}
.chip:hover{ background:#eef6f1; }

.zs-field{
  display:flex; align-items:center; gap:8px;
  border:1px solid #dfe9e3; padding:6px 10px; border-radius:10px; background:#fff;
}
.zs-field input{ width:60px; border:0; outline:0; background:transparent; text-align:center; font-size:14px; }

/* footer row */
.zs-footer{ display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:16px; }
.zs-total{ font-weight:700; color:#1a4528; }
.msg{ margin-top:8px; font-size:14px; }
.msg.ok{ color:#1c7c46; } .msg.error{ color:#b3261e; }

/* step2 */
.zs-grid2{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media (max-width:720px){ .zs-grid2{ grid-template-columns:1fr; } }
.zs-card{ border:1px solid #e6efe9; border-radius:12px; padding:12px; }
.zs-list{ margin:0; padding:0; list-style:none; }
.zs-list li{ padding:6px 0; border-bottom:1px dashed #e8eee9; }
.zs-list li:last-child{ border-bottom:0; }
.zs-label{ color:#6b7d71; font-size:13px; }
.zs-input{ width:100%; border:1px solid #dfe9e3; border-radius:10px; padding:10px 12px; font-size:14px; }

/* body scroll tiltás nyitva */
html.zs-no-scroll, html.zs-no-scroll body{ overflow:hidden !important; }

.zs-summary-card {
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
  padding: 16px 18px;
  margin-bottom: 18px;
}

.zs-summary-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.zs-summary-room {
  font-weight: 600;
  font-size: 16px;
}

.zs-summary-dates {
  font-size: 13px;
  color: #5b6a64;
  text-align: right;
}

.zs-summary-body {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
  margin-bottom: 14px;
  font-size: 13px;
}

.zs-summary-label {
  color: #6f7f78;
  margin-bottom: 2px;
}

.zs-summary-value {
  font-weight: 500;
}

.zs-summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid #e4ebe7;
}

.zs-summary-total-label {
  font-weight: 600;
  font-size: 15px;
}

.zs-summary-total-sub {
  font-size: 11px;
  color: #7d8b85;
}

.zs-summary-total-amount {
  font-weight: 700;
  font-size: 18px;
}

.zs-payment-box {
  border-radius: 12px;
  background: #f7faf9;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.zs-payment-title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
}

.zs-radio {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  margin-bottom: 4px;
}

.zs-summary-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 4px;
}

.zs-summary-msg {
  margin-top: 10px;
  font-size: 13px;
}

.zs-summary-msg.error {
  color: #b3261e;
}

.zs-summary-msg.success {
  color: #047857;
}

/* kötelező mezők hibajelölése */
.zs-input.zs-error {
  border-color: #b3261e !important;
}
.zs-summary-box {
  padding: 20px;
  border-radius: 10px;
  background: #f9fbfa;
  border: 1px solid #e2ebe6;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.zs-sum-section h3 {
  font-size: 16px;
  margin-bottom: 6px;
  font-weight: 600;
  color: #2f4f3b;
}

.zs-sum-section p {
  margin: 2px 0;
  color: #3c5145;
}

.pay-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
}

.zs-total {
  border-top: 1px solid #d8e3de;
  padding-top: 10px;
}

