/* Modern Hotel Booking Styles */

:root {
    --mhbo-primary: #1a365d;
    --mhbo-secondary: #f2e2c4;
    --mhbo-accent: #d4af37;
    --mhbo-accent-light: #dfc28d;
    --mhbo-bg: #ffffff;
    --mhbo-text: #1e293b;
    --mhbo-text-light: #64748b;
    --mhbo-border: color-mix(in srgb, var(--mhbo-primary) 15%, transparent);
    --mhbo-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --mhbo-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --mhbo-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --mhbo-glass: rgba(255, 255, 255, 0.85);
    
    /* Scrollbar Vars */
    scrollbar-width: thin;
    scrollbar-color: var(--mhbo-primary) transparent;
}

/* Global Focus Ring Reform (2026 BP) */
:focus-visible {
    outline: none !important;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--mhbo-primary), transparent 60%) !important;
    border-color: var(--mhbo-primary) !important;
}

/* Custom Scrollbar (WebKit) */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: var(--mhbo-primary);
    border-radius: 10px;
    opacity: 0.5;
}
::-webkit-scrollbar-thumb:hover {
    background: color-mix(in srgb, var(--mhbo-primary), black 20%);
}
:root {
    --mhbo-radius: 12px;
    --mhbo-radius-lg: 24px;
    --mhbo-shimmer-bg: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%);
}

/* Shimmer Animation */
@keyframes mhbo-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.mhbo-is-loading {
    position: relative;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.mhbo-is-loading::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--mhbo-shimmer-bg);
    animation: mhbo-shimmer 1.5s infinite;
}

/* Container */
.mhbo-wrapper {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    color: var(--mhbo-text) !important;
}

/* Search Form */
.mhbo-search-container {
    background: var(--mhbo-glass);
    backdrop-filter: blur(10px);
    padding: 35px;
    border-radius: 24px;
    box-shadow: var(--mhbo-shadow);
    margin-bottom: 60px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-sizing: border-box;
    max-width: 100%;
}

.mhbo-search-form {
    display: flex;
    gap: 20px;
    width: 100%;
    flex-wrap: wrap;
    align-items: flex-end;
    box-sizing: border-box;
}

.mhbo-form-group-btn {
    flex: 0 0 auto !important;
}

/* Flatpickr Customization */
.flatpickr-calendar {
    font-family: inherit !important;
    border-color: var(--mhbo-primary) !important;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--mhbo-primary) 15%, transparent) !important;
    border: none !important;
    padding: 10px;
}

.flatpickr-day.selected {
    background: var(--mhbo-primary) !important;
    border-color: var(--mhbo-primary) !important;
}

.mhbo-form-group {
    flex: 1;
    min-width: 180px;
    max-width: 100%;
    box-sizing: border-box;
}

.mhbo-form-group label {
    display: block;
    margin-bottom: 14px;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--mhbo-primary);
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.mhbo-form-group input,
.mhbo-form-group select {
    width: 100%;
    max-width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--mhbo-border);
    border-radius: 12px;
    font-size: 1rem;
    background: #fff;
    transition: all 0.3s ease;
    color: var(--mhbo-text);
    font-weight: 500;
    box-sizing: border-box;
    height: 54px !important;
}

.mhbo-form-group input:focus,
.mhbo-form-group select:focus,
.mhbo-form-group textarea:focus {
    border-color: var(--mhbo-accent);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--mhbo-accent) 15%, transparent);
    outline: none;
}

.mhbo-form-group input[type="number"] {
    min-width: 100px;
    width: auto;
}

/* Range Date Picker Polish */
.mhbo-range-datepicker {
    cursor: pointer !important;
    position: relative !important;
    background-image: none !important; /* Remove old static icon */
    padding-right: 48px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    height: 54px !important;
}

/* Modern 2026: Theme-aware mask-image icon */
.mhbo-range-datepicker::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-color: var(--mhbo-primary);
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z'%3E%3C/path%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z'%3E%3C/path%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    opacity: 0.7;
    pointer-events: none;
}

