/*------------------------------------*\
    Table of contents
\*------------------------------------*/

.navbar-brand svg.logo {
    max-height: 50px;
    width: auto;
}

/* --- Date-Time-Picker --- */
div.datetime-container,
div.datetime-container * {
    box-sizing: border-box;
    font-family: 'Inter', arial, sans-serif;
}

.fix-float:after {
    clear: both;
    content: "";
    display: table;
}

div.datetime-container {
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 5px 5px 0 0;
    margin: 5px 0;
    position: relative;
    text-align: center;
    user-select: none;
}

div.datetime-container button.date,
div.datetime-container button.time {
    appearance: none;
    -webkit-appearance: none;
    background-color: #ffffff;
    border: 0;
    border-radius: 5px 5px 0 0;
    cursor: pointer;
    outline: 0;
    padding: 0;
    text-transform: uppercase;
    width: 100%;
}

div.datetime-container button.w-50 {
    float: left;
    width: 50%;
}

/* Optimized Picker Active State */
div.datetime-container button.active {
    background-color: var(--primary);
    color: #ffffff;
}

div.datetime-container button>span {
    display: inline-block;
    margin: 0 -2px;
}

div.datetime-container button span.week-day {
    font-size: 14px;
    text-align: right;
}

div.datetime-container button span.hours,
div.datetime-container button span.month-day {
    font-size: 36px;
    text-align: center;
    width: 45px;
}

div.datetime-container button span.month-year {
    font-size: 16px;
    text-align: left;
}

div.datetime-container span.month-year span {
    font-size: 14px;
    font-weight: 700;
    position: relative;
    top: 2px;
}

div.datetime-container button span.minutes {
    font-size: 18px;
}

div.picker {
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    border-top: none;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: none;
    padding: 0 5px 10px;
    position: absolute;
    width: 100%;
    z-index: 2;
}

div.picker table {
    border-collapse: collapse;
    color: var(--text-main);
    margin: 0 auto;
    width: 100%;
}

div.picker table a {
    color: var(--text-main);
    display: inline-block;
    height: 20px;
    line-height: 20px;
    text-decoration: none;
    width: 20px;
}

div.picker table th {
    font-size: 20px;
    font-weight: 400;
}

div.picker table th span.month {
    font-weight: 700;
}

div.picker table td,
div.picker table th {
    border-bottom: 1px solid var(--border-light);
    padding: 10px 2px;
    text-align: center;
    vertical-align: middle;
    width: 14.285%;
}

div.picker table td.day-label {
    font-size: 14px;
    text-transform: uppercase;
}

div.picker table td.selectable {
    cursor: pointer;
}

div.picker table td.selectable:hover {
    font-weight: 700;
    color: var(--primary);
}

div.picker table a.disabled,
div.picker table td.disabled {
    color: #cccccc;
}

div.picker table td.end-day,
div.picker table td.start-day,
div.picker table td.time-selected {
    background-repeat: no-repeat;
    font-weight: 700;
}

div.picker table td.start-day {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Cpath fill='%23FFF' d='m0 14 6-7-6-7'/%3E%3C/svg%3E");
    background-position: 0;
}

div.picker table td.end-day {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Cpath fill='%23FFF' d='M14 0 8 7l6 7'/%3E%3C/svg%3E");
    background-position: 100%;
}

div.picker table td.start-day.end-day {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Cpath fill='%23FFF' d='m0 14 6-7-6-7'/%3E%3C/svg%3E"), url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Cpath fill='%23FFF' d='M14 0 8 7l6 7'/%3E%3C/svg%3E");
    background-position: 0, 100%;
}

/* Replaced Yellow and Green with brand colors */
div.picker table td.active,
div.picker table td.time-selected {
    background-color: var(--primary);
    color: #ffffff;
}

div.picker table td.inactive {
    background-color: var(--primary-hover);
    color: #ffffff;
    opacity: 0.7;
}

div.picker table td.range {
    background-color: rgba(94, 48, 38, 0.05);
}

div.picker table td select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='15' height='15' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.02 7.409v-3.98L7.752 7.854 2.485 3.43v3.978l5.267 4.426z'/%3E%3C/svg%3E");
    background-position: right .7em top 50%;
    background-repeat: no-repeat;
    background-size: .65em auto;
    border: 0;
    border-radius: 5px 5px 0 0;
    font-size: 18px;
    height: 40px;
    outline: none;
    padding: 0 5px;
    width: 60px;
}

div.picker table td select::-ms-expand {
    display: none;
}

