.rsv-reservation-page {
    --rsv-green: #2fc39a;
    --rsv-green-dark: #25a985;
    --rsv-green-soft: #effbf7;
    --rsv-text: #1f2b34;
    --rsv-muted: #667681;
    --rsv-line: #e5eaed;
    --rsv-white: #ffffff;
    --rsv-panel-bg: #f7f9fa;
    --rsv-yellow-text: #7a5b12;
    --rsv-shadow-main: 0 12px 28px rgba(20, 31, 38, 0.07);
    --rsv-shadow-soft: 0 4px 12px rgba(20, 31, 38, 0.05);
    --rsv-radius-lg: 14px;
    --rsv-radius-md: 10px;
    --rsv-radius-sm: 8px;
    color: var(--rsv-text);
}

.rsv-reservation-page,
.rsv-reservation-page * {
    box-sizing: border-box;
}

body.rsv-modal-open {
    overflow: hidden;
}

.rsv-shell {
    width: min(931px, 100%);
    margin: 0 auto;
    background: var(--rsv-white);
    border: 1px solid var(--rsv-line);
    border-radius: var(--rsv-radius-lg);
    box-shadow: var(--rsv-shadow-main);
    overflow: hidden;
}

.rsv-top-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--rsv-line);
    background: var(--rsv-white);
}

.rsv-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.9rem;
    color: #7b8992;
}

.rsv-step {
    position: relative;
    padding-bottom: 4px;
    white-space: nowrap;
}

.rsv-step.is-active {
    color: var(--rsv-text);
    font-weight: 700;
}

.rsv-step.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    background: var(--rsv-green);
    border-radius: 999px;
}

.rsv-step.is-done {
    color: var(--rsv-green-dark);
    font-weight: 700;
}

.rsv-booking-panel {
    position: relative;
    padding: 20px;
    background: var(--rsv-panel-bg);
}

.rsv-alert {
    display: none;
}

.rsv-stage-wrap {
    position: relative;
    height: 527px;
    min-height: 527px;
    max-height: 527px;
    overflow: hidden;
}

.rsv-stage {
    height: 100%;
    min-height: 100%;
    max-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
}

.rsv-stage::-webkit-scrollbar {
    width: 8px;
}

.rsv-stage::-webkit-scrollbar-thumb {
    background: #d5dde2;
    border-radius: 999px;
}

.rsv-loader {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(247, 249, 250, 0.78);
    backdrop-filter: blur(2px);
    z-index: 5;
}

.rsv-loader.is-visible {
    display: flex;
}

.rsv-loader-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 999px;
    background: var(--rsv-white);
    border: 1px solid var(--rsv-line);
    box-shadow: var(--rsv-shadow-soft);
    color: var(--rsv-text);
    font-weight: 600;
}

.rsv-loader-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--rsv-green);
    box-shadow: 16px 0 0 rgba(47, 195, 154, 0.6), 32px 0 0 rgba(47, 195, 154, 0.25);
    margin-right: 32px;
    animation: rsv-loader-bounce 1s infinite ease-in-out;
}

@keyframes rsv-loader-bounce {

    0%,
    80%,
    100% {
        transform: translateX(0);
    }

    40% {
        transform: translateX(8px);
    }
}

.rsv-module {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.rsv-hero-grid,
.rsv-agenda-layout,
.rsv-summary-layout {
    display: grid;
    gap: 18px;
}

.rsv-hero-grid {
    grid-template-columns: 280px 1fr;
    min-height: 470px;
}

.rsv-agenda-layout,
.rsv-summary-layout {
    grid-template-columns: 1fr 300px;
    min-height: 470px;
    align-items: stretch;
}

.rsv-card {
    border: 1px solid var(--rsv-line);
    background: var(--rsv-white);
    border-radius: var(--rsv-radius-md);
    box-shadow: var(--rsv-shadow-soft);
    padding: 16px;
}

.rsv-card-scroll {
    height: 100%;
    overflow-y: auto;
}

.rsv-card-scroll::-webkit-scrollbar {
    width: 8px;
}

.rsv-card-scroll::-webkit-scrollbar-thumb {
    background: #d5dde2;
    border-radius: 999px;
}

.rsv-fixed-card {
    height: 470px;
    min-height: 470px;
    max-height: 470px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.rsv-list-fixed {
    margin-top: 14px;
    flex: 1;
    min-height: 0;
    max-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
}

.rsv-list-fixed::-webkit-scrollbar {
    width: 8px;
}

.rsv-list-fixed::-webkit-scrollbar-thumb {
    background: #d5dde2;
    border-radius: 999px;
}

.rsv-photo-box {
    overflow: hidden;
    border-radius: var(--rsv-radius-md);
    border: 1px solid var(--rsv-line);
    min-height: 260px;
    height: 100%;
    background: #f3f5f6;
}

.rsv-photo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rsv-title-xl,
.rsv-title-lg,
.rsv-title-md,
.rsv-text,
.rsv-subtitle,
.rsv-empty-box,
.rsv-summary-row,
.rsv-summary-total,
.rsv-info-item,
.rsv-category-desc,
.rsv-date-btn small,
.rsv-hour-btn small,
.rsv-field label {
    margin: 0;
}

.rsv-title-xl {
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--rsv-text);
}

.rsv-title-lg {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--rsv-text);
}