.mhbo-form-group textarea {
    width: 100%;
    padding: 18px;
    border: 1.5px solid var(--mhbo-border);
    border-radius: 12px;
    font-size: 1.1rem;
    background: #fff;
    transition: all 0.3s ease;
    color: var(--mhbo-text);
    resize: vertical;
    line-height: 1.6;
}

.mhbo-btn {
    background: linear-gradient(135deg, var(--mhbo-primary) 0%, color-mix(in srgb, var(--mhbo-primary), #000 20%) 100%) !important;
    color: #ffffff !important;
    padding: 14px 40px !important;
    border: none !important;
    border-radius: 12px !important;
    font-family: inherit !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    height: 54px !important;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--mhbo-primary) 20%, transparent) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin: 0 !important;
    width: auto !important;
    max-width: 100% !important;
    text-decoration: none !important;
    line-height: normal !important;
    box-sizing: border-box !important;
    position: relative;
    overflow: hidden;
}

.mhbo-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 15px -3px color-mix(in srgb, var(--mhbo-primary), transparent 70%), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
    filter: brightness(1.1) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

.mhbo-btn:active {
    transform: translateY(0) !important;
}

/* Loading Spinner */
.mhbo-btn.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.mhbo-btn.loading::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 24px;
    height: 24px;
    border: 3px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: mhbo-spin 0.8s linear infinite;
    transform: translate(-50%, -50%);
}

@keyframes mhbo-spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Room Grid */
.mhbo-rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 40px;
}

.mhbo-room-card {
    background: #fff;
    border: 1px solid var(--mhbo-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--mhbo-shadow);
}

.mhbo-room-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    border-color: var(--mhbo-accent-light);
}

.mhbo-room-content {
    padding: 35px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mhbo-room-title {
    font-size: 1.6rem;
    margin: 0 0 15px 0;
    color: var(--mhbo-primary);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.mhbo-room-price {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--mhbo-text);
    margin-bottom: 20px;
}

.mhbo-room-price span {
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    margin-left: 5px;
}

.mhbo-room-details {
    margin-bottom: 25px;
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 500;
}

.mhbo-room-card form {
    width: 100%;
    display: flex !important;
    justify-content: center !important;
    margin-top: 20px !important;
}

.mhbo-payment-options {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.mhbo-payment-options label {
    background: #fff;
    border: 1.5px solid var(--mhbo-border);
    padding: 18px 25px;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    flex: 1;
    min-width: 180px;
}

.mhbo-payment-options input[type="radio"]:checked+span,
.mhbo-payment-options label:has(input:checked) {
    border-color: var(--mhbo-accent);
    background: #fdfcf6;
    color: var(--mhbo-primary);
    box-shadow: 0 0 0 3px var(--mhbo-accent);
}

/* Booking Form */
.mhbo-booking-wrapper {
    background: var(--mhbo-glass) !important;
    backdrop-filter: blur(12px) !important;
    padding: 60px !important;
    border-radius: 28px !important;
    box-shadow: var(--mhbo-shadow) !important;
    max-width: 800px !important;
    margin: 50px auto !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    display: block !important;
}

.mhbo-booking-summary {
    background: rgba(240, 247, 251, 0.6);
    padding: 35px;
    border-radius: 20px;
    margin-bottom: 40px;
    border-left: 8px solid var(--mhbo-primary);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.08);
}

.mhbo-booking-summary h3 {
    margin-top: 0;
    color: var(--mhbo-primary);
    font-weight: 900;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.mhbo-booking-summary div {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #2d3748;
}

/* Booking Form Check-in/out Time Display */
.mhbo-booking-times {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed var(--mhbo-border);
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.mhbo-booking-time-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mhbo-booking-time-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #718096;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.mhbo-booking-time-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: #2d3748;
}

.mhbo-booking-time-value .mhbo-time-info {
    display: inline;
    font-size: 0.8rem;
    color: #718096;
    font-weight: 500;
    font-style: italic;
    margin-left: 6px;
}

/* Extras Section (Pro) */
/* Modern Extras Grid (2026 Edition) */
.mhbo-extras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 45px;
    perspective: 1200px;
}

.mhbo-extra-card {
    position: relative;
    background: var(--mhbo-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    padding: 0;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: visible;
}

.mhbo-extra-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--mhbo-shadow-lg);
    border-color: var(--mhbo-accent-light);
}

