/* =========================================================
   Fishing Booking Widget
   ========================================================= */

:root {
    --fb-primary:   #1a6b3c;
    --fb-primary-h: #155230;
    --fb-accent:    #2ecc71;
    --fb-text:      #1e1e1e;
    --fb-muted:     #6b7280;
    --fb-border:    #e5e7eb;
    --fb-bg:        #ffffff;
    --fb-radius:    10px;
    --fb-shadow:    0 2px 12px rgba(0,0,0,.08);
}

.fishing-booking {
    font-family: inherit;
    width: 100%;
    color: var(--fb-text);
    position: relative;
}

/* =========================================================
   Progress bar
   ========================================================= */
.fb-progress {
    display: flex;
    align-items: center;
    margin: 0 auto 32px;
    padding: 0 8px;
}

.fb-progress__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: .75rem;
    color: var(--fb-muted);
    gap: 4px;
    flex-shrink: 0;
}
.fb-progress__step span {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--fb-border);
    color: var(--fb-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .9rem;
}
.fb-progress__step.is-active span { background: var(--fb-primary); color: #fff; }
.fb-progress__step.is-done   span { background: var(--fb-accent);  color: #fff; }
.fb-progress__step.is-active,
.fb-progress__step.is-done   { color: var(--fb-text); }
.fb-progress__line {
    flex: 1;
    height: 2px;
    background: var(--fb-border);
    margin: 0 4px;
    margin-bottom: 18px;
}

/* =========================================================
   Body card
   ========================================================= */
.fb-body {
    background: var(--fb-bg);
    border: 1px solid var(--fb-border);
    border-radius: var(--fb-radius);
    padding: 24px 28px;
    box-shadow: var(--fb-shadow);
}
.fb-body--wide {
    padding: 20px 24px;
}

.fb-step-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 16px;
}

/* =========================================================
   Two-column layout — persists across all steps
   Left: content (spot info / form)   Right: map (always visible)
   ========================================================= */
.fb-main-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.fb-left-col {
    flex: 1;          /* 50% */
    min-width: 0;
}
.fb-right-col {
    flex: 1;          /* 50% */
    min-width: 240px;
    position: sticky;
    top: 20px;
    align-self: flex-start;
}

/* =========================================================
   Interactive map
   ========================================================= */
.fb-map-wrap {
    position: relative;
    width: 100%;
    border-radius: var(--fb-radius);
    box-shadow: var(--fb-shadow);
}
.fb-map-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--fb-radius);
}

/* Hotspot pin — pill shape to fit names */
.fb-hotspot {
    position: absolute;
    transform: translate(-50%, -50%);
    border-radius: 20px;
    background: rgba(255,255,255,.93);
    color: #111;
    border: 2px solid rgba(0,0,0,.6);
    font-weight: 700;
    font-size: .75rem;
    white-space: nowrap;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,.4);
    transition: background .15s, transform .15s, box-shadow .15s;
    z-index: 5;
    padding: 4px 10px;
    line-height: 1.3;
    user-select: none;
    -webkit-user-select: none;
}
.fb-hotspot:hover,
.fb-hotspot:focus {
    background: var(--fb-primary);
    color: #fff;
    border-color: var(--fb-primary);
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 3px 10px rgba(0,0,0,.45);
    outline: none;
    z-index: 10;
}
.fb-hotspot--active {
    background: var(--fb-primary) !important;
    color: #fff !important;
    border-color: var(--fb-primary) !important;
    box-shadow: 0 0 0 3px rgba(26,107,60,.3), 0 3px 10px rgba(0,0,0,.4) !important;
    z-index: 10;
    transform: translate(-50%, -50%) scale(1.06) !important;
}

/* =========================================================
   Right info panel — default state
   ========================================================= */
.fb-info-default {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px 12px;
    color: var(--fb-muted);
}
.fb-info-icon { font-size: 2.8rem; margin-bottom: 12px; }
.fb-info-default h3 { font-size: 1rem; font-weight: 700; color: var(--fb-text); margin: 0 0 8px; }
.fb-info-default p  { font-size: .85rem; line-height: 1.6; margin: 0; }

/* =========================================================
   Right info panel — spot detail
   ========================================================= */