.rsv-title-md {
    font-size: 1rem;
    font-weight: 800;
    color: var(--rsv-text);
}

.rsv-subtitle,
.rsv-category-desc,
.rsv-service-main p,
.rsv-summary-row,
.rsv-empty-box,
.rsv-text-muted,
.rsv-accordion-desc {
    color: var(--rsv-muted);
    line-height: 1.6;
}

.rsv-info-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.rsv-info-item {
    padding: 14px;
    border: 1px solid var(--rsv-line);
    border-radius: var(--rsv-radius-sm);
    background: #fafcfc;
}

.rsv-info-item strong {
    display: block;
    margin-bottom: 4px;
    color: var(--rsv-text);
}

.rsv-section-head {
    display: grid;
    gap: 6px;
}

.rsv-services-card {
    display: flex;
    flex-direction: column;
    height: 470px;
    overflow: hidden;
}

.rsv-services-scroll {
    margin-top: 8px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding-right: 4px;
}

.rsv-services-scroll::-webkit-scrollbar {
    width: 8px;
}

.rsv-services-scroll::-webkit-scrollbar-thumb {
    background: #d5dde2;
    border-radius: 999px;
}

.rsv-accordion {
    border: 1px solid var(--rsv-line);
    border-radius: var(--rsv-radius-md);
    background: #fff;
    margin-bottom: 12px;
    overflow: hidden;
}

.rsv-accordion:last-child {
    margin-bottom: 0;
}

.rsv-accordion-toggle {
    width: 100%;
    border: 0;
    background: #fff;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    cursor: pointer;
    text-align: left;
}

.rsv-accordion-toggle:hover {
    background: #fafdfc;
}

.rsv-accordion-title-wrap {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.rsv-accordion-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--rsv-text);
}

.rsv-accordion-icon {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--rsv-green-soft);
    color: var(--rsv-green-dark);
    font-weight: 900;
    font-size: 1rem;
}

.rsv-accordion-panel {
    display: none;
    padding: 0 16px 16px;
    border-top: 1px solid var(--rsv-line);
}

.rsv-accordion-panel.is-open {
    display: block;
}

.rsv-service-list,
.rsv-date-list,
.rsv-hour-list {
    display: grid;
    gap: 12px;
}

.rsv-date-list,
.rsv-hour-list {
    margin-top: 14px;
}

.rsv-service-card,
.rsv-date-btn,
.rsv-hour-btn,
.rsv-btn {
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
}

.rsv-service-card {
    width: 100%;
    border: 1px solid var(--rsv-line);
    background: var(--rsv-white);
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    cursor: pointer;
    border-radius: var(--rsv-radius-sm);
    box-shadow: var(--rsv-shadow-soft);
    transition: 0.18s ease, transform 0.18s ease;
    text-align: left;
}

.rsv-service-card:hover {
    border-color: #b9ddd2;
    background: #fcfffe;
    transform: translateY(-1px);
}

.rsv-service-card.is-selected {
    border-color: var(--rsv-green);
    background: var(--rsv-green-soft);
}

.rsv-service-thumb {
    width: 64px;
    height: 64px;
    overflow: hidden;
    border: 1px solid var(--rsv-line);
    border-radius: var(--rsv-radius-sm);
    background: #fff;
}

.rsv-service-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rsv-service-main {
    min-width: 0;
    text-align: left;
}

.rsv-service-main h3 {
    font-size: 0.98rem;
    font-weight: 800;
    margin: 0 0 4px;
    color: var(--rsv-text);
}

.rsv-service-main p {
    margin: 0 0 8px;
}

.rsv-service-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.rsv-tag-yellow,
.rsv-tag-soft {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
}

.rsv-tag-yellow {
    background: #fff6dc;
    color: var(--rsv-yellow-text);
    border: 1px solid #f0dc9d;
}

.rsv-tag-soft {
    background: #f2faf7;
    color: var(--rsv-green-dark);
    border: 1px solid #d9efe7;
}

.rsv-service-price {
    font-size: 1rem;
    font-weight: 800;
    white-space: nowrap;
    color: var(--rsv-text);
}

.rsv-date-btn,
.rsv-hour-btn {
    width: 100%;
    text-align: left;
    border: 1px solid var(--rsv-line);
    background: var(--rsv-white);
    border-radius: var(--rsv-radius-sm);
    padding: 14px;
    cursor: pointer;
    box-shadow: var(--rsv-shadow-soft);
    transition: 0.18s ease;
    color: var(--rsv-text);
}

.rsv-date-btn:hover,
.rsv-hour-btn:hover {
    border-color: #b9ddd2;
    background: #fcfffe;
}