.mhbo-extra-card.selected {
    border: 2px solid var(--mhbo-accent);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(212, 175, 55, 0.08) 100%);
    box-shadow: 0 10px 15px -3px rgba(212, 175, 55, 0.2);
}

.mhbo-extra-card-content {
    display: block;
    width: 100%;
    padding: 24px;
    cursor: pointer;
    /* Resets for when rendered as <label> */
    font-weight: inherit;
    color: inherit;
}

.mhbo-hidden-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.mhbo-extra-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.mhbo-extra-icon-wrapper {
    width: 48px;
    height: 48px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mhbo-accent);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mhbo-extra-card:hover .mhbo-extra-icon-wrapper {
    background: var(--mhbo-accent);
    color: #fff;
    transform: scale(1.1) rotate(5deg);
}

.mhbo-extra-title-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mhbo-extra-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--mhbo-primary);
    display: block;
}

.mhbo-extra-pricing-block {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 8px 0 6px;
    flex-wrap: wrap;
}

.mhbo-extra-price-tag {
    font-weight: 800;
    color: var(--mhbo-accent);
    font-size: 1.75rem;
    line-height: 1;
    letter-spacing: -0.5px;
}

.mhbo-extra-price-breakdown {
    font-size: 0.85rem;
    color: var(--mhbo-text-light);
    font-weight: 500;
    white-space: nowrap;
}

.mhbo-extra-price-breakdown:empty {
    display: none;
}

.mhbo-extra-desc {
    font-size: 0.875rem;
    color: var(--mhbo-text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.85;
}

.mhbo-extra-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 12px;
}

.mhbo-extra-model-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    font-weight: 600;
}

/* Selection indicator — circle in the card footer showing + (unselected) or ✓ (selected) */
.mhbo-extra-selection-indicator {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 2px;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease,
                box-shadow 0.25s ease;
}

/* + icon — unselected */
.mhbo-select-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1;
    color: #94a3b8;
    transition: color 0.2s ease, transform 0.2s ease;
    user-select: none;
}

.mhbo-select-icon::before {
    content: '+';
}

/* Hover state */
.mhbo-extra-card:hover .mhbo-extra-selection-indicator {
    border-color: var(--mhbo-accent);
    background: rgba(212, 175, 55, 0.08);
}

.mhbo-extra-card:hover .mhbo-select-icon {
    color: var(--mhbo-accent);
    transform: rotate(90deg);
}

/* Selected state */
.mhbo-extra-card.selected .mhbo-extra-selection-indicator {
    background: var(--mhbo-accent);
    border-color: var(--mhbo-accent);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.mhbo-extra-card.selected .mhbo-select-icon {
    color: #fff;
    transform: rotate(0deg);
}

.mhbo-extra-card.selected .mhbo-select-icon::before {
    content: '✓';
    font-size: 1.1rem;
    font-weight: 700;
}

/* =========================================================
   Compulsory Fees — locked, auto-applied extras section
   ========================================================= */

.mhbo-compulsory-fees-section {
    margin-bottom: 32px;
}

.mhbo-compulsory-fees-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #64748b;
    margin: 0 0 12px 0;
}

.mhbo-compulsory-grid {
    margin-bottom: 0 !important;
}

/* Compulsory card — distinct from selectable extras */
.mhbo-extra-card--compulsory {
    cursor: default;
    border-color: rgba(99, 102, 241, 0.25);
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(238,242,255,0.6) 100%);
}

.mhbo-extra-card--compulsory:hover {
    transform: none;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    border-color: rgba(99, 102, 241, 0.35);
}

