/* #10190: iskalnik First minute (zavihek First minute, 1nadan) - obrazec v rumenem panelu poenotenega iskalnika (#fmForm) in zadetki v
   #usGrid (.fm-results). Kartice so kartice portala (.offer_preview), tu so samo dodatni bloki. Barve in pisave kot unified-search.css.
   Dino 15. 11. 2026: zadetki 3 v vrsti kot vse kartice portala (prej 2 po 385 px), termin v koledarju v panelu kot na Potovanjih
   (#offer-search-calendar v unified-search.css), izbire starosti otrok ozke v eni vrstici. */

/* ---- obrazec ------------------------------------------------------------ */
.fm-form { display: grid; gap: 10px; margin: 0; }
.fm-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 12px; }
.fm-field { display: grid; gap: 3px; min-width: 0; margin: 0; }
.fm-flabel { font-family: 'Roboto Condensed', sans-serif; font-size: 11.5px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; color: #4a4128; }
.fm-field select {
  height: 34px; box-sizing: border-box; border: 1px solid #c9b980; border-radius: 4px; background: #FFFFFF; color: #222222;
  font-family: 'Roboto', sans-serif; font-size: 13.5px; padding: 0 8px; margin: 0;
}
.fm-field select { min-width: 64px; width: auto !important; }   /* globalni slog (end.css select { width: 310px }) */
@media (min-width: 641px) { .fm-fields > .fm-field { flex: 0 0 auto; } }
.fm-field[hidden] { display: none; }
/* polje Termin: odpre koledar pod vrstico (kot »Termin« na Potovanjih); prihod in odhod brez letnice, pri konkretnem terminu se noci */
.fm-term {
  position: relative; height: 34px; min-width: 200px; box-sizing: border-box; margin: 0; padding: 0 26px 0 28px; text-align: left; white-space: nowrap;
  border: 1px solid #c9b980; border-radius: 4px; color: #222222; font-family: 'Roboto', sans-serif; font-size: 13.5px; cursor: pointer;
  background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16'%3E%3Crect x='1.5' y='2.5' width='13' height='12' rx='1.5' fill='none' stroke='%23aa9f7a' stroke-width='1.4'/%3E%3Cpath d='M1.5 6h13M5 1v3M11 1v3' stroke='%23aa9f7a' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat 8px 50%;
}
.fm-term::after { content: "\25BE"; position: absolute; right: 9px; top: 50%; transform: translateY(-50%); color: #8a7f5c; font-size: 12px; }
.fm-term[aria-expanded="true"]::after { content: "\25B4"; }
.fm-term:hover { border-color: #aa9f7a; }
.fm-term:focus-visible { outline: 2px solid #1565C0; outline-offset: 1px; }
.fm-term .fm-ph { color: #8f8a7c; }
.fm-term .fm-n { color: #2E7D32; font-weight: 700; }
.fm-stepper { display: inline-flex; align-items: center; height: 34px; box-sizing: border-box; border: 1px solid #c9b980; border-radius: 4px; background: #FFFFFF; overflow: hidden; }
.fm-stepper button { width: 32px; height: 100%; border: 0; background: transparent; cursor: pointer; font-size: 18px; line-height: 1; color: #B71C1C; padding: 0; }
.fm-stepper button:disabled { color: #c8c8c8; cursor: default; }
.fm-stepper output { min-width: 24px; text-align: center; font-weight: 700; font-family: 'Roboto', sans-serif; font-size: 14px; }
.fm-go { height: 34px; padding: 0 20px !important; }
.fm-go:disabled { opacity: 0.7; cursor: default; }
.fm-kids { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.fm-kids[hidden] { display: none; }
.fm-klabel { font-size: 12.5px; color: #4a4128; }
.fm-kids select {
  width: 115px !important; height: 32px; box-sizing: border-box; margin: 0; border: 1px solid #c9b980; border-radius: 4px; background: #FFFFFF;
  padding: 0 6px; font-family: 'Roboto', sans-serif; font-size: 13px; color: #222222;
}
.fm-err { color: #B71C1C; font-weight: 600; font-size: 13px; }
.fm-err:empty { display: none; }
.fm-hint { font-size: 12.5px; color: #6b5f3a; }
@media (max-width: 640px) {
  .fm-fields > .fm-field { flex: 1 1 130px; }
  .fm-term { width: 100%; min-width: 0; }
  .fm-field select { width: 100% !important; }
  .fm-stepper { display: flex; justify-content: space-between; }
  .fm-go { flex: 1 1 100%; }
}

/* ---- koledar v panelu (podlaga in robovi kot #offer-search-calendar na Potovanjih, unified-search.css) ---- */
.fm-cal { display: grid; gap: 8px; margin: 0 -14px; padding: 12px 15px 14px; background: #FFF9E5; }
.fm-cal[hidden] { display: none; }
/* #10190 (Nina 16. 11. 2026): med nalaganjem obdobja prostih terminov koledar ni viden in ni klikljiv (visina ostane, brez poskoka) */
.fm-cal.fm-calwait #fmCalendar { visibility: hidden; }
.fm-modes { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
.fm-modes label { display: inline-flex; align-items: center; gap: 5px; margin: 0; cursor: pointer; font-family: 'Roboto', sans-serif; font-size: 13px; color: #222222; }
.fm-modes input { margin: 0; }
.fm-calfoot { border-top: 1px solid #f0e0a8; padding-top: 8px; font-size: 13px; color: #4a4128; }
.fm-calfoot:empty { display: none; }
.fm-calfoot b { color: #222222; }
.fm-calfoot.fm-calerr { color: #B71C1C; font-weight: 600; }
.unified-search #fmCalendar .ui-datepicker-title { font-size: 16px; font-weight: 500; color: #000; }
.unified-search #fmCalendar .ui-state-default,
.unified-search #fmCalendar .ui-widget-content .ui-state-default,
.unified-search #fmCalendar .ui-widget-header .ui-state-default { border: none; background: none; font-size: 12px; text-align: center; }
.unified-search #fmCalendar .ui-widget-content .ui-state-default.ui-state-hover { background: #DFEFBB; color: #46B346; }
.unified-search #fmCalendar .ui-datepicker-today .ui-state-default.ui-state-highlight { background: #DBE0CD !important; color: #021D02 !important; }
.unified-search #fmCalendar .ui-datepicker.ui-datepicker-multi { width: 100% !important; }
.unified-search #fmCalendar .ui-datepicker { background-color: unset; border: none; width: auto; }
.unified-search #fmCalendar .ui-widget-content .ui-state-highlight { border: 1px solid rgba(236, 227, 198, .3); background: #83BA00; font-weight: normal; color: white; }
.unified-search #fmCalendar .ui-datepicker .ui-datepicker-prev span,
.unified-search #fmCalendar .ui-datepicker .ui-datepicker-next span { background-image: none; }
.unified-search #fmCalendar .ui-widget-header .ui-state-hover,
.unified-search #fmCalendar .ui-widget-header .ui-state-focus { border: none; background: transparent; color: #C50F16; }
.unified-search #fmCalendar .ui-datepicker .ui-datepicker-prev span::before { content: "\25C0"; display: block; text-indent: 0; }
.unified-search #fmCalendar .ui-datepicker .ui-datepicker-next span::before { content: "\25B6"; display: block; text-indent: 0; }
.unified-search #fmCalendar .ui-datepicker .ui-state-disabled { opacity: 0.45; }

/* ---- zadetki ------------------------------------------------------------ */
.us-grid.fm-busy, .fm-card.fm-busy { opacity: 0.5; pointer-events: none; transition: opacity 0.15s; }
.fm-full { grid-column: 1 / -1; }
.fm-found { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: 13.5px; color: #666666; }
.fm-found b { font-size: 16px; color: #222222; }
.fm-banner { border-left: 4px solid #B71C1C; background: #FFF7F5; padding: 10px 14px; font-size: 13.5px; line-height: 1.45; }
.fm-banner b { display: block; margin-bottom: 2px; }
.fm-box { background: #FAFAFA; border: 1px solid #E5E5E5; padding: 18px; text-align: center; font-size: 14px; line-height: 1.45; }
.fm-box b { display: block; font-size: 15px; margin-bottom: 4px; }
.fm-box p { margin: 0 0 12px; color: #555555; }
.fm-inquiry-line { font-size: 13.5px; color: #555555; }
.fm-inquiry-line a, .fm-none a { color: #B71C1C; }
.fm-none summary { cursor: pointer; color: #666666; font-size: 13px; }
.fm-none ul { margin: 6px 0 0; padding-left: 18px; color: #666666; font-size: 13px; columns: 2; column-gap: 28px; }
@media (max-width: 640px) { .fm-none ul { columns: 1; } }
.fm-other-lbl { font-size: 13.5px; color: #555555; margin-top: 6px; }

/* ---- kartica (slika 250 x 200 kot vse kartice portala) ---------------------- */
.fm-card { position: relative; }
.fm-badge {
  position: absolute; left: 10px; top: 10px; z-index: 2; background: #B71C1C; color: #FFFFFF; border-radius: 3px; padding: 4px 9px;
  font-family: 'Roboto Condensed', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 0.3px; text-transform: uppercase;
}
.fm-card .offer_info { display: flex; flex-direction: column; gap: 6px; }
.fm-card .offer_info > p { margin: 0; }
.fm-room { display: grid; gap: 2px; border: 1px solid #E5E5E5; border-radius: 4px; padding: 8px 10px; background: #FCFCFC; }
.fm-room-lbl { font-family: 'Roboto Condensed', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: 0.6px; text-transform: uppercase; color: #2E8B3A; }
.fm-room-name { font-weight: 700; font-size: 14.5px; line-height: 1.3; color: #222222; }
.fm-room-meta { font-size: 12.5px; color: #666666; }
.fm-room-total { font-size: 13.5px; color: #222222; margin-top: 2px; }
.fm-room-total b { font-variant-numeric: tabular-nums; }
.fm-note { font-size: 12.5px; color: #666666; line-height: 1.4; }
.fm-extras { font-size: 12.5px; color: #5A4A10; background: #FFF8DE; border-radius: 3px; padding: 5px 8px; line-height: 1.4; }
.fm-arr-lbl { font-size: 12.5px; color: #666666; }
.fm-arrs { display: flex; flex-wrap: wrap; gap: 4px; }
.fm-arr, .fm-arr-all {
  border: 1px solid #d6cba4; background: #FFFFFF; border-radius: 4px; padding: 3px 7px; cursor: pointer;
  font-family: 'Roboto', sans-serif; font-size: 12px; color: #333333; font-variant-numeric: tabular-nums;
}
.fm-arr:hover, .fm-arr:focus-visible { border-color: #B71C1C; color: #B71C1C; }
.fm-arr[hidden] { display: none; }
.fm-arr-all { color: #B71C1C; font-weight: 600; }
.fm-card-err { font-size: 12.5px; color: #B71C1C; font-weight: 600; }
/* v stolpcu 250 px gre »Več o ponudbi« pod gumb (sredinsko), v sirsem stolpcu (telefon) desno od gumba */
.fm-ctarow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; margin-top: 2px; }
a.fm-cta, .fm-box a.fm-cta {
  display: inline-block; flex: 1 1 auto; text-align: center; background: #B71C1C; color: #FFFFFF !important; text-decoration: none;
  font-family: 'Roboto Condensed', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: 0.4px; padding: 9px 14px; border-radius: 4px;
}
.fm-box a.fm-cta { flex: 0 0 auto; padding: 9px 24px; }
a.fm-cta:hover { background: #9e1414; }
a.fm-more { font-size: 13px; color: #222222; }
.fm-rooms summary { cursor: pointer; font-size: 13.5px; font-weight: 600; padding: 2px 0; }
.fm-rooms summary::marker { color: #B71C1C; }
.fm-rooms ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.fm-rooms li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; align-items: baseline; border-top: 1px dashed #E5E5E5; padding-top: 6px; font-size: 13px; }
.fm-alt-name { font-weight: 600; }
.fm-alt-price { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fm-alt-meta { grid-column: 1 / -1; color: #666666; font-size: 12px; }
.fm-alt-act { grid-column: 1 / -1; display: flex; gap: 12px; }
.fm-alt-act a { font-size: 12.5px; color: #B71C1C; }
.fm-alt-act a:first-child { font-weight: 700; }