.fb-spot-panel { display: flex; flex-direction: column; gap: 10px; }

.fb-spot-panel__hdr {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--fb-border);
}
.fb-spot-panel__num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--fb-primary);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.fb-spot-panel__title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}
.fb-spot-panel__desc {
    font-size: .85rem;
    line-height: 1.6;
    color: #374151;
    white-space: pre-wrap;
}

/* Gallery grid in info panel — smaller thumbs */
.fb-gal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
    gap: 6px;
}
.fb-gal-thumb {
    border: none;
    padding: 0;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
    background: var(--fb-border);
    transition: transform .15s, box-shadow .15s;
}
.fb-gal-thumb:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
.fb-gal-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================================
   Lightbox
   ========================================================= */
.fb-lb-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.92);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fb-fade-in .18s ease;
}
@keyframes fb-fade-in { from { opacity: 0 } to { opacity: 1 } }

.fb-lb-img-wrap {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fb-lb-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 8px 40px rgba(0,0,0,.6);
    animation: fb-slide-up .2s ease;
}
@keyframes fb-slide-up {
    from { transform: translateY(16px); opacity: 0 }
    to   { transform: translateY(0);    opacity: 1 }
}
.fb-lb-close {
    position: fixed;
    top: 16px;
    right: 20px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,.25);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
    z-index: 10;
    padding: 0;
}
.fb-lb-close:hover { background: rgba(255,255,255,.25); }
.fb-lb-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 64px;
    background: rgba(255,255,255,.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 8px;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background .15s;
    padding: 0;
}
.fb-lb-nav:hover   { background: rgba(255,255,255,.2); }
.fb-lb-prev        { left: 12px; }
.fb-lb-next        { right: 12px; }
.fb-lb-counter {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,.7);
    font-size: .85rem;
    background: rgba(0,0,0,.4);
    padding: 4px 12px;
    border-radius: 20px;
}

/* =========================================================
   Spot grid (fallback — no map image)
   ========================================================= */