.mhbo-extra-card--compulsory .mhbo-extra-icon-wrapper {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

.mhbo-extra-card--compulsory:hover .mhbo-extra-icon-wrapper {
    background: #6366f1;
    color: #fff;
    transform: none;
}

.mhbo-extra-card--compulsory .mhbo-extra-card-content {
    cursor: default;
}

/* "Included" badge next to the name */
.mhbo-compulsory-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    background: #6366f1;
    border-radius: 4px;
    padding: 2px 6px;
    line-height: 1.4;
    margin-top: 3px;
    align-self: flex-start;
}

/* Lock icon in card footer */
.mhbo-compulsory-lock-icon {
    font-size: 1rem;
    opacity: 0.55;
    flex-shrink: 0;
    line-height: 1;
}

/* Quantity Controls */
.mhbo-extra-quantity-controls {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border-radius: 20px;
    padding: 2px;
    border: 1px solid #e2e8f0;
}

.mhbo-qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: var(--mhbo-primary);
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.mhbo-qty-btn:hover {
    background: var(--mhbo-primary);
    color: #fff;
}

.mhbo-extra-qty-display {
    width: 36px;
    border: none !important;
    background: transparent !important;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0 !important;
    margin: 0 5px !important;
    color: var(--mhbo-primary);
    -moz-appearance: textfield;
    appearance: textfield;
}

.mhbo-extra-qty-display::-webkit-inner-spin-button,
.mhbo-extra-qty-display::-webkit-outer-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}


.mhbo-extra-item input[type="number"] {
    width: 70px !important;
    height: 40px !important;
}

.mhbo-extra-info {
    flex: 1;
    margin-left: 10px;
}

.mhbo-extra-price-tag.mhbo-impact-highlight {
    animation: pulseHighlight 0.5s ease;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

@keyframes pulseHighlight {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); color: var(--mhbo-accent-light); }
    100% { transform: scale(1); }
}

.mhbo-extra-desc {
    font-size: 0.95rem;
    color: #666;
    margin-top: 4px;
}

.mhbo-extra-price {
    font-weight: 800;
    color: var(--mhbo-text);
    margin-left: 15px;
}

/* Payment Section (Pro) */
.mhbo-payment-section {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 2px solid var(--mhbo-border);
}

.mhbo-payment-section h4 {
    margin-bottom: 20px;
    font-weight: 900;
    font-size: 1.3rem;
    color: var(--mhbo-primary);
    text-transform: uppercase;
}

.mhbo-payment-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mhbo-payment-option-wrapper {
    display: flex;
    flex-direction: column;
    border: 2px solid var(--mhbo-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
}

.mhbo-payment-option-wrapper:hover {
    border-color: var(--mhbo-accent);
}

.mhbo-payment-option-wrapper:has(input:checked) {
    border-color: var(--mhbo-accent);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mhbo-payment-option {
    display: flex;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
}

.mhbo-payment-option:hover {
    background: rgba(240, 247, 251, 0.5);
}

.mhbo-payment-option input[type="radio"] {
    width: 22px;
    height: 22px;
    margin-right: 18px;
    cursor: pointer;
}

.mhbo-payment-option .icon {
    font-size: 1.6rem;
    margin-right: 12px;
}

.mhbo-payment-option .label-text {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--mhbo-primary);
}

.mhbo-payment-detail {
    padding: 20px 25px;
    background: rgba(240, 247, 251, 0.5);
    border-top: 1px solid var(--mhbo-border);
}

/* Stripe Card Element Styling */
#mhbo-stripe-card-element {
    padding: 5px 0;
}

#mhbo-card-element {
    padding: 16px 18px;
    border: 1.5px solid var(--mhbo-border);
    border-radius: 12px;
    background: #fff;
    transition: all 0.3s ease;
    min-height: 54px;
}

#mhbo-card-element:focus-within {
    border-color: var(--mhbo-accent);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}

#mhbo-card-errors {
    margin-top: 12px;
    color: #ef4444;
    font-size: 0.95rem;
    font-weight: 500;
    min-height: 20px;
}

