/* Locația anunțului pe hartă: formularele (.ll-picker) și pagina anunțului (.ll-view) */
.ll-picker { margin-top: 4px; }
.ll-title { font-size: .875rem; font-weight: 500; color: #374151; margin: 0 0 4px; }
.ll-title span { font-weight: 400; color: #6b7280; }
.ll-help { font-size: .875rem; color: #6b7280; margin: 0 0 10px; line-height: 1.5; }
.ll-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ll-search { display: flex; gap: 8px; }
.ll-search .form-input { flex: 1; min-width: 0; }
.ll-results { list-style: none; margin: 8px 0 0; padding: 4px; border: 1px solid #e5e7eb; border-radius: .5rem; background: #fff; max-height: 220px; overflow: auto; }
.ll-results button { display: block; width: 100%; text-align: left; padding: 8px 10px; border-radius: 6px; font-size: .875rem; color: #1f2937; background: none; border: 0; cursor: pointer; line-height: 1.4; }
.ll-results button:hover, .ll-results button:focus-visible { background: #eff6ff; outline: none; }
.ll-muted { padding: 8px 10px; font-size: .875rem; color: #6b7280; }
.ll-map { height: 340px; margin-top: 10px; border: 1px solid #d1d5db; border-radius: .75rem; overflow: hidden; background: #e5e7eb; z-index: 0; }
@media (min-width: 768px) { .ll-map { height: 400px; } }
.ll-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin-top: 8px; font-size: .875rem; color: #4b5563; }
.ll-clear { background: none; border: 0; padding: 0; color: #dc2626; font-size: .875rem; cursor: pointer; text-decoration: underline; }
.ll-privacy { border: 0; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.ll-privacy legend { font-size: .875rem; font-weight: 500; color: #374151; margin-bottom: 8px; padding: 0; }
.ll-choice { display: flex; gap: 10px; align-items: flex-start; border: 1px solid #e5e7eb; border-radius: .75rem; padding: 12px 14px; cursor: pointer; background: #fff; transition: border-color .15s, background-color .15s; }
.ll-choice:hover { border-color: #93c5fd; }
.ll-choice:has(input:checked) { border-color: #2563eb; background: #eff6ff; }
.ll-choice input { margin-top: 3px; accent-color: #2563eb; flex-shrink: 0; }
.ll-choice strong { display: block; font-size: .9rem; font-weight: 600; color: #111827; }
.ll-choice em { font-style: normal; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #047857; background: #d1fae5; border-radius: 999px; padding: 2px 8px; margin-left: 4px; white-space: nowrap; vertical-align: 1px; }
.ll-choice small { display: block; font-size: .82rem; color: #4b5563; margin-top: 2px; line-height: 1.45; }

/* comutatorul Satelit / Hartă */
.ll-switch { display: flex; background: #fff; overflow: hidden; }
.leaflet-bar.ll-switch button { border: 0; background: #fff; padding: 6px 10px; font-size: 12px; font-weight: 600; color: #374151; cursor: pointer; line-height: 1.2; }
.leaflet-bar.ll-switch button + button { border-left: 1px solid #d1d5db; }
.leaflet-bar.ll-switch button[aria-pressed="true"] { background: #2563eb; color: #fff; }

/* pinul (fără imaginile Leaflet) */
.ll-pin span { position: absolute; left: 3px; top: 0; width: 24px; height: 24px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #dc2626; border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .45); }
.ll-pin span::after { content: ''; position: absolute; left: 6px; top: 6px; width: 6px; height: 6px; border-radius: 50%; background: #fff; }

/* pagina anunțului */
.ll-view { height: 320px; border: 1px solid #e5e7eb; border-radius: .75rem; overflow: hidden; background: #e5e7eb; z-index: 0; }
@media (min-width: 768px) { .ll-view { height: 380px; } }
.ll-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; font-size: .9rem; color: #374151; line-height: 1.5; }
.ll-note svg { flex-shrink: 0; margin-top: 2px; color: #2563eb; }
.ll-call { margin-top: 10px; }

/* ---------- programarea vizionărilor (utils/viewings.js) ---------- */
.vz-small { font-size: .85rem; color: #6b7280; line-height: 1.5; }
.vz-btn { display: inline-flex; align-items: center; gap: 6px; }
.vz-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.vz-grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .vz-grid { grid-template-columns: 1fr 1fr; } }
.vz-field { display: block; }
.vz-field > span { display: block; font-size: .875rem; font-weight: 500; color: #374151; margin-bottom: 4px; }
.vz-field em { font-style: normal; font-weight: 400; color: #6b7280; }
.vz-flash { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; border-radius: .5rem; padding: 10px 14px; margin-bottom: 14px; font-size: .9rem; }
.vz-flash--err { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.vz-badge { display: inline-block; font-size: .75rem; font-weight: 700; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.vz-badge--noua { background: #fef3c7; color: #92400e; }
.vz-badge--confirmata { background: #d1fae5; color: #065f46; }
.vz-badge--refuzata, .vz-badge--anulata { background: #f3f4f6; color: #4b5563; }

/* formularul din anunț */
.vz-form { margin-top: 14px; border: 1px solid #dbeafe; background: #f8fbff; border-radius: .75rem; padding: 16px; display: grid; gap: 14px; }
.vz-form[hidden] { display: none; }
.vz-form__intro { margin: 0; font-size: .9rem; color: #374151; line-height: 1.5; }
.vz-slotsel { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.vz-slotsel legend { font-size: .875rem; font-weight: 500; color: #374151; margin-bottom: 6px; padding: 0; }
.vz-slotsel legend span { display: block; font-weight: 400; color: #6b7280; font-size: .82rem; }
.vz-slotrow { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vz-slotrow .form-input, .vz-slotrow .form-select { min-width: 0; }
.vz-err { margin: 0; color: #b91c1c; font-size: .9rem; }
.vz-submit { justify-self: start; display: inline-flex; align-items: center; gap: 6px; }
.vz-captcha:empty { display: none; }

/* pagina privată a cererii */
.vz-page { background: #f9fafb; padding: 32px 0 48px; }
.vz-wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }
.vz-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #2563eb; margin: 0 0 8px; }
.vz-h1 { font-size: 1.7rem; line-height: 1.25; font-weight: 800; color: #111827; margin: 0 0 8px; }
.vz-lead { font-size: 1.02rem; color: #374151; line-height: 1.6; margin: 0 0 18px; }
.vz-card { background: #fff; border: 1px solid #e5e7eb; border-radius: .9rem; padding: 18px; margin-bottom: 16px; }
.vz-h2 { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; font-weight: 700; color: #111827; margin: 0 0 10px; }
.vz-address { border-color: #93c5fd; box-shadow: 0 6px 20px rgba(37, 99, 235, .08); }
.vz-addr { font-size: 1.05rem; color: #111827; margin: 0 0 12px; }
.vz-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; color: #2563eb; font-weight: 600; }
.vz-note { background: #eff6ff; border-left: 4px solid #2563eb; border-radius: .5rem; padding: 10px 14px; margin-bottom: 16px; }
.vz-note span { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #1d4ed8; }
.vz-note p { margin: 4px 0 0; color: #1f2937; white-space: pre-line; }
.vz-dl { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 8px 14px; margin: 0; font-size: .92rem; }
.vz-dl dt { color: #6b7280; }
.vz-dl dd { margin: 0; color: #111827; overflow-wrap: anywhere; }
.vz-dl a { color: #2563eb; }
@media (max-width: 520px) { .vz-dl { grid-template-columns: 1fr; gap: 2px; } .vz-dl dd { margin-bottom: 8px; } }
.vz-slots { list-style: none; margin: 0; padding: 0; }
.vz-slots li.is-chosen { font-weight: 700; color: #065f46; }
.vz-slots em { font-style: normal; font-size: .75rem; background: #d1fae5; color: #065f46; border-radius: 999px; padding: 1px 8px; margin-left: 4px; }
.vz-pre { white-space: pre-line; }
.vz-cancel { margin-top: 14px; }
.vz-cancel button { background: none; border: 0; padding: 0; color: #dc2626; text-decoration: underline; cursor: pointer; font-size: .9rem; }
.vz-foot { margin-top: 8px; }

/* cererile primite, în „Contul meu” */
.vz-inbox { background: #fff; border: 1px solid #e5e7eb; border-radius: .75rem; padding: 18px; margin-bottom: 2rem; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); scroll-margin-top: 90px; }
.vz-inbox__head h2 { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 1.125rem; font-weight: 600; color: #111827; margin: 0; }
.vz-inbox__head p { font-size: .88rem; color: #6b7280; margin: 4px 0 14px; line-height: 1.5; }
.vz-count { font-size: .75rem; font-weight: 700; background: #dc2626; color: #fff; border-radius: 999px; padding: 2px 9px; }
.vz-empty { font-size: .9rem; color: #6b7280; margin: 0; }
.vz-req { border: 1px solid #e5e7eb; border-radius: .75rem; padding: 14px; margin-top: 12px; }
.vz-req.is-new { border-color: #fcd34d; background: #fffdf5; }
.vz-req.is-flash { box-shadow: 0 0 0 3px rgba(37, 99, 235, .25); }
.vz-req__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.vz-req__title { display: block; font-weight: 600; color: #111827; overflow-wrap: anywhere; }
.vz-req__title:hover { color: #2563eb; }
.vz-req__who { margin: 8px 0 0; font-size: .92rem; color: #374151; overflow-wrap: anywhere; }
.vz-req__who a { color: #2563eb; }
.vz-req__msg { margin: 8px 0 0; padding: 8px 10px; background: #f9fafb; border-radius: .5rem; font-size: .9rem; color: #374151; white-space: pre-line; overflow-wrap: anywhere; }
.vz-req__ok { display: flex; align-items: center; gap: 6px; margin: 10px 0; color: #065f46; font-size: .92rem; }
.vz-reply { margin-top: 12px; }
.vz-reply fieldset { border: 0; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; }
.vz-reply legend { font-size: .875rem; font-weight: 500; color: #374151; margin-bottom: 6px; padding: 0; }
.vz-opt { display: flex; align-items: center; gap: 8px; font-size: .92rem; color: #111827; border: 1px solid #e5e7eb; border-radius: .5rem; padding: 8px 10px; cursor: pointer; }
.vz-opt:has(input:checked) { border-color: #2563eb; background: #eff6ff; }
.vz-opt input { accent-color: #2563eb; }
.vz-opt.is-past { color: #9ca3af; cursor: not-allowed; }

/* ---------- „Ce e în jur” (utils/nearby.js) ---------- */
.nb-sub { font-size: .9rem; color: #6b7280; margin: 4px 0 14px; line-height: 1.5; }
.nb-pending { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; padding: 12px 14px; border-radius: .75rem; background: #f9fafb; border: 1px dashed #d1d5db; color: #4b5563; font-size: .9rem; }
.nb-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 640px) { .nb-grid { grid-template-columns: 1fr 1fr; } }
.nb-item { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid #e5e7eb; border-radius: .75rem; padding: 12px 14px; }
.nb-item.is-none { background: #f9fafb; }
.nb-icon { flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px; background: #eff6ff; color: #2563eb; display: flex; align-items: center; justify-content: center; }
.nb-item.is-none .nb-icon { background: #f3f4f6; color: #9ca3af; }
.nb-label { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #6b7280; }
.nb-name { display: block; font-weight: 600; color: #111827; margin-top: 2px; overflow-wrap: anywhere; }
.nb-name em { font-style: normal; font-weight: 400; font-size: .82rem; color: #6b7280; }
.nb-item.is-none .nb-name { font-weight: 400; color: #6b7280; font-size: .9rem; }
.nb-time { display: block; font-size: .88rem; color: #374151; margin-top: 2px; }
.nb-land { background: #fffbeb; border: 1px solid #fde68a; border-radius: .75rem; padding: 14px; margin-bottom: 12px; display: grid; gap: 10px; }
.nb-land__row { display: flex; gap: 10px; align-items: flex-start; }
.nb-land__row svg { flex-shrink: 0; color: #b45309; margin-top: 2px; }
.nb-land__row strong { display: block; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: #92400e; }
.nb-land__row span { display: block; color: #1f2937; margin-top: 2px; }
.nb-note { margin: 0; font-size: .82rem; color: #78350f; line-height: 1.5; }
.nb-note a { color: #b45309; text-decoration: underline; }
.nb-src { margin: 12px 0 0; font-size: .78rem; color: #9ca3af; line-height: 1.5; }
.nb-src a { color: #6b7280; text-decoration: underline; }