.fb-spot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 12px;
}
.fb-spot-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 20px 8px;
    border: 2px solid var(--fb-border);
    border-radius: var(--fb-radius);
    background: var(--fb-bg);
    cursor: pointer;
    transition: border-color .15s, background .15s, transform .1s;
}
.fb-spot-card:hover { border-color: var(--fb-primary); background: #f0faf4; transform: translateY(-2px); }
.fb-spot-card__num  { font-size: 1.8rem; font-weight: 700; color: var(--fb-primary); line-height: 1; }
.fb-spot-card__label{ font-size: .7rem; color: var(--fb-muted); text-transform: uppercase; letter-spacing: .05em; }

/* =========================================================
   Duration toggle
   ========================================================= */
.fb-duration { display: flex; gap: 10px; margin-bottom: 12px; }
.fb-duration__btn {
    color: #000;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    padding: 10px 8px;
    border: 2px solid var(--fb-border);
    border-radius: var(--fb-radius);
    background: var(--fb-bg);
    cursor: pointer;
    font-size: .85rem;
    font-weight: 600;
    transition: border-color .15s, background .15s;
}
.fb-duration__btn small   { font-size: .7rem; font-weight: 400; color: var(--fb-muted); }
.fb-duration__price       { font-size: .75rem; color: var(--fb-primary); font-weight: 700; }
.fb-duration__btn.is-active { border-color: var(--fb-primary); background: #f0faf4; color: var(--fb-primary); }

/* =========================================================
   Fishermen prompt (prominent, above Continue button)
   ========================================================= */
.fb-fishermen-prompt {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    padding: 12px 16px;
    background: #fffbeb;
    border: 2px solid #f59e0b;
    border-radius: var(--fb-radius);
}
.fb-fishermen-prompt__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.fb-fishermen-prompt__text strong {
    font-size: .9rem;
    color: #92400e;
}
.fb-fishermen-prompt__text span {
    font-size: .75rem;
    color: #b45309;
}
.fb-fishermen-prompt__ctrl {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.fb-fishermen__btn {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid #f59e0b;
    background: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: background .1s;
    color: #92400e;
    padding: 0;
    line-height: 1;
}
.fb-fishermen__btn:hover:not(:disabled) { background: #fef3c7; }
.fb-fishermen__btn:disabled { opacity: .3; cursor: not-allowed; }
.fb-fishermen__val {
    font-size: 1.3rem;
    font-weight: 800;
    min-width: 24px;
    text-align: center;
    color: #92400e;
}

/* =========================================================
   Calendar
   ========================================================= */
.fb-cal { user-select: none; }
.fb-cal__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.fb-cal__title { font-weight: 700; font-size: .9rem; }
.fb-cal__nav-btn {
    color: #000;
    background: none;
    border: 1px solid var(--fb-border);
    border-radius: 6px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .1s;
}
.fb-cal__nav-btn:hover { background: #f3f4f6; }
.fb-cal__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
}
.fb-cal__hd {
    text-align: center;
    font-size: .65rem;
    font-weight: 700;
    color: var(--fb-muted);
    padding: 4px 0;
    text-transform: uppercase;
}
.fb-cal__cell { text-align: center; padding: 7px 2px; border-radius: 5px; font-size: .8rem; }
.fb-cal__cell--empty { background: transparent; }
.fb-cal__cell--off   { color: #d1d5db; text-decoration: line-through; cursor: not-allowed; }
.fb-cal__cell--on    { cursor: pointer; transition: background .1s, color .1s; }
.fb-cal__cell--on:hover { background: #e8f5ee; color: var(--fb-primary); }
.fb-cal__cell--start,
.fb-cal__cell--end   { background: var(--fb-primary) !important; color: #fff !important; font-weight: 700; border-radius: 5px; }
.fb-cal__cell--range { background: #dcfce7; color: var(--fb-primary); border-radius: 0; }
.fb-cal__cell--hover { background: #e8f5ee; color: var(--fb-primary); border-radius: 0; }
.fb-cal__loading     { text-align: center; color: var(--fb-muted); padding: 16px 0; font-size: .85rem; }
.fb-cal__summary {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 8px 10px;
    background: #f0faf4;
    border-radius: 6px;
    font-size: .8rem;
    flex-wrap: wrap;
}
.fb-cal__summary--hint { color: var(--fb-muted); font-style: italic; }
.fb-cal__days  { color: var(--fb-muted); }
.fb-cal__total { margin-left: auto; font-weight: 700; font-size: .9rem; color: var(--fb-primary); }

/* =========================================================
   Half-day (doobeda/poobede) calendar
   ========================================================= */
.fb-halfday-hint {
    font-size: .75rem;
    color: var(--fb-muted);
    margin-bottom: 10px;
    line-height: 1.4;
}
.fb-cal--halves .fb-cal__cell { padding: 6px 1px; }
.fb-cal__day {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.fb-cal__num { font-size: .65rem; color: var(--fb-muted); line-height: 1; }
/* Diagonálne rozdelenie pol-dňa: D = ľavý-horný trojuholník, P = pravý-dolný.
   clip-path orezáva aj klikateľnú plochu, takže každý trojuholník je samostatný. */
.fb-halfcell {
    position: relative;
    width: 100%;
    height: 42px;          /* pevná výška (nezávislá od aspect-ratio kvôli starším prehliadačom) */
    border-radius: 5px;
    overflow: hidden;
    background: #fff;       /* presvitá medzi trojuholníkmi ako diagonálna deliaca čiara */
}
.fb-half {
    position: absolute;
    inset: 0;
    display: flex;
    padding: 8px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    color: #166534;
    background: #dcfce7;
    transition: background .1s, color .1s;
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
}
/* Defenzívny reset – aby téma (štýly <button>) nemenila tvar trojuholníkov
   pri hover/focus/active (box-shadow, transform, outline, border, radius). */
.fb-half,
.fb-half:hover,
.fb-half:focus,
.fb-half:active,
.fb-half:focus-visible {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    transform: none !important;
    text-decoration: none !important;
}
/* Trojuholníky sú mierne odsadené od uhlopriečky (z rohu do rohu), takže medzi
   nimi presvitá pozadie bunky ako tenká deliaca čiara – zarovnaná pri ľubovoľnom
   pomere strán bunky (nie fixných 45°). */
.fb-half--am {
    clip-path: polygon(0 0, calc(100% - 1.5px) 0, 0 calc(100% - 1.5px));
    align-items: flex-start;
    justify-content: flex-start;
}
.fb-half--pm {
    clip-path: polygon(100% 1.5px, 100% 100%, 1.5px 100%);
    align-items: flex-end;
    justify-content: flex-end;
}
.fb-half--occupied {
    background: #ab3d3d;       /* obsadené → červené */
    color: #f3d6d6;
    cursor: not-allowed;
}
.fb-half--past {
    background: #eef0f2;       /* minulé → sivé (zreteľne odlíšené od obsadeného) */
    color: #c2c8d0;
    cursor: not-allowed;
}
.fb-half--free:hover,
.fb-half.is-hover { background: #86efac; color: var(--fb-primary-h); }
.fb-half.is-sel  { background: var(--fb-primary); color: #fff; }


.fb-cal__legend { display: flex; gap: 14px; justify-content: center; margin-top: 8px; font-size: .7rem; color: var(--fb-muted); }
.fb-cal__legend span { display: inline-flex; align-items: center; gap: 5px; }
.fb-lg { width: 12px; height: 12px; border-radius: 3px; display: inline-block; border: 1px solid var(--fb-border); }
.fb-lg--free { background: #dcfce7; }
.fb-lg--sel  { background: var(--fb-primary); }
.fb-lg--off  { background: #ab3d3d; }
.fb-lg--past { background: #eef0f2; }

/* =========================================================
   Floating flash / notice
   ========================================================= */
.fb-flash {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100000;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: min(92vw, 460px);
    padding: 14px 16px;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
    border-left: 4px solid #dc2626;
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(0,0,0,.18);
    font-size: .9rem;
    line-height: 1.4;
    animation: fb-flash-in .18s ease-out;
}
@keyframes fb-flash-in {
    from { opacity: 0; transform: translate(-50%, -10px); }
    to   { opacity: 1; transform: translate(-50%, 0); }
}
.fb-flash__msg   { flex: 1; }
.fb-flash__close {
    border: none;
    background: transparent;
    color: inherit;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 2px;
    opacity: .7;
}
.fb-flash__close:hover { opacity: 1; }

/* =========================================================
   Error
   ========================================================= */
.fb-error {
    background: #fee2e2;
    color: #991b1b;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: .85rem;
}

/* =========================================================
   Contact form
   ========================================================= */
.fb-form { display: flex; flex-direction: column; gap: 16px; }
.fb-field { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.fb-field label { font-size: .85rem; font-weight: 600; color: #374151; }
.fb-field input {
    padding: 10px 12px;
    border: 1px solid var(--fb-border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color .15s, box-shadow .15s;
    width: 100%;
    box-sizing: border-box;
}
.fb-field input:focus {
    outline: none;
    border-color: var(--fb-primary);
    box-shadow: 0 0 0 3px rgba(26,107,60,.15);
}
.fb-field-row { display: flex; gap: 16px; }

/* =========================================================
   Booking summary
   ========================================================= */
.fb-booking-summary {
    background: #f9fafb;
    border: 1px solid var(--fb-border);
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: .9rem;
}
.fb-booking-summary--lg { font-size: .95rem; }
.fb-summary__price { margin-top: 6px; font-size: 1.05rem; color: var(--fb-primary); }

/* =========================================================
   Coupon code
   ========================================================= */
.fb-coupon { margin-bottom: 20px; }
/* Platba na mieste → kupóny nie sú dostupné, len poznámka */
.fb-coupon__note {
    padding: 10px 12px;
    background: #f9fafb;
    border: 1px dashed var(--fb-border);
    border-radius: 8px;
    font-size: .82rem;
    color: var(--fb-muted);
}
.fb-coupon__row {
    display: flex;
    gap: 8px;
}
.fb-coupon__input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid var(--fb-border);
    border-radius: 8px;
    font-size: .95rem;
    font-family: inherit;
    letter-spacing: .05em;
    text-transform: uppercase;
    transition: border-color .15s, box-shadow .15s;
    box-sizing: border-box;
}
.fb-coupon__input:focus {
    outline: none;
    border-color: var(--fb-primary);
    box-shadow: 0 0 0 3px rgba(26,107,60,.15);
}
.fb-coupon__btn { white-space: nowrap; }
.fb-coupon__ok {
    margin-top: 8px;
    padding: 7px 10px;
    background: #f0faf4;
    border: 1px solid #86efac;
    border-radius: 6px;
    font-size: .85rem;
    color: #166534;
}
.fb-coupon__err {
    margin-top: 8px;
    padding: 7px 10px;
    background: #fee2e2;
    border-radius: 6px;
    font-size: .85rem;
    color: #991b1b;
}

/* Dark spinner variant (for ghost button) */
.fb-spinner--dark {
    border-color: rgba(0,0,0,.2);
    border-top-color: var(--fb-primary);
}

/* Discount row in summary */
.fb-summary__discount { color: #166534; }

/* =========================================================
   Payment options
   ========================================================= */
.fb-payment { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.fb-payment__opt {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 2px solid var(--fb-border);
    border-radius: var(--fb-radius);
    cursor: pointer;
    transition: border-color .15s, background .15s;
}
.fb-payment__opt input[type="radio"] { display: none; }
.fb-payment__opt.is-active { border-color: var(--fb-primary); background: #f0faf4; }
.fb-payment__icon  { font-size: 1.6rem; line-height: 1; }
.fb-payment__opt strong { display: block; }
.fb-payment__opt small  { color: var(--fb-muted); font-size: .8rem; }

/* =========================================================
   Buttons & nav row
   ========================================================= */
.fb-nav-row {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 16px;
    flex-wrap: wrap;
}
.fb-btn {
    padding: 11px 24px;
    border-radius: 8px;
    font-size: .95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background .15s, border-color .15s, opacity .15s;
    border: 2px solid transparent;
    line-height: 1.2;
}
.fb-btn--primary                      { background: var(--fb-primary); color: #fff; border-color: var(--fb-primary); }
.fb-btn--primary:hover:not(:disabled) { background: var(--fb-primary-h); border-color: var(--fb-primary-h); }
.fb-btn--primary:disabled             { opacity: .5; cursor: not-allowed; }
.fb-btn--ghost                        { background: transparent; color: var(--fb-primary); border-color: var(--fb-border); }
.fb-btn--ghost:hover                  { background: #f3f4f6; }

/* Spinner */
.fb-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: fb-spin .6s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}
@keyframes fb-spin { to { transform: rotate(360deg); } }

/* =========================================================
   Success screen
   ========================================================= */
.fb-success { text-align: center; padding: 16px 0; }
.fb-success__icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--fb-accent);
    color: #fff;
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.fb-success h2          { margin: 0 0 12px; font-size: 1.5rem; }
.fb-success p           { color: var(--fb-muted); margin: 0 0 20px; }
.fb-success__detail {
    background: #f9fafb;
    border: 1px solid var(--fb-border);
    border-radius: 8px;
    padding: 16px 20px;
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
    margin: 0 auto 20px;
    min-width: 260px;
    font-size: .95rem;
}
.fb-success__account { font-size: .85rem; color: var(--fb-muted); margin: 0 0 24px !important; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 700px) {
    /* Stack columns: map below content on mobile.
       align-items: stretch + width:100% na oboch stĺpcoch, inak by sa ľavý
       stĺpec (formulár) scvrkol na obsah a kalendár by sa zbalil takmer na nulu. */
    .fb-main-layout   { flex-direction: column-reverse; align-items: stretch; }
    .fb-left-col      { width: 100%; }
    .fb-right-col     { position: static; max-width: 100%; min-width: 0; width: 100%; }
    .fb-body--wide    { padding: 16px; }
}
@media (max-width: 560px) {
    .fb-body          { padding: 18px 14px; }
    .fb-field-row     { flex-direction: column; }
    .fb-cal__cell     { padding: 6px 1px; font-size: .75rem; }
    .fb-halfcell      { height: 38px; }
    .fb-half          { padding: 4px; font-size: .7rem; }
    .fb-btn           { padding: 10px 16px; font-size: .9rem; }
    .fb-progress__step{ font-size: .65rem; }
    .fb-progress__step span { width: 26px; height: 26px; font-size: .8rem; }
    .fb-gal-grid      { grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); }
    .fb-lb-nav        { width: 36px; height: 52px; font-size: 1.5rem; }
}