/* Stripe Element Label */
.mhbo-payment-detail label,
#mhbo-stripe-card-element .stripe-label {
    display: block;
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--mhbo-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* PayPal Button Container */
#mhbo-paypal-button-container {
    min-height: 50px;
    display: flex;
    justify-content: center;
}

#mhbo-paypal-button-container>div {
    width: 100%;
    max-width: 400px;
}

/* Payment Summary Box */
.mhbo-payment-summary {
    background: linear-gradient(135deg, color-mix(in srgb, var(--mhbo-primary) 5%, transparent) 0%, color-mix(in srgb, var(--mhbo-accent) 8%, transparent) 100%);
    border: 1.5px solid var(--mhbo-border);
    border-radius: 16px;
    padding: 25px;
    margin-top: 25px;
    margin-bottom: 25px;
}

.mhbo-payment-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed var(--mhbo-border);
}

.mhbo-payment-summary-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.mhbo-payment-summary-row.total {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--mhbo-primary);
    border-top: 2px solid var(--mhbo-primary);
    margin-top: 10px;
    padding-top: 18px;
}

.mhbo-payment-summary-label {
    font-weight: 600;
    color: #4a5568;
}

.mhbo-payment-summary-value {
    font-weight: 700;
    color: var(--mhbo-text);
}

/* Submit Button Container */
.mhbo-submit-container {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid var(--mhbo-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.mhbo-submit-container .mhbo-btn {
    min-width: 280px;
}

.mhbo-secure-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
}

.mhbo-secure-badge svg {
    width: 18px;
    height: 18px;
    color: var(--mhbo-primary);
}

.mhbo-onsite-info {
    background: color-mix(in srgb, var(--mhbo-secondary), transparent 80%) !important;
    border-color: var(--mhbo-secondary) !important;
}

.mhbo-onsite-info p {
    margin: 0;
    color: #166534;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* GDPR Consent (Pro) */
.mhbo-gdpr-consent {
    margin-top: 25px !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 15px !important;
}

.mhbo-gdpr-consent input[type="checkbox"] {
    width: 22px !important;
    height: 22px !important;
    margin-top: 4px !important;
    cursor: pointer !important;
}

.mhbo-gdpr-consent label {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    color: #4a5568 !important;
    font-weight: 500 !important;
    cursor: pointer !important;
}

.mhbo-gdpr-consent label a {
    color: var(--mhbo-primary) !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
}

/* Child Ages Layout */
.mhbo-child-age-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 10px 15px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid var(--mhbo-border);
}

.mhbo-child-age-group label {
    margin-bottom: 0;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: none;
    letter-spacing: 0;
}

.mhbo-child-age-group input {
    width: 80px !important;
    text-align: center;
}

/* Success/Status Messages (Modern 2026 Premium) */
:root {
    --mhbo-status-success: #10b981;
    --mhbo-status-pending: #f59e0b;
    --mhbo-status-failed: #ef4444;
}

.mhbo-success-message {
    --mhbo-current-status: var(--mhbo-status-success);
    text-align: center;
    padding: 80px 40px;
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin: 60px auto;
    animation: mhbo-fade-up 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.mhbo-success-message::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--mhbo-current-status);
}

/* Status Specific Overrides */
.mhbo-success-message.mhbo-status-pending { --mhbo-current-status: var(--mhbo-status-pending); }
.mhbo-success-message.mhbo-status-failed { --mhbo-current-status: var(--mhbo-status-failed); }

.mhbo-success-icon {
    width: 100px;
    height: 100px;
    background: color-mix(in srgb, var(--mhbo-current-status) 12%, #fff);
    color: var(--mhbo-current-status);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 35px;
    position: relative;
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--mhbo-current-status) 20%, transparent);
    animation: mhbo-icon-pulse 2s infinite, mhbo-scale-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes mhbo-icon-pulse {
    0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--mhbo-current-status) 40%, transparent); }
    70% { box-shadow: 0 0 0 20px color-mix(in srgb, var(--mhbo-current-status) 0%, transparent); }
    100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--mhbo-current-status) 0%, transparent); }
}