.rsv-date-btn.is-selected,
.rsv-hour-btn.is-selected {
    background: var(--rsv-green);
    border-color: var(--rsv-green);
    color: #fff;
}

.rsv-date-btn strong,
.rsv-hour-btn strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.rsv-empty-box {
    border: 1px dashed #cfd8dd;
    border-radius: var(--rsv-radius-sm);
    padding: 18px;
    background: #fafcfc;
}

.rsv-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 8px;
}

.rsv-field {
    display: grid;
    gap: 8px;
}

.rsv-field label {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--rsv-text);
}

.rsv-field input {
    width: 100%;
    height: 46px;
    border: 1px solid var(--rsv-line);
    border-radius: var(--rsv-radius-sm);
    padding: 0 14px;
    font: inherit;
    font-size: 0.98rem;
    outline: none;
    box-shadow: var(--rsv-shadow-soft);
    background: var(--rsv-white);
    color: var(--rsv-text);
}

.rsv-field input:focus {
    border-color: #b8ddd1;
}

.rsv-summary {
    display: grid;
    gap: 10px;
}

.rsv-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.94rem;
}

.rsv-summary-row strong {
    color: var(--rsv-text);
    text-align: right;
}

.rsv-summary-total {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--rsv-line);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    color: var(--rsv-text);
}

.rsv-summary-total b {
    font-size: 1.35rem;
}

.rsv-inline-note {
    margin-top: 14px;
    padding: 14px;
    border-radius: var(--rsv-radius-sm);
    border: 1px solid #d9efe7;
    background: #ffffff;
    line-height: 1.6;
    color: var(--rsv-text);
    font-size: 0.92rem;
}

.rsv-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.rsv-btn {
    min-height: 44px;
    padding: 0 18px;
    border-radius: var(--rsv-radius-sm);
    border: 1px solid transparent;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: var(--rsv-shadow-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-align: center;
    transition: 0.18s ease;
    text-decoration: none;
}

.rsv-btn:hover {
    transform: translateY(-1px);
}

.rsv-btn-primary {
    background: var(--rsv-green);
    color: #fff;
    border-color: var(--rsv-green);
}

.rsv-btn-primary:hover {
    background: var(--rsv-green-dark);
    border-color: var(--rsv-green-dark);
    color: #fff;
}

.rsv-btn-secondary {
    background: var(--rsv-white);
    color: var(--rsv-text);
    border-color: var(--rsv-line);
}

.rsv-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

.rsv-success-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(18, 24, 28, 0.55);
    z-index: 9999;
}

.rsv-success-modal.is-visible {
    display: flex;
}

.rsv-success-modal-dialog {
    width: min(520px, 100%);
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
    padding: 28px 24px 22px;
    text-align: center;
    animation: rsv-modal-pop 0.22s ease-out;
}

@keyframes rsv-modal-pop {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(8px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.rsv-modal-success-icon {
    width: 86px;
    height: 86px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2fc39a, #25a985);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.3rem;
    font-weight: 900;
    box-shadow: 0 12px 30px rgba(47, 195, 154, 0.28);
}

.rsv-modal-title {
    margin: 0 0 10px;
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--rsv-text);
}

.rsv-modal-text {
    margin: 0 0 16px;
    color: var(--rsv-muted);
    line-height: 1.6;
}

.rsv-modal-detail-list {
    display: grid;
    gap: 10px;
    margin: 0 0 20px;
    text-align: left;
}

.rsv-modal-detail-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--rsv-line);
    border-radius: 10px;
    background: #fafcfc;
}

.rsv-modal-detail-item span {
    color: var(--rsv-muted);
}

.rsv-modal-detail-item strong {
    color: var(--rsv-text);
    text-align: right;
}

@media (max-width: 991.98px) {
    .rsv-stage-wrap {
        height: 560px;
        min-height: 560px;
        max-height: 560px;
    }

    .rsv-hero-grid,
    .rsv-agenda-layout,
    .rsv-summary-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .rsv-photo-box {
        min-height: 220px;
    }

    .rsv-services-card {
        height: 430px;
    }

    .rsv-fixed-card {
        height: 360px;
        min-height: 360px;
        max-height: 360px;
    }
}

@media (max-width: 767.98px) {

    .rsv-booking-panel,
    .rsv-top-actions {
        padding: 14px;
    }

    .rsv-stage-wrap {
        height: 600px;
        min-height: 600px;
        max-height: 600px;
    }

    .rsv-field-grid {
        grid-template-columns: 1fr;
    }

    .rsv-service-card {
        grid-template-columns: 64px 1fr;
    }

    .rsv-service-price {
        grid-column: 2;
    }

    .rsv-actions {
        flex-direction: column-reverse;
    }

    .rsv-actions .rsv-btn {
        width: 100%;
    }

    .rsv-modal-detail-item {
        flex-direction: column;
    }

    .rsv-modal-detail-item strong {
        text-align: left;
    }

    .rsv-fixed-card {
        height: 300px;
        min-height: 300px;
        max-height: 300px;
    }
}