/* Kaja Kuckó – admin és belépés */
.admin-body, .login-body {
  background: #f3ecdf;
  min-height: 100vh;
}
.admin-body { overflow-x: hidden; }

/* ---------- Belépés ---------- */
.login-body { display: grid; min-height: 100vh; }
.login-split { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 100vh; }
.login-brand {
  position: relative; overflow: hidden;
  background:
    radial-gradient(700px 500px at 80% 10%, rgba(224, 168, 62, .28), transparent 65%),
    radial-gradient(600px 450px at 10% 90%, rgba(47, 93, 58, .35), transparent 70%),
    var(--ink);
  color: var(--cream); padding: 54px;
  display: flex; align-items: center;
}
.login-brand::after {
  content: ""; position: absolute; right: -100px; bottom: -140px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f3c566, var(--gold) 55%, transparent 72%);
  opacity: .5;
}
.login-brand-inner { position: relative; z-index: 2; max-width: 540px; margin: 0 auto; width: 100%; }
.login-logo img { width: 230px; margin-bottom: 60px; }
.login-brand-copy .eyebrow { color: var(--gold); }
.login-brand-copy h1 { font-size: clamp(40px, 4.5vw, 62px); color: var(--white); }
.login-brand-copy h1 em { color: var(--gold); }
.login-brand-copy > p:last-child { color: rgba(247, 240, 227, .72); max-width: 440px; margin-top: 20px; }
.login-features { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 12px; }
.login-features li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: rgba(247, 240, 227, .8); }
.login-features span { display: grid; place-items: center; width: 38px; height: 38px; background: rgba(247, 240, 227, .08); border-radius: 50%; }
.login-brand-foot { margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(247, 240, 227, .15); color: rgba(247, 240, 227, .45); font-size: 12.5px; }
.login-panel { display: grid; place-items: center; padding: 40px 24px; }
.login-card { width: min(420px, 100%); background: var(--white); border: 1px solid var(--line); border-radius: 26px; padding: 38px; box-shadow: var(--shadow-md); }
.login-card h2 { font-size: 36px; margin-bottom: 8px; }
.login-lead { color: var(--ink-muted); font-size: 14px; margin-bottom: 22px; }
.login-form .field { margin-bottom: 16px; }
.login-form .button { margin-top: 4px; }
.login-help { margin: 18px 0 0; font-size: 12px; color: var(--ink-muted); }
.login-back { display: inline-block; margin-top: 20px; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.login-back:hover { color: var(--ink); }

/* ---------- Admin váz ---------- */
.admin-sidebar {
  position: fixed; inset: 0 auto 0 0; z-index: 80;
  width: 258px; background: var(--ink); color: var(--cream);
  padding: 26px 18px; display: flex; flex-direction: column;
  overflow-y: auto;
}
.admin-brand { padding: 0 10px 26px; border-bottom: 1px solid rgba(247, 240, 227, .12); }
.admin-brand img { width: 170px; margin-bottom: 10px; }
.admin-tag { display: inline-block; background: var(--gold); color: var(--ink); border-radius: 999px; padding: 3px 10px; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.admin-nav { display: grid; gap: 4px; margin-top: 24px; }
.admin-nav-item {
  display: flex; align-items: center; gap: 11px; width: 100%;
  background: transparent; border: 0; border-left: 3px solid transparent;
  color: rgba(247, 240, 227, .7); text-align: left;
  padding: 11px 12px; border-radius: 8px; font-size: 13.5px; font-weight: 700;
  transition: background .18s, color .18s, border-color .18s;
}
.admin-nav-item span:first-child { width: 20px; text-align: center; font-size: 15px; }
.admin-nav-item:hover { background: rgba(247, 240, 227, .07); color: var(--white); }
.admin-nav-item.active { background: rgba(224, 168, 62, .14); border-left-color: var(--gold); color: var(--gold); }
.nav-badge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--paprika); color: white; font-size: 11px; display: grid; place-items: center; }
.admin-sidebar-foot { margin-top: auto; padding: 24px 10px 0; border-top: 1px solid rgba(247, 240, 227, .12); display: grid; gap: 12px; font-size: 12.5px; }
.admin-sidebar-foot a { color: rgba(247, 240, 227, .6); }
.admin-sidebar-foot a:hover { color: var(--gold); }
.logout-button { background: none; border: 0; padding: 0; color: rgba(247, 240, 227, .6); font-size: 12.5px; text-align: left; }
.logout-button:hover { color: var(--gold); }