.mhbo-success-icon svg {
    width: 50px;
    height: 50px;
    stroke-width: 2.5;
}

.mhbo-success-message h3 {
    color: var(--mhbo-primary);
    font-size: 2.8rem;
    margin-bottom: 24px;
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.mhbo-success-message p {
    font-size: 1.25rem;
    color: var(--mhbo-text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.mhbo-reservation-id {
    background: var(--mhbo-glass);
    padding: 14px 28px;
    border-radius: 100px;
    display: inline-block;
    font-family: 'Outfit', 'Inter', monospace;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--mhbo-primary);
    margin: 10px 0 30px;
    border: 1px solid var(--mhbo-border);
}

.mhbo-stay-details {
    margin: 40px auto;
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid var(--mhbo-border) !important;
    text-align: left;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.mhbo-stay-row {
    display: grid;
    grid-template-columns: 1fr 1fr 0.5fr;
    gap: 30px;
}

.mhbo-stay-col strong {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    font-weight: 800;
}

.mhbo-stay-col .mhbo-stay-value {
    font-size: 1.35rem;
    color: var(--mhbo-primary);
    font-weight: 800;
    line-height: 1.2;
}

.mhbo-stay-date {
    display: block;
    margin-bottom: 2px;
}

.mhbo-stay-label {
    font-size: 0.7rem;
    color: #94a3b8 !important; /* Subtle gray, ignore theme accent here for better hierarchy */
    text-transform: uppercase;
    font-weight: 800;
    margin-right: 4px;
    letter-spacing: 0.5px;
}

.mhbo-stay-time {
    font-size: 1.2rem;
    color: var(--mhbo-current-status); /* Use the status color (green/amber) for the time too */
    font-weight: 700;
}

.mhbo-transaction-details {
    margin-top: 45px;
    padding-top: 35px;
    border-top: 1px solid #f1f5f9;
    text-align: left;
}

.mhbo-transaction-details p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05rem !important;
    margin-bottom: 16px !important;
    color: var(--mhbo-text);
}

.mhbo-badge-success, .mhbo-badge-pending, .mhbo-badge-failed {
    padding: 6px 16px;
    border-radius: 100px;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mhbo-badge-success { background: #dcfce7; color: #166534; }
.mhbo-badge-pending { background: #fef3c7; color: #92400e; }
.mhbo-badge-failed { background: #fee2e2; color: #991b1b; }

/* Tax Breakdown Receipt Look */
.mhbo-tax-breakdown {
    background: var(--mhbo-glass);
    border-radius: 20px;
    padding: 30px;
    margin-top: 40px;
    border: 1px solid var(--mhbo-border);
}

.mhbo-tax-breakdown-title {
    font-size: 1rem;
    font-weight: 900;
    color: var(--mhbo-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mhbo-tax-breakdown-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--mhbo-border);
}

.mhbo-tax-breakdown-table {
    width: 100%;
}

.mhbo-tax-breakdown-th {
    font-size: 0.75rem;
    color: #64748b;
    padding-bottom: 12px;
    font-weight: 800;
}

.mhbo-tax-breakdown-td {
    padding: 14px 0;
    color: var(--mhbo-text);
    border-bottom: 1px dashed #e2e8f0;
    font-weight: 600;
}

.mhbo-tax-breakdown-td-right {
    text-align: right;
    font-weight: 800;
    color: var(--mhbo-primary);
}

.mhbo-tax-breakdown-grand-total {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid var(--mhbo-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 950;
    color: var(--mhbo-primary);
}

@keyframes mhbo-fade-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes mhbo-scale-in {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}


.mhbo-message {
    padding: 18px 24px;
    border-radius: 16px;
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.6;
    animation: slideDown 0.3s ease-out;
}

.mhbo-error {
    background: #fff1f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .mhbo-success-message {
        padding: 40px 20px;
        margin: 20px 10px;
    }
    
    .mhbo-success-message h3 {
        font-size: 1.8rem;
    }
    
    .mhbo-transaction-details,
    .mhbo-tax-breakdown {
        max-width: 100%;
    }
    
    .mhbo-tax-breakdown-th {
        font-size: 0.75rem;
    }
    
    .mhbo-tax-breakdown-td {
        font-size: 0.9rem;
    }
}

/* Inline Error Notifications (Payment/Booking) */
.mhbo-inline-errors {
    margin-bottom: 20px;
}

.mhbo-error-notification {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #fef2f2 0%, #fff1f2 100%);
    color: #991b1b;
    padding: 16px 20px;
    border-radius: 12px;
    border: 1.5px solid #fecaca;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
    animation: mhbo-slide-in 0.3s ease-out;
}

.mhbo-error-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.mhbo-error-close {
    margin-left: auto;
    background: none;
    border: none;
    color: #991b1b;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    opacity: 0.6;
    transition: opacity 0.2s;
    flex-shrink: 0;
}

.mhbo-error-close:hover {
    opacity: 1;
}

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

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

.mhbo-badge-failed {
    display: inline-block;
    background: #fee2e2;
    color: #991b1b;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 768px) {
    .mhbo-search-container {
        padding: 24px;
        margin-bottom: 40px;
    }

    .mhbo-search-form {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .mhbo-form-group {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .mhbo-form-group-btn {
        margin-top: 10px;
    }

    .mhbo-form-group label {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .mhbo-form-group input,
    .mhbo-form-group select {
        padding: 12px 16px;
        font-size: 1rem;
        height: 50px !important;
    }

    .mhbo-booking-wrapper {
        padding: 25px !important;
        margin: 20px 10px !important;
    }

    .mhbo-booking-summary {
        padding: 20px;
    }

    .mhbo-rooms-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .mhbo-room-content {
        padding: 25px;
    }

    .mhbo-room-title {
        font-size: 1.4rem;
    }

    .mhbo-room-price {
        font-size: 1.5rem;
    }

    .mhbo-btn {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 28px !important;
        height: 50px !important;
        font-size: 0.9rem !important;
        letter-spacing: 1.5px !important;
        border-radius: 50px !important;
    }

    /* Date Range Picker Responsive */
    .mhbo-range-datepicker {
        padding-right: 44px !important;
        background-position: right 14px center !important;
        background-size: 18px !important;
        height: 50px !important;
    }

    .mhbo-form-group input.mhbo-range-datepicker,
    .mhbo-form-group .mhbo-range-datepicker {
        font-size: 0.95rem !important;
        padding: 12px 44px 12px 16px !important;
        height: 50px !important;
    }
}

/* Extra Small Mobile Devices (480px and below) */
@media (max-width: 480px) {
    .mhbo-search-container {
        padding: 16px 12px;
        border-radius: 16px;
    }

    .mhbo-search-form {
        gap: 12px;
    }

    .mhbo-form-group label {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }

    .mhbo-form-group input,
    .mhbo-form-group select {
        padding: 10px 12px;
        font-size: 0.9rem;
        min-height: 44px;
    }

    /* Search Button - Compact on small screens */
    .mhbo-btn {
        padding: 12px 20px !important;
        min-height: 44px !important;
        font-size: 0.85rem !important;
        letter-spacing: 1px !important;
        border-radius: 40px !important;
    }

    /* Date Range Picker - Compact on small screens */
    .mhbo-range-datepicker {
        padding-right: 40px !important;
        background-position: right 12px center !important;
        background-size: 16px !important;
        min-height: 44px !important;
    }

    .mhbo-form-group input.mhbo-range-datepicker,
    .mhbo-form-group .mhbo-range-datepicker {
        font-size: 0.85rem !important;
        padding: 12px 40px 12px 14px !important;
        min-height: 44px !important;
    }
}

/* Tax Breakdown Styling */
.mhbo-tax-breakdown {
    background: rgba(240, 247, 251, 0.4);
    padding: 25px;
    border-radius: 16px;
    margin-top: 25px;
    border: 1.5px solid var(--mhbo-border);
}

.mhbo-tax-breakdown h4 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--mhbo-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mhbo-tax-table {
    width: 100%;
    border-collapse: collapse;
}

.mhbo-tax-table th {
    text-align: left;
    padding: 10px 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #718096;
    border-bottom: 1.5px solid var(--mhbo-border);
    font-weight: 700;
}

.mhbo-tax-table td {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 1rem;
    color: var(--mhbo-text);
}

.mhbo-tax-total {
    font-weight: 700;
}

.mhbo-tax-grand-total td {
    border-top: 2px solid var(--mhbo-primary);
    padding-top: 15px;
    font-size: 1.2rem;
    color: var(--mhbo-primary);
}

.mhbo-tax-registration {
    margin-top: 20px;
    font-size: 0.85rem;
    color: #718096;
    font-style: italic;
}

/* Widget Styles */
.mhbo-widget-search {
    background: var(--mhbo-glass);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--mhbo-shadow);
}

.mhbo-widget-field {
    margin-bottom: 15px;
}

.mhbo-widget-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--mhbo-primary);
}

.mhbo-widget-input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--mhbo-border);
    border-radius: 8px;
    background: white;
    font-size: 0.9rem;
}

.mhbo-widget-btn {
    width: 100% !important;
    margin-top: 10px !important;
    padding: 12px !important;
    min-height: 48px !important;
    font-size: 0.9rem !important;
}
/* Payment Card Premium Selection */
.mhbo-payment-card {
    position: relative;
    padding: 24px;
    background: var(--mhbo-glass);
    border: 1.5px solid var(--mhbo-border);
    border-radius: var(--mhbo-radius);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    min-width: 280px;
    box-shadow: var(--mhbo-shadow-sm);
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.mhbo-payment-card:hover {
    transform: translateY(-4px);
    border-color: var(--mhbo-accent-light);
    box-shadow: var(--mhbo-shadow);
}

.mhbo-payment-card.active {
    border-color: var(--mhbo-accent);
    background: white;
    box-shadow: var(--mhbo-shadow-lg);
}

.mhbo-payment-card.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--mhbo-accent), var(--mhbo-accent-light));
}

.mhbo-payment-card input[type='radio'] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.mhbo-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mhbo-card-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 50%;
    color: var(--mhbo-primary);
    transition: all 0.3s ease;
}

.mhbo-payment-card.active .mhbo-card-icon {
    background: var(--mhbo-accent);
    color: white;
}

.mhbo-card-icon svg {
    width: 20px;
    height: 20px;
}

.mhbo-card-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--mhbo-primary);
}

