/* rezervace/assets/booking.css */
/* Speciální úprava navigace pouze pro stránku rezervace.html */
#navbar.navbar a:not(.nav-btn-rezervace) {
    color: black !important;
}

#navbar.navbar li > a:after {
    background: black !important;
}

#navbar.navbar .hamburger .line {
    background: black; /* Hamburger ikona bude také tmavá, aby byla vidět */
}

/* Konec úprav navigace */

/* Celkové pozadí pro rezervační stránku - jemný luxusní nádech */
body {
    background-color: #fdfaf6; /* Velmi jemná krémová barva */
}

.rezervace-container {
    max-width: 900px; /* Širší a prostornější */
    margin: 220px auto 80px auto;
    padding: 60px 50px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(94, 58, 69, 0.08); /* Jemný hnědo-zlatý stín */
    font-family: 'Urbanist', sans-serif;
    position: relative;
    border: 1px solid rgba(197, 126, 141, 0.15); /* Velmi tenká zlatá linka kolem */
}

.rezervace-header {
    text-align: center;
    margin-bottom: 50px;
}
.rezervace-header h1 {
    color: #4a3138;
    font-size: 3rem;
    font-family: 'Forum', 'Italiana', serif; /* Luxusnější font pro nadpis */
    margin-bottom: 15px;
    font-weight: 400;
}
.rezervace-header p {
    color: #666;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Vizuální indikátor kroků (Progress bar) */
.booking-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
    position: relative;
}
.booking-progress::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #f0e6d2;
    z-index: 1;
    transform: translateY(-50%);
}
.progress-step {
    position: relative;
    z-index: 2;
    background: #fdfaf6;
    border: 2px solid #f0e6d2;
    color: #aaa;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.4s ease;
}
.progress-step span {
    position: absolute;
    top: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    color: #888;
    transition: all 0.4s ease;
}
.progress-step.active {
    background: linear-gradient(to right, #c57e8d, #c49348);
    border-color: #c57e8d;
    color: #fff;
    box-shadow: 0 0 15px rgba(197, 126, 141, 0.4);
}
.progress-step.active span {
    color: #4a3138;
}
.progress-step.completed {
    background: #fdfaf6;
    border-color: #c57e8d;
    color: #c57e8d;
}

.booking-mode-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 28px;
    padding: 8px;
    border-radius: 20px;
    background: linear-gradient(180deg, #fcfcfb 0%, #f4f1ec 100%);
    border: 1px solid rgba(17, 17, 17, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 24px rgba(17, 17, 17, 0.05);
}

.booking-mode-switch__option {
    appearance: none;
    border: 1px solid transparent;
    border-radius: 16px;
    background: transparent;
    color: rgba(17, 17, 17, 0.65);
    padding: 16px 18px;
    font: inherit;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.booking-mode-switch__option.active {
    background: #111111;
    color: #fff;
    border-color: #111111;
    box-shadow: 0 10px 24px rgba(17, 17, 17, 0.16);
}

.booking-mode-switch__option:not(.active):hover {
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(17, 17, 17, 0.1);
    color: #111111;
}

.booking-mode-panel {
    display: none;
}

.booking-mode-panel.active {
    display: block;
}

.booking-nearest {
    margin-top: 8px;
    padding: 10px 0 0;
    border-top: 1px solid rgba(28, 22, 20, 0.14);
    background: transparent;
    box-shadow: none;
}

.booking-nearest--step {
    margin-top: 8px;
    padding-top: 10px;
}

.booking-nearest--step .booking-nearest__header {
    margin-bottom: 7px;
}

.booking-nearest--step .booking-nearest__eyebrow {
    margin-bottom: 4px;
    font-size: 0.68rem;
    letter-spacing: 0.2em;
}

.booking-nearest--step .booking-nearest__header h3 {
    margin-bottom: 2px;
    font-size: 1.34rem;
    line-height: 1;
}

.booking-nearest--step .booking-nearest__header p {
    font-size: 0.82rem;
    line-height: 1.42;
}

.booking-nearest--step .nearest-slots {
    grid-template-columns: repeat(auto-fit, minmax(136px, 1fr));
}

.booking-nearest--step .nearest-slot {
    min-height: 136px;
    padding: 8px;
    gap: 8px;
}

.booking-nearest--step .nearest-slot__date {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
}

.booking-nearest--step .nearest-slot__time {
    font-size: 1.86rem;
}

.booking-nearest--step .nearest-slot__meta {
    font-size: 0.54rem;
    letter-spacing: 0.08em;
}

.booking-nearest__header {
    margin-bottom: 7px;
}

.booking-nearest__eyebrow {
    display: inline-block;
    margin-bottom: 4px;
    color: #8a6a2f;
    font-family: "Oranienbaum", Georgia, "Times New Roman", serif;
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.booking-nearest__header h3 {
    margin: 0 0 2px;
    color: #111111;
    font-family: "Oranienbaum", Georgia, "Times New Roman", serif;
    font-size: 1.34rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.015em;
    text-transform: uppercase;
}

.booking-nearest__header p {
    margin: 0;
    max-width: 48ch;
    color: rgba(17, 17, 17, 0.68);
    font-size: 0.82rem;
    line-height: 1.42;
    letter-spacing: 0.01em;
}

.nearest-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(136px, 1fr));
    gap: 8px;
    border: 0;
}

.nearest-slot {
    appearance: none;
    width: 100%;
    min-height: 136px;
    padding: 8px;
    border: 1px solid rgba(17, 17, 17, 0.14);
    border-radius: 0;
    background: linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
    text-align: left;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
    box-shadow: 0 5px 12px rgba(17, 17, 17, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.nearest-slot:hover {
    transform: translateY(-1px);
    border-color: rgba(138, 106, 47, 0.34);
    background: linear-gradient(180deg, #ffffff 0%, #f3f3f3 100%);
    box-shadow: 0 8px 16px rgba(17, 17, 17, 0.07);
}

.nearest-slot.is-selected {
    border-color: rgba(138, 106, 47, 0.46);
    background: linear-gradient(180deg, #ffffff 0%, #f4f4f4 100%);
    box-shadow: 0 8px 16px rgba(138, 106, 47, 0.1);
}

.nearest-slot__top {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 0 0 8px;
    border-bottom: 1px solid rgba(17, 17, 17, 0.12);
}

.nearest-slot__date-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    border: 1px solid rgba(138, 106, 47, 0.18);
    border-radius: 0;
    background: rgba(138, 106, 47, 0.08);
    color: #9b6b14;
    font-size: 0.76rem;
}

.nearest-slot__date {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1px;
    min-height: 26px;
    padding-left: 7px;
    border-left: 1px solid rgba(17, 17, 17, 0.12);
    color: #111111;
    font-family: "Urbanist", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.nearest-slot__weekday {
    color: inherit;
    font-size: 1em;
    font-weight: 700;
    letter-spacing: inherit;
}

.nearest-slot__date-value {
    color: #111111;
    font-family: "Urbanist", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.05;
    text-transform: none;
}

.nearest-slot__time {
    margin: 0 0 auto;
    color: #111111;
    font-family: "Oranienbaum", Georgia, "Times New Roman", serif;
    font-size: 1.86rem;
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: -0.03em;
    text-transform: none;
}

.nearest-slot__action {
    display: flex;
    align-items: center;
    gap: 5px;
    min-height: 30px;
    margin-top: auto;
    padding: 0 8px;
    border: 1px solid rgba(17, 17, 17, 0.14);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.96);
    color: #111111;
}

.nearest-slot__action-icon,
.nearest-slot__action-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
}

.nearest-slot__action-icon {
    font-size: 0.66rem;
}

.nearest-slot__action-arrow {
    margin-left: auto;
    font-size: 0.76rem;
}

.nearest-slot__meta {
    color: inherit;
    font-family: "Urbanist", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.nearest-slot.is-selected .nearest-slot__action {
    border-color: rgba(138, 106, 47, 0.32);
    background: rgba(255, 250, 242, 0.98);
}

.nearest-slot__action-icon,
.nearest-slot__action-arrow,
.nearest-slot.is-selected .nearest-slot__meta {
    color: #9b6b14;
}

.booking-hint--soft {
    margin-top: -4px;
    color: #8a7b80;
}

.booking-nearest .booking-hint--soft,
.nearest-slots .booking-hint--soft {
    margin: 0;
    padding: 12px 14px 13px;
    border: 1px solid rgba(138, 106, 47, 0.22);
    border-left: 3px solid #8a6a2f;
    background: linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(249, 243, 232, 0.96));
    color: #5f463b;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.01em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.booking-nearest .booking-hint--soft::before,
.nearest-slots .booking-hint--soft::before {
    content: 'Upozornění k termínům';
    display: block;
    margin-bottom: 6px;
    color: #8a6a2f;
    font-family: "Oranienbaum", Georgia, "Times New Roman", serif;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* Formulářové prvky */
.booking-step {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}
.booking-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-group {
    margin-bottom: 25px;
}
.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #4a3138;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}
.form-control {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #e5e0d8;
    background-color: #faf9f7;
    border-radius: 10px;
    font-size: 1.1rem;
    font-family: inherit;
    box-sizing: border-box;
    transition: all 0.3s ease;
    color: #333;
}
.form-control:focus {
    outline: none;
    border-color: #c57e8d;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(197, 126, 141, 0.1);
}

.booking-custom-select {
    position: relative;
}

.booking-native-select {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.booking-select-trigger {
    width: 100%;
    padding: 13px 16px 12px;
    border: 1px solid rgba(17, 17, 17, 0.14);
    border-radius: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 243, 236, 0.94));
    color: #111111;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "meta caret"
        "value caret"
        "details caret";
    gap: 2px 12px;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, transform 0.22s ease;
    box-shadow: 0 10px 22px rgba(17, 17, 17, 0.05);
}

.booking-select-trigger:hover {
    border-color: rgba(17, 17, 17, 0.3);
    background: #ffffff;
}

.booking-select-trigger:focus-visible {
    outline: none;
    border-color: #c57e8d;
    box-shadow: 0 0 0 4px rgba(197, 126, 141, 0.1), 0 14px 30px rgba(17, 17, 17, 0.06);
}

.booking-custom-select.is-open .booking-select-trigger {
    border-color: #111111;
    background: #ffffff;
    box-shadow: 0 14px 28px rgba(17, 17, 17, 0.08);
}

.booking-select-trigger__meta {
    grid-area: meta;
    color: #8a6a2f;
    font-family: "Urbanist", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    font-size: 0.64rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.booking-select-trigger__value {
    grid-area: value;
    min-width: 0;
    color: #111111;
    font-family: "Oranienbaum", Georgia, "Times New Roman", serif;
    font-size: 1.02rem;
    line-height: 1;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.booking-select-trigger__details {
    grid-area: details;
    min-width: 0;
    color: rgba(17, 17, 17, 0.58);
    font-size: 0.73rem;
    line-height: 1.3;
}

.booking-select-trigger__caret {
    grid-area: caret;
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(17, 17, 17, 0.12);
    border-radius: 999px;
    color: #111111;
    background: rgba(17, 17, 17, 0.03);
    transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.booking-custom-select.is-open .booking-select-trigger__caret {
    transform: rotate(180deg);
    background: #111111;
    border-color: #111111;
    color: #f7f2ea;
}

.booking-select-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 40;
    max-height: 280px;
    overflow-y: auto;
    border: 1px solid rgba(17, 17, 17, 0.14);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 34px rgba(17, 17, 17, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    pointer-events: none;
    transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
}

.booking-custom-select.is-open .booking-select-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.booking-select-panel::-webkit-scrollbar {
    width: 8px;
}

.booking-select-panel::-webkit-scrollbar-track {
    background: rgba(17, 17, 17, 0.04);
}

.booking-select-panel::-webkit-scrollbar-thumb {
    background: rgba(17, 17, 17, 0.22);
}

.booking-select-panel::-webkit-scrollbar-thumb:hover {
    background: rgba(17, 17, 17, 0.34);
}

.booking-select-option {
    width: 100%;
    padding: 10px 14px 9px;
    border: 0;
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
    background: transparent;
    color: #111111;
    display: grid;
    gap: 2px;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.booking-select-option:last-child {
    border-bottom: 0;
}

.booking-select-option:hover,
.booking-select-option.is-active {
    background: rgba(17, 17, 17, 0.05);
}

.booking-select-option.is-selected {
    background: #111111;
}

.booking-select-option__name {
    color: inherit;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-family: "Oranienbaum", Georgia, "Times New Roman", serif;
    font-size: 0.88rem;
    line-height: 1;
    letter-spacing: 0.015em;
    text-transform: uppercase;
}

.booking-select-option__name-text {
    display: inline-block;
}

.booking-select-option__badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 7px;
    border: 1px solid rgba(17, 17, 17, 0.16);
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.04);
    color: rgba(17, 17, 17, 0.72);
    font-family: "Urbanist", Arial, sans-serif;
    font-size: 0.56rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1;
    text-transform: uppercase;
}

.booking-select-option__meta {
    color: rgba(17, 17, 17, 0.58);
    font-size: 0.68rem;
    line-height: 1.28;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.booking-select-option.is-selected .booking-select-option__name,
.booking-select-option.is-selected .booking-select-option__meta {
    color: #f7f2ea;
}

.booking-select-option.is-selected .booking-select-option__badge {
    border-color: rgba(247, 242, 234, 0.3);
    background: rgba(247, 242, 234, 0.12);
    color: #f7f2ea;
}

.booking-select-empty {
    margin: 0;
    padding: 12px 14px;
    color: rgba(17, 17, 17, 0.58);
    font-size: 0.74rem;
    line-height: 1.35;
}

.booking-select-scroll-indicator {
    position: sticky;
    bottom: 0;
    z-index: 2;
    display: none;
    align-items: flex-end;
    justify-content: center;
    height: 26px;
    margin-top: -26px;
    padding-bottom: 4px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.96) 58%, rgba(255, 255, 255, 0.99) 100%);
    color: rgba(17, 17, 17, 0.42);
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    pointer-events: none;
}

.booking-custom-select.is-open.is-scrollable:not(.is-scrolled-end) .booking-select-scroll-indicator {
    display: flex;
}

/* Časové sloty */
.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 15px;
    margin-top: 20px;
}
.time-slot {
    padding: 14px;
    text-align: center;
    border: 1px solid #e5e0d8;
    border-radius: 10px;
    color: #4a3138;
    font-weight: 600;
    font-size: 1.1rem;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.time-slot:hover {
    border-color: #c57e8d;
    color: #c57e8d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(197, 126, 141, 0.1);
}
.time-slot.selected {
    background: linear-gradient(to right, #c57e8d, #c49348);
    border-color: #c57e8d;
    color: #fff;
    box-shadow: 0 5px 15px rgba(197, 126, 141, 0.3);
    transform: translateY(-2px);
}
.time-slot.disabled {
    border-color: #f0f0f0;
    color: #ccc;
    cursor: not-allowed;
    background: #fafafa;
    transform: none;
    box-shadow: none;
}

/* Tlačítka dole */
.booking-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #f0e6d2;
}
.booking-submit {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}
.booking-submit__consent {
    margin: 0;
    max-width: 320px;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: right;
    color: #7a636a;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.booking-submit__consent:hover {
    color: #4a3138;
}
.btn {
    padding: 15px 35px;
    background: linear-gradient(to right, #c57e8d, #c49348);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(197, 126, 141, 0.3);
}
.btn:hover {
    box-shadow: 0 8px 25px rgba(197, 126, 141, 0.5);
    transform: translateY(-2px);
}
.btn-secondary {
    background: #fdfaf6;
    color: #4a3138;
    border: 1px solid #e5e0d8;
    box-shadow: none;
}
.btn-secondary:hover {
    background: #f0e6d2;
    box-shadow: none;
    transform: translateY(-2px);
}
.btn:disabled {
    background: #e5e0d8;
    color: #aaa;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* Shrnutí v kroku 3 */
#summary-box {
    background: #faf9f7;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid #f0e6d2;
    border-left: 5px solid #c57e8d;
}
#summary-box h3 {
    margin-top: 0;
    color: #4a3138;
    font-family: 'Forum', 'Italiana', serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

/* Spinner a hlášky */
.loader {
    border: 3px solid #f0e6d2;
    border-top: 3px solid #c57e8d;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#booking-message {
    margin-top: 20px;
    padding: 20px;
    border-radius: 10px;
    display: none;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}
.msg-success {
    background: #fdfaf6;
    color: #c57e8d;
    border: 1px solid #c57e8d;
}
.msg-error {
    background: #fff5f5;
    color: #d63031;
    border: 1px solid #ffcccc;
}

.booking-inline-toast {
    position: fixed;
    top: 106px;
    right: 18px;
    z-index: 1200;
    max-width: min(280px, calc(100vw - 28px));
    padding: 9px 12px;
    border-radius: 12px;
    border: 1px solid rgba(197, 126, 141, 0.22);
    background: rgba(255, 250, 252, 0.96);
    color: #7d4353;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.35;
    box-shadow: 0 10px 26px rgba(94, 58, 69, 0.12);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.booking-inline-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Vyskakovací bublina (Modal) pro úspěšnou rezervaci */
.success-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.success-modal-overlay.show {
    display: flex;
    opacity: 1;
}
.success-modal-content {
    background: #fff;
    padding: 50px 40px;
    border-radius: 20px;
    max-width: 450px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid #f0e6d2;
}
.success-modal-overlay.show .success-modal-content {
    transform: scale(1);
}
.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(to right, #c57e8d, #c49348);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 10px 20px rgba(197, 126, 141, 0.3);
}
.success-modal-content h2 {
    color: #4a3138;
    font-family: 'Forum', 'Italiana', serif;
    font-size: 2.2rem;
    margin-bottom: 15px;
    margin-top: 0;
}
.success-modal-content p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}
.success-modal-content .btn {
    width: 100%;
}

@media (max-width: 768px) {
    .rezervace-container {
        padding: 40px 20px;
    }
    .booking-progress {
        padding: 0 10px;
    }
    .progress-step span {
        font-size: 0.8rem;
    }
    .booking-mode-switch {
        grid-template-columns: 1fr;
    }
    .booking-nearest {
        padding-top: 8px;
    }
    .booking-nearest--step {
        margin-top: 4px;
        padding-top: 8px;
    }
    .booking-nearest__header h3 {
        font-size: 1.16rem;
    }
    .booking-nearest__header p {
        font-size: 0.78rem;
    }
    .nearest-slots {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }
    .nearest-slot {
        min-height: 118px;
        padding: 7px;
    }
    .nearest-slot__time {
        font-size: 1.56rem;
    }
    .nearest-slot__meta {
        font-size: 0.5rem;
    }
    .booking-nearest--step .booking-nearest__header h3 {
        font-size: 1.16rem;
    }
    .booking-nearest--step .booking-nearest__header p {
        font-size: 0.78rem;
    }
    .booking-nearest--step .nearest-slot {
        min-height: 118px;
        padding: 7px;
    }
    .booking-nearest--step .nearest-slot__time {
        font-size: 1.56rem;
    }
    .booking-nearest--step .nearest-slot__meta {
        font-size: 0.5rem;
    }
    .nearest-slot__top {
        gap: 5px;
        min-height: 25px;
        padding-bottom: 7px;
    }
    .nearest-slot__date-badge {
        width: 21px;
        height: 21px;
        flex-basis: 21px;
        font-size: 0.6rem;
    }
    .nearest-slot__date {
        min-height: 21px;
        padding-left: 6px;
        font-size: 0.52rem;
    }
    .nearest-slot__date-value {
        font-size: 0.66rem;
    }
    .nearest-slot__action {
        min-height: 25px;
        padding: 0 7px;
    }
    .nearest-slot__action-icon {
        font-size: 0.54rem;
    }
    .nearest-slot__action-arrow {
        font-size: 0.66rem;
    }
    .booking-select-trigger {
        padding: 12px 14px 11px;
        gap: 2px 10px;
    }
    .booking-select-trigger__value {
        font-size: 0.94rem;
    }
    .booking-select-trigger__details {
        font-size: 0.68rem;
    }
    .booking-select-trigger__caret {
        width: 28px;
        height: 28px;
    }
    .booking-select-option {
        padding: 9px 12px;
    }
    .booking-select-option__name {
        font-size: 0.82rem;
    }
    .booking-select-option__badge {
        font-size: 0.52rem;
        padding: 3px 6px;
    }
    .booking-select-option__meta {
        font-size: 0.64rem;
    }
    .booking-select-scroll-indicator {
        height: 24px;
        margin-top: -24px;
        font-size: 0.52rem;
        letter-spacing: 0.16em;
    }
    .booking-buttons {
        flex-direction: column-reverse;
        gap: 15px;
    }
    .booking-submit {
        align-items: stretch;
    }
    .booking-submit__consent {
        max-width: none;
        text-align: left;
    }
    .btn {
        width: 100%;
    }
    .booking-inline-toast {
        top: 92px;
        right: 12px;
        left: 12px;
        max-width: none;
        font-size: 0.8rem;
    }
}