div.picker button.confirm {
    appearance: none;
    -webkit-appearance: none;
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 5px 5px 0 0;
    cursor: pointer;
    height: 40px;
    outline: 0;
    padding: 10px;
    text-transform: uppercase;
    font-weight: bold;
    color: var(--primary);
}

/* --- Chocolat Lightbox --- */
.chocolat-zoomable.chocolat-zoomed {
    cursor: zoom-out;
}

.chocolat-open {
    overflow: hidden;
}

.chocolat-overlay {
    transition: opacity 0.4s ease, visibility 0s 0.4s ease;
    height: 100%;
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10;
    background-color: #000;
    visibility: hidden;
    opacity: 0;
}

.chocolat-overlay.chocolat-visible {
    transition: opacity 0.4s, visibility 0s;
    visibility: visible;
    opacity: 0.8;
}

.chocolat-wrapper {
    transition: opacity 0.4s ease, visibility 0s 0.4s ease;
    width: 100%;
    height: 100%;
    position: fixed;
    opacity: 0;
    left: 0;
    top: 0;
    z-index: 16;
    color: #fff;
    visibility: hidden;
}

.chocolat-wrapper.chocolat-visible {
    transition: opacity 0.4s, visibility 0s;
    opacity: 1;
    visibility: visible;
}

.chocolat-zoomable .chocolat-img {
    cursor: zoom-in;
}

.chocolat-loader {
    transition: opacity 0.3s;
    height: 32px;
    width: 32px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -16px;
    margin-top: -16px;
    z-index: 11;
    background: url(../images/chocolat/loader.gif);
    opacity: 0;
}

.chocolat-loader.chocolat-visible {
    opacity: 1;
}

.chocolat-image-wrapper {
    position: fixed;
    width: 0px;
    height: 0px;
    left: 50%;
    top: 50%;
    z-index: 14;
    text-align: left;
    transform: translate(-50%, -50%);
}

.chocolat-image-wrapper .chocolat-img {
    position: absolute;
    width: 100%;
    height: 100%;
}

.chocolat-wrapper .chocolat-left {
    width: 50px;
    height: 100px;
    cursor: pointer;
    background: url(../images/chocolat/left.png) 50% 50% no-repeat;
    z-index: 17;
    visibility: hidden;
}