.admin-main { margin-left: 258px; min-height: 100vh; }
.admin-topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 18px;
  background: rgba(243, 236, 223, .92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); padding: 18px 34px;
}
.admin-title { flex: 1; }
.admin-title .eyebrow { margin-bottom: 2px; }
.admin-title h1 { font-size: 32px; }
.admin-topbar-right { display: flex; align-items: center; gap: 14px; }
.admin-user { font-size: 12.5px; color: var(--ink-muted); }
.admin-menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: 10px; background: transparent; font-size: 19px; }
.admin-content { padding: 28px 34px 60px; max-width: 1400px; }
.admin-view { animation: adminFade .18s ease; }
@keyframes adminFade { from { opacity: .4; transform: translateY(4px); } }
.button-small { min-height: 38px; padding: 8px 15px; font-size: 12.5px; }
.button-danger { background: transparent; border-color: rgba(192, 57, 43, .4); color: var(--paprika); }
.button-danger:hover { background: var(--paprika); color: white; border-color: var(--paprika); }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow-sm); }
.panel + .panel { margin-top: 18px; }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.panel-head h2 { font-size: 27px; }
.panel-head .eyebrow { margin-bottom: 3px; }
.panel-lead { color: var(--ink-muted); font-size: 13.5px; margin-bottom: 18px; }
.skeleton-block { height: 80px; border-radius: 12px; background: linear-gradient(90deg, #f0e8da, #faf5ec, #f0e8da); background-size: 200% 100%; animation: adminShimmer 1.2s infinite; }
@keyframes adminShimmer { to { background-position: -200% 0; } }

/* ---------- Áttekintés ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.stat-card { position: relative; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow-sm); }
.stat-card::after { content: ""; position: absolute; right: -18px; top: -18px; width: 70px; height: 70px; border-radius: 50%; background: var(--gold); opacity: .12; }
.stat-label { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-muted); }
.stat-value { display: block; font-family: var(--display); font-size: 32px; font-weight: 700; line-height: 1.2; margin-top: 4px; }
.stat-sub { display: block; font-size: 11.5px; color: var(--ink-muted); margin-top: 3px; }
.stat-card.warn .stat-value { color: var(--paprika); }
.stat-card.good .stat-value { color: var(--green); }
.dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.dash-list { display: grid; gap: 8px; }
.dash-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.dash-row:last-child { border-bottom: 0; }
.dash-row strong { display: block; font-size: 14px; }
.dash-row small { color: var(--ink-muted); font-size: 11.5px; }
.dash-row .price { font-weight: 800; white-space: nowrap; }
.dash-empty { color: var(--ink-muted); font-size: 13px; padding: 14px 0; }
.quick-panel { margin-top: 18px; }
.quick-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.quick-action {
  display: flex; flex-direction: column; align-items: flex-start; gap: 5px;
  background: var(--cream); border: 1px solid transparent; border-radius: 14px;
  padding: 16px; text-align: left; transition: .2s;
}
.quick-action:hover { background: var(--white); border-color: var(--line-strong); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.quick-action span { font-size: 22px; }
.quick-action strong { font-size: 13.5px; }
.quick-action small { font-size: 11.5px; color: var(--ink-muted); }

/* ---------- Napi menü ---------- */
.daily-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.date-nav { display: flex; align-items: flex-end; gap: 8px; flex-wrap: wrap; }
.date-field { display: grid; gap: 4px; font-size: 11px; font-weight: 800; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .08em; }
.date-field input { border: 1px solid var(--line-strong); border-radius: 9px; padding: 9px 11px; background: var(--white); font-size: 13.5px; }
.toolbar-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.week-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; margin: 18px 0 22px; }
.week-strip-day { background: var(--cream); border: 1px solid transparent; border-radius: 10px; padding: 9px 5px; text-align: center; transition: .2s; }
.week-strip-day:hover { background: var(--white); border-color: var(--line-strong); }
.week-strip-day.active { background: var(--ink); color: var(--cream); }
.week-strip-day strong { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; opacity: .65; }
.week-strip-day span { display: block; font-family: var(--display); font-size: 20px; font-weight: 700; line-height: 1.2; }
.week-strip-day small { display: block; font-size: 9.5px; opacity: .6; }
.week-strip-day.draft small { color: var(--gold-deep); opacity: 1; font-weight: 700; }
.editor-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 18px; flex-wrap: wrap; }
.editor-head h2 { font-size: 30px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.editor-label-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 22px 0 10px; }
.editor-label-row h3 { font-family: var(--sans); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.daily-items-editor { display: grid; gap: 8px; }
.daily-item-row {
  display: grid; grid-template-columns: 1.25fr 1.45fr 92px 110px auto auto;
  gap: 8px; align-items: center;
  background: var(--cream); border: 1px solid transparent; border-radius: 12px; padding: 10px;
}
.daily-item-row:focus-within { border-color: var(--gold); background: var(--white); }
.daily-item-row input[type="text"], .daily-item-row input[type="number"] {
  width: 100%; border: 1px solid var(--line-strong); border-radius: 8px; padding: 8px 10px; background: var(--white); font-size: 12.5px; outline: none;
}
.daily-item-row input:focus { border-color: var(--gold-deep); box-shadow: 0 0 0 2px rgba(224, 168, 62, .18); }
.daily-item-row .mini-switch { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.daily-item-row .remove-row { width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(192, 57, 43, .1); color: var(--paprika); font-size: 17px; line-height: 1; }
.daily-item-row .remove-row:hover { background: var(--paprika); color: white; }
.daily-empty { text-align: center; padding: 26px; color: var(--ink-muted); border: 1px dashed var(--line-strong); border-radius: 12px; font-size: 13px; }
.editor-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.save-status { font-size: 12.5px; color: var(--green); font-weight: 700; }
.save-status.error { color: var(--paprika); }
.switch { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.switch input { appearance: none; width: 38px; height: 22px; border-radius: 999px; background: #d8cdbb; position: relative; transition: background .2s; flex: none; cursor: pointer; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: white; transition: transform .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.switch input:checked { background: var(--green); }
.switch input:checked::after { transform: translateX(16px); }
.switch-block { margin: 8px 0 18px; padding: 12px 14px; background: var(--cream); border-radius: 10px; }
.switch-row { display: flex; gap: 24px; flex-wrap: wrap; margin: 8px 0 4px; }

/* ---------- Táblázat ---------- */
.list-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.toolbar-left { display: flex; gap: 10px; flex-wrap: wrap; flex: 1; }
.toolbar-left input[type="search"], .toolbar-left select, .toolbar-left input[type="date"] {
  border: 1px solid var(--line-strong); border-radius: 9px; background: var(--white); padding: 9px 12px; font-size: 13px; min-height: 40px;
}
.toolbar-left input[type="search"] { min-width: 240px; flex: 1; max-width: 360px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 13px; }
.admin-table th { text-align: left; font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-muted); padding: 11px 14px; background: var(--cream); border-bottom: 1px solid var(--line); }
.admin-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tr:hover td { background: #fdf9f2; }
.item-name-cell strong { display: block; font-size: 13.5px; }
.item-name-cell small { display: block; color: var(--ink-muted); font-size: 11.5px; max-width: 340px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item-price { font-weight: 800; white-space: nowrap; }
.row-actions { display: flex; gap: 6px; justify-content: flex-end; }
.row-action { border: 1px solid var(--line-strong); background: transparent; border-radius: 8px; padding: 5px 9px; font-size: 11.5px; font-weight: 700; }
.row-action:hover { background: var(--cream); }
.row-action.danger { color: var(--paprika); border-color: rgba(192, 57, 43, .3); }
.row-action.danger:hover { background: var(--paprika); color: white; }
.table-empty { text-align: center; color: var(--ink-muted); padding: 30px; font-size: 13px; }
.badge-soft { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--cream-deep); font-size: 11px; font-weight: 700; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 5px; background: var(--green); }
.status-dot.off { background: #b8ad9c; }
.status-dot.sold { background: var(--paprika); }

/* ---------- Jegyzetek ---------- */
.notes-admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.note-admin-card { background: var(--cream); border: 1px solid transparent; border-left: 4px solid var(--gold); border-radius: 12px; padding: 18px; }
.note-admin-card.announcement { border-left-color: var(--green); }
.note-admin-card.inactive { opacity: .58; }
.note-admin-card h3 { font-size: 19px; margin-bottom: 5px; }
.note-admin-card p { color: var(--ink-muted); font-size: 12.5px; margin-bottom: 10px; }
.note-meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: 10.5px; color: var(--ink-muted); margin-bottom: 10px; }
.note-meta span { background: var(--white); border-radius: 999px; padding: 2px 8px; }
.note-card-actions { display: flex; gap: 6px; flex-wrap: wrap; }

/* ---------- Rendelések ---------- */
.orders-admin-list { display: grid; gap: 12px; }
.order-admin-card { border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: var(--white); }
.order-admin-card.status-new { border-left: 4px solid var(--paprika); }
.order-admin-card.status-confirmed { border-left: 4px solid var(--gold); }
.order-admin-card.status-done { border-left: 4px solid var(--green); }
.order-admin-card.status-cancelled { opacity: .6; border-left: 4px solid #b8ad9c; }
.order-admin-head { display: flex; justify-content: space-between; gap: 15px; flex-wrap: wrap; margin-bottom: 8px; }
.order-admin-head h3 { font-size: 22px; }
.order-admin-head .order-time { font-size: 11.5px; color: var(--ink-muted); }
.order-status-badge { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; background: var(--cream-deep); }
.order-status-badge.new { background: #f9e2de; color: var(--paprika); }
.order-status-badge.confirmed { background: #f7e9c8; color: var(--gold-deep); }
.order-status-badge.done { background: var(--green-soft); color: var(--green); }
.order-status-badge.cancelled { background: #e9e4db; color: var(--ink-muted); }
.order-customer { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--ink-soft); margin-bottom: 6px; }
.order-customer a { font-weight: 700; text-decoration: underline; }
.order-address { font-size: 12.5px; color: var(--ink-muted); margin-bottom: 10px; }
.order-items { list-style: none; padding: 10px 0; margin: 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); display: grid; gap: 5px; font-size: 12.5px; }
.order-items li { display: flex; justify-content: space-between; gap: 16px; }
.order-note { margin-top: 10px; padding: 8px 10px; background: #fbf4e5; border-radius: 8px; font-size: 12px; color: var(--ink-soft); }
.order-admin-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.order-total { font-size: 19px; font-weight: 800; }
.order-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.order-actions select { border: 1px solid var(--line-strong); border-radius: 8px; padding: 7px 9px; font-size: 12px; background: var(--white); }
.orders-empty { text-align: center; color: var(--ink-muted); padding: 40px; font-size: 13px; }

/* ---------- Import ---------- */
.import-grid { display: grid; grid-template-columns: 1.5fr .8fr; gap: 18px; align-items: start; }
.import-help h3 { font-family: var(--sans); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
.import-help ol { padding-left: 20px; margin: 0 0 14px; color: var(--ink-soft); font-size: 13px; display: grid; gap: 6px; }
.hint-box { background: var(--cream); border-radius: 10px; padding: 12px 14px; font-size: 12px; color: var(--ink-muted); }
.radio-row { border: 0; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.radio-row legend { font-size: 12px; font-weight: 800; margin-bottom: 4px; }
.radio-row label { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.import-result { margin-top: 16px; padding: 14px; border-radius: 10px; background: var(--green-soft); color: var(--green); font-size: 13px; }
.import-result.error { background: #f9e2de; color: var(--paprika); }
.import-result ul { margin: 6px 0 0; padding-left: 18px; }
#import-text { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; }

/* ---------- Beállítások ---------- */
.settings-grid { display: grid; grid-template-columns: 1.35fr .85fr; gap: 18px; align-items: start; }
.danger-zone { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.danger-zone h3 { font-family: var(--sans); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 6px; }
.danger-zone p { font-size: 12.5px; color: var(--ink-muted); margin-bottom: 12px; }

/* ---------- Dialógusok ---------- */
.admin-dialog { border: 0; padding: 0; background: transparent; max-width: min(620px, calc(100% - 24px)); width: 100%; max-height: calc(100vh - 30px); }
.admin-dialog::backdrop { background: rgba(20, 18, 16, .5); backdrop-filter: blur(3px); }
.dialog-card { background: var(--white); border-radius: 22px; padding: 26px; box-shadow: var(--shadow-lg); max-height: calc(100vh - 30px); overflow-y: auto; }
.dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.dialog-head h2 { font-size: 28px; }
.dialog-head .eyebrow { margin-bottom: 2px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }
.category-admin-list { display: grid; gap: 7px; margin-bottom: 16px; }
.category-admin-row { display: grid; grid-template-columns: 1fr 70px auto auto; gap: 8px; align-items: center; background: var(--cream); border-radius: 9px; padding: 8px; }
.category-admin-row input[type="text"], .category-admin-row input[type="number"] { border: 1px solid var(--line-strong); border-radius: 7px; padding: 7px 8px; background: var(--white); font-size: 12.5px; }
.inline-form { display: flex; gap: 8px; }
.inline-form input { flex: 1; border: 1px solid var(--line-strong); border-radius: 8px; padding: 9px 11px; background: var(--white); font-size: 13px; }

/* ---------- Toast ---------- */
.admin-toast { z-index: 400; }
.toast.error { background: var(--paprika); color: white; }

/* ---------- Reszponzív ---------- */
@media (max-width: 1180px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-actions { grid-template-columns: repeat(2, 1fr); }
  .import-grid, .settings-grid { grid-template-columns: 1fr; }
  .daily-item-row { grid-template-columns: 1.2fr 1.4fr 80px 100px auto; }
  .daily-item-row .remove-row { grid-column: 5; }
}
@media (max-width: 900px) {
  .login-split { grid-template-columns: 1fr; }
  .login-brand { min-height: 340px; padding: 36px 24px; }
  .login-logo img { width: 190px; margin-bottom: 26px; }
  .login-brand-copy h1 { font-size: 38px; }
  .login-features { display: none; }
  .login-brand-foot { margin-top: 24px; }
  .login-panel { padding: 28px 18px 40px; }
  .admin-sidebar { transform: translateX(-105%); transition: transform .25s; width: 270px; }
  .admin-sidebar.open { transform: translateX(0); box-shadow: var(--shadow-lg); }
  .admin-main { margin-left: 0; }
  .admin-menu-toggle { display: grid; place-items: center; }
  .admin-topbar { padding: 14px 18px; }
  .admin-content { padding: 18px 18px 50px; }
  .admin-topbar-right .admin-user { display: none; }
  .admin-site-link { display: none; }
  .dashboard-grid { grid-template-columns: 1fr; }
}

/* ---------- Heti menü import (kép alapján) ---------- */
.weekly-import-panel { margin-top: 18px; }
.weekly-import-layout { display: grid; grid-template-columns: minmax(280px, 420px) 1fr; gap: 22px; align-items: start; }
.weekly-import-side { display: grid; gap: 14px; }
.image-drop-zone {
  border: 2px dashed var(--line-strong); border-radius: 16px; padding: 24px 18px;
  text-align: center; background: #faf6ee; cursor: pointer; outline: none;
  display: grid; gap: 6px; justify-items: center; transition: border-color .18s, background .18s, box-shadow .18s;
}
.image-drop-zone:hover, .image-drop-zone:focus, .image-drop-zone.dragover {
  border-color: var(--gold); background: #fff8e8; box-shadow: 0 0 0 3px rgba(224,168,62,.18);
}
.drop-zone-icon { font-size: 28px; line-height: 1; }
.image-drop-zone strong { font-size: 14px; color: var(--ink); }
.image-drop-zone small { font-size: 12px; color: var(--ink-muted); }
.weekly-file-input { margin-top: 8px; font-size: 12.5px; }
.weekly-image-preview-wrap { display: grid; gap: 10px; }
.weekly-image-preview-wrap[hidden] { display: none; }
.weekly-image-preview {
  width: 100%; max-height: 520px; object-fit: contain; background: #fff;
  border: 1px solid var(--line); border-radius: 14px;
}
.weekly-form-toolbar { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: end; margin-bottom: 14px; }
.weekly-days-editor { display: grid; gap: 14px; }
.weekly-day-card { border: 1px solid var(--line); border-radius: 16px; padding: 16px; background: #fcfaf5; }
.weekly-day-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.weekly-day-head strong { font-size: 18px; font-family: var(--display); }
.weekly-day-head span { font-size: 12.5px; color: var(--ink-muted); font-weight: 700; }
.weekly-day-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
.weekly-field span { font-size: 11.5px; font-weight: 700; color: var(--ink-soft); margin-bottom: 4px; display: block; }
.weekly-field input { width: 100%; }
.weekly-field-price { max-width: 220px; }


.ocr-status { margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--ink-soft); min-height: 20px; }
.ocr-status.busy { color: var(--ink-muted); }
.ocr-status.error { color: var(--paprika); }
.ocr-raw-details { margin-top: 10px; }
.ocr-raw-details summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.ocr-raw { margin-top: 8px; max-height: 260px; overflow: auto; background: #f7f2e8; border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-size: 12px; line-height: 1.45; white-space: pre-wrap; }

@media (max-width: 720px) {
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-value { font-size: 27px; }
  .quick-actions { grid-template-columns: 1fr; }
  .week-strip { grid-template-columns: repeat(4, 1fr); }
  .week-strip-day:nth-child(n+5) { display: none; }
  .week-strip-day.active { display: block !important; }
  .daily-toolbar { align-items: stretch; }
  .toolbar-actions { width: 100%; }
  .toolbar-actions .button { flex: 1; }
  .weekly-import-layout { grid-template-columns: 1fr; }
  .weekly-day-grid { grid-template-columns: 1fr; }
  .daily-item-row { grid-template-columns: 1fr 1fr; padding: 12px; }
  .daily-item-row input[type="text"]:first-child { grid-column: 1 / -1; }
  .daily-item-row .remove-row { grid-column: auto; align-self: end; justify-self: end; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .list-toolbar { align-items: stretch; }
  .toolbar-left { flex-direction: column; }
  .toolbar-left input[type="search"] { max-width: none; }
  .editor-actions .button { flex: 1; }
  .admin-title h1 { font-size: 25px; }
  .panel { padding: 18px; }
  .panel-head { flex-direction: column; gap: 8px; }
  .order-admin-head h3 { font-size: 19px; }
  .category-admin-row { grid-template-columns: 1fr 60px auto; }
  .category-admin-row .row-action { grid-column: 3; }
  .inline-form { flex-direction: column; }
}
@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr; }
  .week-strip { grid-template-columns: repeat(3, 1fr); }
  .week-strip-day:nth-child(n+4) { display: none; }
  .daily-item-row { grid-template-columns: 1fr; }
  .daily-item-row input[type="text"]:first-child { grid-column: auto; }
  .login-card { padding: 26px 20px; }
  .login-brand-copy h1 { font-size: 32px; }
  .admin-topbar { gap: 10px; }
  .admin-title .eyebrow { display: none; }
}

/* Pontgyűjtő app – értesítések */
.push-stats { display: flex; gap: 28px; flex-wrap: wrap; margin: 6px 0 14px; }
.push-stats > div { display: flex; flex-direction: column; gap: 4px; }
.push-stats strong:not(.stat-value) { font-size: 15px; }
.push-row { display: flex; align-items: center; gap: 14px 22px; flex-wrap: wrap; margin-top: 12px; }
.push-hour { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.push-hour select { min-height: 38px; border-radius: 10px; border: 1px solid var(--line); padding: 4px 10px; font: inherit; }
.push-help { margin: 12px 0 0; font-size: 13.5px; color: #6b6254; }
.push-status { font-size: 13.5px; font-weight: 600; }
.push-status.error { color: #b42318; }

/* Heti menü fényképről – feltűnő indító sáv a Napi / heti menü nézet tetején */
.photo-cta { display: flex; align-items: center; justify-content: space-between; gap: 14px 20px; flex-wrap: wrap; background: #fdecea; border: 2px solid #d7262e; border-radius: 18px; padding: 16px 20px; margin-bottom: 18px; }
.photo-cta > div { display: flex; flex-direction: column; gap: 4px; flex: 1 1 280px; }
.photo-cta strong { font-size: 18px; }
.photo-cta span { font-size: 14px; color: #5d5446; }
.photo-cta .button { background: #d7262e; border-color: #d7262e; color: #fff; min-height: 48px; padding: 12px 22px; font-size: 15px; font-weight: 800; }

.demo-banner { background: #fff4c2; border-bottom: 2px solid #e8c76a; color: #4a3b00; padding: 10px 18px; font-size: 14px; font-weight: 700; }