.mhbo-card-amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--mhbo-primary);
}

.mhbo-card-description {
    font-size: 0.9rem;
    color: var(--mhbo-text-light);
    line-height: 1.5;
}

.mhbo-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    background: var(--mhbo-accent);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.mhbo-deposit-note {
    display: inline-block;
    margin-top: 8px;
    padding: 2px 8px;
    background: #fef2f2;
    color: #991b1b;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 4px;
    border: 1px solid #fee2e2;
}

.mhbo-payment-card.disabled {
    opacity: 0.7;
    cursor: default;
    filter: grayscale(0.5);
}

.mhbo-card-selected-indicator {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 60px;
    height: 60px;
    background: var(--mhbo-accent);
    opacity: 0.05;
    border-radius: 50%;
    transition: all 0.5s ease;
}

.mhbo-payment-card.active .mhbo-card-selected-indicator {
    bottom: -15px;
    right: -15px;
    opacity: 0.15;
    transform: scale(2);
}

/* --- Success Page Polish & Responsiveness --- */
.mhbo-reservation-id:hover {
    transform: translateY(-2px);
    box-shadow: var(--mhbo-shadow-sm);
    border-color: var(--mhbo-accent);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .mhbo-success-message h3 {
        font-size: 2.2rem;
        letter-spacing: -1px;
    }
    
    .mhbo-stay-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .mhbo-stay-col {
        padding-bottom: 15px;
        border-bottom: 1px solid var(--mhbo-border);
    }
    
    .mhbo-stay-col:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .mhbo-stay-details {
        padding: 20px;
    }
}