.chocolat-layout {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.chocolat-image-canvas {
    transition: opacity .2s;
    opacity: 0;
    flex-grow: 1;
    align-self: stretch;
}

.chocolat-image-canvas.chocolat-visible {
    opacity: 1;
}

.chocolat-center {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
}

.chocolat-wrapper .chocolat-right {
    width: 50px;
    height: 100px;
    cursor: pointer;
    background: url(../images/chocolat/right.png) 50% 50% no-repeat;
    z-index: 17;
    visibility: hidden;
}

.chocolat-wrapper .chocolat-right.active,
.chocolat-wrapper .chocolat-left.active {
    visibility: visible;
}

.chocolat-wrapper .chocolat-top {
    height: 50px;
    overflow: hidden;
    z-index: 17;
    flex-shrink: 0;
}

.chocolat-wrapper .chocolat-close {
    width: 50px;
    height: 50px;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
    background: url(../images/chocolat/close.png) 50% 50% no-repeat;
}

.chocolat-wrapper .chocolat-bottom {
    height: 40px;
    font-size: 12px;
    z-index: 17;
    padding-left: 15px;
    padding-right: 15px;
    background: rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.chocolat-wrapper .chocolat-set-title {
    display: inline-block;
    padding-right: 15px;
    line-height: 1;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.chocolat-wrapper .chocolat-pagination {
    float: right;
    display: inline-block;
    padding-left: 15px;
    padding-right: 15px;
    margin-right: 15px;
}

.chocolat-wrapper .chocolat-fullscreen {
    width: 16px;
    height: 40px;
    display: block;
    cursor: pointer;
    float: right;
    background: url(../images/chocolat/fullscreen.png) 50% 50% no-repeat;
}

.chocolat-wrapper .chocolat-description {
    display: inline-block;
    flex-grow: 1;
    text-align: left;
}

body.chocolat-open>.chocolat-overlay,
body.chocolat-open>.chocolat-loader {
    z-index: 15;
}

body.chocolat-open>.chocolat-image-wrapper {
    z-index: 17;
}

.chocolat-in-container .chocolat-wrapper,
.chocolat-in-container .chocolat-image-wrapper,
.chocolat-in-container .chocolat-overlay {
    position: absolute;
}

.chocolat-in-container {
    position: relative;
}

.chocolat-zoomable.chocolat-zooming-in .chocolat-image-wrapper,
.chocolat-zoomable.chocolat-zooming-out .chocolat-image-wrapper {
    transition: width .2s ease, height .2s ease;
}

.chocolat-zoomable.chocolat-zooming-in .chocolat-img,
.chocolat-zoomable.chocolat-zooming-out .chocolat-img {
    transition: margin .2s ease;
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@400;500;600&display=swap');

/* --- Mellow Brand & Serene Theme Variables --- */
:root {
    --primary: #5E3026;
    --primary-hover: #46231c;
    --header-bg: #ffffff;
    --header-text: #2c2825;
    --header-muted: #8a847e;
    --bg-color: #ffffff;
    --surface: #ffffff;
    --text-main: #333333;
    --text-muted: #777777;
    --border-light: #e6e4df;

    /* Tags and Badges matching the primary color scheme */
    --tag-bg: rgba(94, 48, 38, 0.08);
    --tag-text: #5E3026;
    --price-strike: #a8a39d;
    --discount-bg: rgba(94, 48, 38, 0.08);
    --discount-text: #5E3026;
    --card-radius: 4px;
}

/* --- Global Reset --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.serif-text {
    font-family: 'Playfair Display', serif;
    color: var(--header-text);
}

/* --- Desktop Header --- */
.site-header {
    background-color: var(--header-bg);
    color: var(--header-text);
    height: 72px;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.header-logo-section {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    min-width: 250px;
}

.back-btn {
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.back-btn:hover {
    color: var(--primary);
}

.hotel-info {
    display: flex;
    flex-direction: column;
}

.hotel-info h1 {
    font-size: 1.1rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 250px;
}

.hotel-info p {
    font-size: 0.75rem;
    color: var(--header-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.header-divider {
    width: 1px;
    height: 32px;
    background-color: var(--border-light);
    margin: 0 2rem;
}

/* Header Stepper */
.stepper-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: auto;
}

.stepper {
    display: flex;
    align-items: center;
}

.step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--header-muted);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.step.active {
    color: var(--header-text);
    font-weight: 600;
}

.step-num {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    border: 1px solid var(--border-light);
    background: var(--surface);
}

.step.active .step-num {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

.step-line {
    height: 1px;
    width: 40px;
    background-color: var(--border-light);
    margin: 0 1rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-btn {
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-main);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.header-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* --- Main Layout --- */
.layout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

/* --- Sticky Sidebar (Booking Widget) --- */
.booking-sidebar {
    width: 340px;
    background: var(--surface);
    border-radius: var(--card-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 100px;
    flex-shrink: 0;
    border: 1px solid var(--border-light);
}

.sidebar-inner {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 0.95rem;
}

.summary-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.sidebar-divider {
    height: 1px;
    background-color: var(--border-light);
}

.guest-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.guest-info strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
}

.guest-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.counter {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.counter button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    background: white;
    cursor: pointer;
    font-weight: 400;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: all 0.2s;
}

.counter button:not(:disabled):hover {
    border-color: var(--primary);
    color: var(--primary);
}

.counter button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: var(--bg-color);
}

.promo-link {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
}

.promo-link:hover {
    color: var(--primary-hover);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.85rem 1rem;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

/* --- Room List (Main Content) --- */
.main-content {
    flex: 1;
    min-width: 0;
}

.content-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-style: italic;
}

/* Room Card */
.room-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--card-radius);
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.room-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

.room-card-body {
    display: flex;
    height: 200px;
}

.room-image {
    width: 300px;
    position: relative;
    flex-shrink: 0;
    background: var(--border-light);
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tag-special {
    position: absolute;
    top: 1rem;
    left: -0.5rem;
    background-color: var(--tag-bg);
    color: var(--tag-text);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 2px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 10;
}

.room-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.room-name {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.room-meta {
    display: flex;
    gap: 1.25rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.room-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.amenities-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-top: 1px dashed var(--border-light);
    padding-top: 1rem;
    margin-top: auto;
}

.amenity {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.amenity-icon {
    color: var(--primary);
    font-size: 1.1rem;
}

.more-amenities {
    color: var(--primary);
    font-weight: 500;
    cursor: pointer;
    margin-left: auto;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Card Footer */
.room-footer {
    border-top: 1px solid var(--border-light);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--surface);
    /* Changed to pure white */
}

.price-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.price-wrap {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 0.25rem 0;
}

.price-original {
    text-decoration: line-through;
    color: var(--price-strike);
    font-size: 0.85rem;
}

.price-current {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-main);
    font-family: 'Playfair Display', serif;
}

.price-per {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.discount-badge {
    background-color: var(--discount-bg);
    color: var(--discount-text);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
}

.tax-note {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.btn-select {
    width: auto;
    padding: 0.75rem 1.5rem;
}

@media (max-width: 1024px) {

    .stepper-container,
    .header-divider {
        display: none;
    }

    .layout-container {
        flex-direction: column;
    }

    .booking-sidebar {
        width: 100%;
        position: static;
    }
}

@media (max-width: 640px) {
    .room-card-body {
        flex-direction: column;
        height: auto;
    }

    .room-image {
        width: 100%;
        height: 220px;
    }

    .room-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem;
    }

    .btn-select {
        width: 100%;
    }
}

/* --- Add-on Specific Styles --- */
.addon-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--card-radius);
    margin-bottom: 1.25rem;
    display: flex;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.addon-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.addon-image {
    width: 180px;
    flex-shrink: 0;
    background: var(--border-light);
}

.addon-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.addon-details {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.addon-title {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.addon-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0;
}

.addon-action-area {
    padding: 1.5rem;
    border-left: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    min-width: 200px;
    background-color: var(--surface);
    /* Changed to pure white */
}

.addon-price {
    font-size: 1.15rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.25rem;
}

.addon-unit {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 4px;
    padding: 0.6rem 1.25rem;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

.page-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.link-back {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
}

.link-back:hover {
    color: var(--text-main);
}

/* --- Guest Information Form Styles --- */
.form-section {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--card-radius);
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.form-section-title {
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    border-bottom: 1px dashed var(--border-light);
    padding-bottom: 0.75rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-grid.full-width {
    grid-template-columns: 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-label span {
    color: var(--discount-text);
}

.form-control {
    font-family: inherit;
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    background-color: var(--bg-color);
    color: var(--text-main);
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--surface);
    box-shadow: 0 0 0 1px var(--primary);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
}

.checkbox-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

@media (max-width: 640px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-section {
        padding: 1.5rem;
    }
}

/* --- Payment Page Specific Styles --- */
.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.payment-method-card {
    border: 1px solid var(--border-light);
    border-radius: var(--card-radius);
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    cursor: pointer;
    background-color: var(--surface);
    transition: all 0.2s ease;
    text-align: center;
}

.payment-method-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.payment-method-card input[type="radio"] {
    display: none;
}

.payment-method-card:has(input[type="radio"]:checked) {
    border-color: var(--primary);
    background-color: var(--surface);
    /* Changed to pure white */
    box-shadow: 0 0 0 1px var(--primary);
}

.payment-icon {
    font-size: 1.75rem;
    color: var(--text-main);
}

.payment-method-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-main);
}

.secure-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #4b5563;
    background-color: rgba(94, 48, 38, 0.05);
    /* Tinted white */
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-light);
}

.secure-badge span {
    color: var(--primary);
}

.policy-box {
    background-color: var(--surface);
    /* Changed to pure white */
    border: 1px solid var(--border-light);
    border-radius: var(--card-radius);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.policy-box p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.policy-box p:last-child {
    margin-bottom: 0;
}

.policy-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

/* --- Checkout / Focused Layout Styles --- */
.layout-focused {
    max-width: 850px;
    margin: 0 auto;
    display: block;
}

.summary-header-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed var(--border-light);
}

.summary-detail-block h5 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.summary-detail-block p {
    font-size: 0.95rem;
    color: var(--text-main);
    font-weight: 500;
}

.invoice-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

.invoice-item.subtext {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.invoice-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main);
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
    font-family: 'Playfair Display', serif;
}

/* --- Confirmation Page Specific Styles --- */
.success-header-block {
    text-align: center;
    margin-bottom: 3rem;
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: var(--tag-bg);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem auto;
    border: 2px solid var(--border-light);
}

.reservation-code-box {
    background-color: var(--surface);
    border: 2px dashed var(--primary);
    border-radius: var(--card-radius);
    padding: 1.5rem;
    text-align: center;
    margin: 2rem auto;
    max-width: 400px;
}

.reservation-code-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.reservation-code-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 0.1em;
}

/* Thematic Alert Box */
.confirmation-alert {
    background-color: rgba(94, 48, 38, 0.05);
    border: 1px solid var(--border-light);
    color: var(--primary);
    padding: 1rem 1.5rem;
    border-radius: var(--card-radius);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-secondary {
    background-color: var(--surface);
    color: var(--text-main);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 0.85rem 1.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    border-color: var(--text-main);
    background-color: #faf9f7;
}

.action-buttons-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* --- Reservation History Specific Styles --- */
.history-tabs {
    display: flex;
    gap: 2rem;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 2rem;
}

.history-tab {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    padding-bottom: 0.75rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.history-tab.active {
    color: var(--text-main);
    border-bottom-color: var(--primary);
}

.reservation-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--card-radius);
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.reservation-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.reservation-card summary {
    list-style: none;
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--surface);
    transition: background-color 0.2s ease;
}

.reservation-card summary::-webkit-details-marker {
    display: none;
}

.reservation-card summary:hover {
    background-color: rgba(94, 48, 38, 0.02);
}

/* Subtle hover */

.res-summary-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.res-hotel-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0;
}

.res-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.res-summary-right {
    display: flex;
    align-items: center;
    gap: 2rem;
    text-align: right;
}

.res-price-block {
    display: flex;
    flex-direction: column;
}

.res-price {
    font-size: 1.15rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
}

.status-badge {
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-upcoming {
    background-color: rgba(94, 48, 38, 0.1);
    color: var(--primary);
    border: 1px solid var(--border-light);
}

.status-completed {
    background-color: #f3f4f6;
    color: #4b5563;
    border: 1px solid var(--border-light);
}

.btn-toggle {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    pointer-events: none;
}

.reservation-card[open] .btn-toggle .arrow {
    transform: rotate(180deg);
}

.reservation-details {
    padding: 2rem 1.5rem;
    border-top: 1px dashed var(--border-light);
    background-color: var(--surface);
    /* Pure white background */
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.res-actions {
    display: flex;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

@media (max-width: 768px) {
    .reservation-card summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .res-summary-right {
        width: 100%;
        justify-content: space-between;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }
}

.carousel-indicators button {
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    border: 0 !important;
    margin: 0 4px !important;
    background-color: #fff !important;
    opacity: 0.4 !important;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.carousel-indicators button.active {
    opacity: 1 !important;
    background-color: var(--primary) !important;
    transform: scale(1.2);
}

.room-swiper {
    padding: 0 60px !important;
}

.room-swiper-prev,
.room-swiper-next {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 44px !important;
    height: 44px !important;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    z-index: 10;
}

.room-swiper-prev {
    left: 5px !important;
}

.room-swiper-next {
    right: 5px !important;
}

.room-swiper-prev i,
.room-swiper-next i {
    color: var(--primary) !important;
    font-size: 1.1rem;
    font-weight: bold;
}

.room-swiper-prev:hover,
.room-swiper-next:hover {
    background-color: var(--primary) !important;
}

.room-swiper-prev:hover i,
.room-swiper-next:hover i {
    color: #ffffff !important;
}

.btn-mellow {
    background-color: var(--primary);
    color: #ffffff;
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
}

.btn-mellow:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #ffffff;
}

.custom-input {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02) inset;
    transition: box-shadow 0.2s ease;
    background-color: #ffffff;
    border: 1px solid var(--border-light) !important;
}

.custom-input:focus {
    box-shadow: 0 0 0 3px rgba(94, 48, 38, 0.15);
    outline: none;
    border-color: var(--primary) !important;
}

.custom-switch:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.custom-input.is-invalid {
    border: 1px solid #dc3545 !important;
    background-image: none;
}

.custom-input.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.25);
    border-color: #dc3545 !important;
}

.btn-outline-mellow {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
}

.btn-outline-mellow:hover {
    background-color: rgba(94, 48, 38, 0.05);
    color: var(--primary);
}

.custom-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.custom-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .08) !important;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, .125);
}

.accordion-button:not(.collapsed) {
    background-color: #ffffff;
    color: var(--primary);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
}

.accordion-button::after {
    filter: brightness(0) saturate(100%) invert(20%) sepia(19%) saturate(1915%) hue-rotate(334deg) brightness(97%) contrast(98%);
}

.select-btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
    background-color: transparent;
}

.select-btn-outline:hover:not(:disabled) {
    background-color: rgba(94, 48, 38, 0.05);
}

.select-btn-filled {
    background-color: var(--primary);
    color: white;
    border: 1px solid var(--primary);
}

.qty-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--primary);
    background-color: white;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.2s;
    line-height: 0;
}

.qty-btn:hover:not(:disabled) {
    background-color: rgba(94, 48, 38, 0.05);
}

.qty-btn:disabled {
    border-color: #ccc;
    color: #ccc;
    cursor: not-allowed;
}

#sticky-footer {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(100%);
}

.availability-page .room-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.availability-page .room-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(94, 48, 38, 0.08) !important;
}
