.adnp-manager-bar { margin: 0 0 16px; padding: 10px 14px; background: #fff8e5; border: 1px solid #f0d58a; border-radius: 8px; font-size: 14px; }
.adnp-booking { --adnp-blue: #2c6ecb; --adnp-line: #dfe3ea; max-width: 980px; margin: 0 auto; font-size: 15px; }
.adnp-booking *, .adnp-booking *::before { box-sizing: border-box; }
.adnp-step { background: #fff; border: 1px solid var(--adnp-line); border-radius: 12px; padding: 20px; margin-bottom: 18px; }
.adnp-step h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 20px; }
.adnp-step h3 span { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 50%; background: var(--adnp-blue); color: #fff; font-size: 15px; }
.adnp-hint { color: #5b6475; margin: 0 0 14px; }

.adnp-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.adnp-slot-card { position: relative; display: block; padding: 14px; border: 2px solid var(--adnp-line); border-radius: 10px; cursor: pointer; transition: border-color .15s, background .15s; }
.adnp-slot-card:hover { border-color: #9fb9e3; }
.adnp-slot-card.is-selected { border-color: var(--adnp-blue); background: #f1f6fd; }
.adnp-slot-card input { position: absolute; top: 12px; left: 12px; width: 18px; height: 18px; }
.adnp-slot-name { font-weight: 700; font-size: 16px; padding-left: 26px; }
.adnp-slot-where { color: #5b6475; font-size: 13px; margin-top: 2px; }
.adnp-slot-desc { font-size: 13px; margin-top: 6px; }
.adnp-slot-price { margin-top: 10px; font-size: 18px; font-weight: 700; color: var(--adnp-blue); }
.adnp-slot-avail { font-size: 12px; color: #1a7f37; }

.adnp-item { border: 1px solid var(--adnp-line); border-radius: 10px; margin-bottom: 14px; overflow: hidden; }
.adnp-item-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: #f6f8fb; }
.adnp-remove { border: 0; background: none; font-size: 16px; cursor: pointer; color: #888; }
.adnp-item-body { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 14px; }
@media (max-width: 720px) { .adnp-item-body { grid-template-columns: 1fr; } }
.adnp-item-fields label, .adnp-grid label { display: block; margin-bottom: 10px; font-weight: 600; font-size: 14px; }
.adnp-booking input[type=text], .adnp-booking input[type=tel], .adnp-booking input[type=email], .adnp-booking input[type=url], .adnp-booking input[type=number], .adnp-booking input[type=date] { display: block; width: 100%; margin-top: 4px; padding: 9px 10px; border: 1px solid #c8ced8; border-radius: 6px; font-size: 15px; font-weight: 400; }
.adnp-src { display: flex; gap: 16px; margin-bottom: 8px; }
.adnp-src label { font-weight: 400; margin: 0; }
.adnp-src-file, .adnp-src-url { margin-bottom: 12px; }
.adnp-src-file small { display: block; color: #6b7280; margin-top: 4px; }
.adnp-row { display: flex; gap: 10px; }
.adnp-row label { flex: 1; }
.adnp-quote { padding: 8px 10px; border-radius: 6px; background: #f6f8fb; font-size: 14px; }
.adnp-quote.is-ok { background: #eaf7ee; color: #14532d; }
.adnp-quote.is-bad { background: #fdecec; color: #8a1c1c; }
.adnp-link-btn { border: 0; background: none; color: var(--adnp-blue); text-decoration: underline; cursor: pointer; padding: 0; font-size: 14px; }

.adnp-preview-label { font-size: 13px; color: #5b6475; margin-bottom: 6px; }
.adnp-preview { width: 100%; min-height: 90px; display: flex; align-items: center; justify-content: center; border: 2px dashed #c9ced6; border-radius: 8px; background: #fafbfc; color: #8a93a3; font-size: 13px; text-align: center; padding: 10px; }
.adnp-preview.has-img { border: 0; padding: 0; min-height: 0; background: none; }
.adnp-preview img { display: block; width: 100%; height: auto; border-radius: 6px; }
.adnp-dims { display: block; margin-top: 6px; color: #6b7280; font-size: 12px; }

.adnp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 720px) { .adnp-grid { grid-template-columns: 1fr; } }
.adnp-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0; }

.adnp-bill table { width: 100%; border-collapse: collapse; margin: 10px 0 14px; }
.adnp-bill th, .adnp-bill td { padding: 8px 10px; border-bottom: 1px solid var(--adnp-line); text-align: right; }
.adnp-bill thead th { background: #f6f8fb; font-size: 13px; }
.adnp-bill tfoot td { font-weight: 700; font-size: 17px; border-bottom: 0; }
.adnp-terms { display: flex; gap: 8px; align-items: center; font-weight: 600; }
.adnp-terms-text { font-size: 13px; color: #5b6475; margin: 4px 0 14px; white-space: pre-line; }
.adnp-error { margin: 10px 0; padding: 10px 12px; background: #fdecec; color: #8a1c1c; border-radius: 6px; }
.adnp-btn { display: inline-block; padding: 12px 28px; border: 0; border-radius: 8px; background: var(--adnp-blue); color: #fff; font-size: 17px; font-weight: 700; cursor: pointer; }
.adnp-btn:hover { background: #1f57a6; }
.adnp-btn:disabled { opacity: .6; cursor: default; }
.adnp-back { display: block; margin-top: 12px; border: 0; background: none; color: #5b6475; cursor: pointer; }

.adnp-pay-summary { margin-bottom: 12px; padding: 10px 12px; background: #f6f8fb; border-radius: 6px; }
#NedarimFrame { width: 100%; height: 420px; border: 0; display: block; margin-bottom: 12px; }
.adnp-frame-wait { padding: 20px; text-align: center; color: #5b6475; }
.adnp-pay-ok { text-align: center; padding: 20px; }
.adnp-pay-ok ul { list-style: none; padding: 0; }
.adnp-done { width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 50%; background: #1a7f37; color: #fff; font-size: 30px; line-height: 56px; }
.adnp-spinner { width: 26px; height: 26px; margin: 0 auto 10px; border: 3px solid #cfd8e6; border-top-color: var(--adnp-blue); border-radius: 50%; animation: adnpSpin 1s linear infinite; }
@keyframes adnpSpin { to { transform: rotate(360deg); } }

.adnp-scope { margin: 6px 0 12px; padding: 10px; border: 1px solid var(--adnp-line); border-radius: 8px; background: #fafbfc; }
.adnp-scope-title { font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.adnp-booking .adnp-scope label { display: block; font-weight: 400; margin: 4px 0; }
.adnp-pages { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 2px 10px; margin: 6px 0 0; padding: 8px; background: #fff; border-radius: 6px; max-height: 220px; overflow: auto; }
.adnp-booking .adnp-pages label { margin: 2px 0; font-size: 14px; }

.adnp-slot-size { font-size: 12px; color: #6b4e00; margin-top: 6px; }
.adnp-cal { margin-top: 10px; }
.adnp-cal table { width: 100%; border-collapse: collapse; font-size: 13px; }
.adnp-cal th, .adnp-cal td { padding: 4px 6px; border-bottom: 1px solid var(--adnp-line); text-align: center; }
.adnp-cal th { background: #f6f8fb; font-weight: 600; }
.adnp-cal td.ok { color: #14532d; background: #eaf7ee; }
.adnp-cal td.no { color: #8a1c1c; background: #fdecec; }

.adnp-pos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.adnp-booking .adnp-pos-card { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 0; padding: 10px 6px; border: 2px solid var(--adnp-line); border-radius: 8px; background: #fff; cursor: pointer; text-align: center; }
.adnp-pos-card:has(input:checked) { border-color: var(--adnp-blue); background: #f1f6fd; }
.adnp-pos-card input { position: absolute; opacity: 0; pointer-events: none; }
.adnp-pos-num { width: 28px; height: 28px; line-height: 28px; border-radius: 50%; background: var(--adnp-blue); color: #fff; font-weight: 700; }
.adnp-pos-card small { color: #5b6475; }
.adnp-booking .adnp-pos-card { position: relative; }

/* חלק 1: באילו עמודים להציג */
.adnp-where-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.adnp-booking .adnp-where-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 0; padding: 16px 12px; border: 2px solid var(--adnp-line); border-radius: 12px; background: #fff; cursor: pointer; text-align: center; transition: border-color .15s, background .15s, box-shadow .15s; }
.adnp-where-card:hover { border-color: #9fb9e3; }
.adnp-where-card.is-selected { border-color: var(--adnp-blue); background: #f1f6fd; box-shadow: 0 2px 10px rgba(44,110,203,.15); }
.adnp-where-card input { position: absolute; opacity: 0; pointer-events: none; }
.adnp-where-icon { font-size: 26px; line-height: 1; }
.adnp-where-title { font-weight: 700; font-size: 16px; }
.adnp-where-sub { font-size: 12px; color: #5b6475; min-height: 30px; }
.adnp-where-price { margin-top: 4px; font-size: 20px; font-weight: 700; color: var(--adnp-blue); }
.adnp-where-price small { font-size: 12px; font-weight: 400; color: #5b6475; }
.adnp-where-pages { margin-top: 14px; padding: 12px; border-radius: 10px; background: #f6f8fb; }
.adnp-where-pages-title { font-weight: 600; margin-bottom: 8px; font-size: 14px; }
.adnp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.adnp-booking .adnp-chip { position: relative; display: inline-block; margin: 0; cursor: pointer; }
.adnp-chip input { position: absolute; opacity: 0; pointer-events: none; }
.adnp-chip span { display: inline-block; padding: 7px 14px; border: 1.5px solid #c8ced8; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 500; }
.adnp-chip.is-selected span { border-color: var(--adnp-blue); background: var(--adnp-blue); color: #fff; }
.adnp-item-where { margin: 4px 0 12px; padding: 8px 10px; border-radius: 6px; background: #f6f8fb; font-size: 14px; }
.adnp-item-where small { color: #6b7280; }

/* בחירת ימים: רצופים / תאריכים בלוח */
.adnp-mode { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 6px 0 8px; font-size: 14px; }
.adnp-booking .adnp-mode label { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-weight: 500; cursor: pointer; }
.adnp-mode small { color: #6b7280; }
.adnp-dates-sum { margin: 0 0 8px; padding: 8px 10px; border-radius: 6px; background: #f1f6fd; font-size: 14px; line-height: 1.6; }
.adnp-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; direction: rtl; }
.adnp-cal-wd { text-align: center; font-size: 12px; font-weight: 600; color: #5b6475; padding: 2px 0; }
.adnp-booking .adnp-cal-day { display: flex; flex-direction: column; align-items: center; gap: 1px; margin: 0; padding: 5px 2px; border: 1.5px solid transparent; border-radius: 7px; font: inherit; font-size: 12px; line-height: 1.2; cursor: pointer; }
.adnp-cal-day b { font-size: 13px; }
.adnp-cal-day small { font-size: 10px; }
.adnp-cal-day.ok { background: #eaf7ee; color: #14532d; }
.adnp-cal-day.ok:hover { border-color: #22a05a; }
.adnp-cal-day.no { background: #fdecec; color: #8a1c1c; cursor: not-allowed; opacity: .8; }
.adnp-cal-day.sel { background: var(--adnp-blue); border-color: var(--adnp-blue); color: #fff; opacity: 1; }
.adnp-cal-day.sel.no { background: #b32d2e; border-color: #b32d2e; cursor: pointer; }
.adnp-cal-note { margin-bottom: 6px; font-size: 12px; color: #5b6475; }
.adnp-cal-legend { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12px; color: #5b6475; }
.adnp-cal-legend span { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-inline-start: 8px; }
.adnp-cal-legend .ok { background: #eaf7ee; border: 1px solid #22a05a; }
.adnp-cal-legend .no { background: #fdecec; border: 1px solid #c0392b; }
.adnp-cal-legend .sel { background: var(--adnp-blue); }
.adnp-booking [hidden] { display: none !important; }
