/**
 * Room Details Page Styles
 * Extracted from room_details.blade.php for better organization
 */

/* Sticky element styles */
.sticky-element.is-sticky.under-ths.ths-is-sticky.ths-is-slide-up>* {        
    top: 20px;
}

.sticky-element.is-sticky>* {
    top: auto !important;
}

/* Card container styles */
.card-container-img .description {
    padding: 22px;
    height: 230px;
}

.container-img {
    position: relative;
    border-radius: 10px 10px 0 0;
    margin: 0 auto !important;
    width: 100%;
    height: 250px;
    background-position: center center;
    overflow: hidden;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

.label-badge {
    width: auto;
    float: left;
    background: #706F6F;
    color: #fff;
    border-radius: 25px;
    padding: 0px 9px;
    margin: 0 5px;
    font-size: 12px;
}

.feature-separator::before {
    content: "•";
    font-size: 12px;
}

.description .title {
    height: 70px;
}

/* Date picker color customization - change from blue to teal */
.el-date-table td.in-range div,
.el-date-table td.in-range div:hover,
.el-date-table td.start-date span,
.el-date-table td.end-date span,
.el-date-table td.available.in-range div,
.el-date-table td.available.start-date span,
.el-date-table td.available.end-date span {
    background-color: #33cccc !important;
    color: #fff !important;
}

.el-date-table td.start-date div,
.el-date-table td.end-date div {
    background-color: #33cccc !important;
    color: #fff !important;
}

/* Hover for available dates */
.el-date-table td.available:hover {
    color: #33cccc !important;
}

.el-date-table td.today span {
    color: #33cccc !important;
    font-weight: bold;
}

/* Minimum stay tooltip that follows cursor */
#min-stay-tooltip-custom {
    position: absolute !important;
    background-color: rgba(65, 65, 65, 0.9) !important;
    color: white !important;
    padding: 8px 12px !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    z-index: 999999999999999 !important;
    pointer-events: none !important;
    display: none !important;
    white-space: nowrap !important;
    font-family: 'Trebuchet MS', sans-serif !important;
}

#min-stay-tooltip-custom.show {
    display: block !important;
}

.el-range-separator:before {
    left: -2px !important;
    position: relative;
    font-size: 10px !important;
}

.card-container-img {
    margin: 0 auto;
    border-radius: 10px;
    -webkit-box-shadow: 0px 2px 7px 0px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 2px 7px 0px rgba(0,0,0,0.3);
    box-shadow: 0px 2px 7px 0px rgba(0,0,0,0.3);
}

.container-img .price-tag-sq-carousel {
    left: 0 !important;
    top: 30% !important;
    background: #3CC !important;
    border-radius: 0 20px 20px 0 !important;
    position: absolute;
    width: 135px;
    padding-left: 15px;
    height: 30px !important;
}

/* Hide year buttons only in date range picker */
.el-picker-panel.el-date-range-picker button.el-picker-panel__icon-btn.el-icon-d-arrow-left {
    display: none;
}

.el-picker-panel.el-date-range-picker button.el-picker-panel__icon-btn.el-icon-d-arrow-right {
    display: none;
}

/* Ensure year buttons are visible in birth date picker */
.el-picker-panel.el-date-picker button.el-picker-panel__icon-btn.el-icon-d-arrow-left,
.date-birth-picker .el-picker-panel.el-date-picker button.el-picker-panel__icon-btn.el-icon-d-arrow-left {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.el-picker-panel.el-date-picker button.el-picker-panel__icon-btn.el-icon-d-arrow-right,
.date-birth-picker .el-picker-panel.el-date-picker button.el-picker-panel__icon-btn.el-icon-d-arrow-right {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Leave only navigation icons without colored background */
.el-picker-panel__icon-btn {
    background-color: transparent !important;
    color: #606266 !important;
    border: none !important;
}

.el-picker-panel__icon-btn:hover {
    background-color: transparent !important;
    color: #33cccc !important;
}

button.el-picker-panel__icon-btn.el-icon-arrow-left,
button.el-picker-panel__icon-btn.el-icon-arrow-right {
    background-color: transparent !important;
    color: #606266 !important;
    border: none !important;
}

button.el-picker-panel__icon-btn.el-icon-arrow-left:hover,
button.el-picker-panel__icon-btn.el-icon-arrow-right:hover {
    background-color: transparent !important;
    color: #33cccc !important;
}  

.banner-container {
    position: fixed !important;
    z-index: 111111111111111111111;
    width: 100%;
}

.header-container {
    position: sticky !important;
    background: #ffff;
    z-index: 1111111111;
}

.ui.dimmer.modals.page.transition.visible.active {
    z-index: 11111111111 !important;
}

.el-picker-panel.el-date-range-picker.el-popper {
    z-index: 11111111111 !important;
}

.el-picker-panel.el-date-picker.el-popper {
    z-index: 11111111111 !important;
}

/* Hide date picker icon in birth date picker */
.date-birth-picker .el-date-picker .el-input__suffix,
.date-birth-picker .el-date-picker .el-input__prefix,
.date-birth-picker .el-date-picker .el-input__icon,
.date-birth-picker .el-input__suffix,
.date-birth-picker .el-input__prefix,
.date-birth-picker .el-input__icon,
.date-birth-picker .el-input__suffix-inner,
.date-birth-picker .el-input__prefix-inner {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

.date-birth-picker .el-input__inner {
    padding-left: 15px !important;
    padding-right: 15px !important;
    border-radius: 4px !important;
}

.date-birth-picker .el-date-editor {
    border-radius: 4px !important;
}

/* Contact icons */
img.icon-contact-us {
    max-width: 60px;
    cursor: pointer;
    box-shadow: aqua;
    -webkit-box-shadow: 0 7px 17px 0 rgba(0,0,0,.16);
    -moz-box-shadow: 0 7px 17px 0 rgba(0,0,0,.16);
    box-shadow: 0 0 10px 0 rgba(0,0,0,.28);
    border-radius: 30px;
    position: fixed;
    bottom: 140px;
    float: right;
    right: 13px;
    z-index: 1111;
}

img.icon-contact-us.email {
    bottom: 70px;
    box-shadow: 0 0 10px 0 rgba(0,0,0,.9);
}

.el-loading-mask.is-fullscreen {
    z-index: 111111111111 !important;
}

@media (max-width: 641px) { 
    .header-container {
        position: unset !important;
    }
    .banner-container {
        position: unset !important;
    }
}

.more-picture-btn:hover,
.more-picture-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fff;
    color: #414141ff !important;
    z-index: 1;
    border: none;
    border-radius: 5px;
}

.status-container {
    position: absolute;
    top: 0px;
    right: 0;
}

/* How to book steps */
.how-to-book-step {
    border-left: solid #3cc;
    padding-left: 20px;
}

.how-to-book-step:before {
    content: " ";
    position: absolute;
    background: #db0032;
    width: 10px;
    height: 10px;
    margin-top: 0px;
    border-radius: 10px;
    left: 16px;
    margin-top: 9px;
}

/* Month availability */
.month-availability {
    display: block;
    background: #3cc;
    min-width: 100px;
    border-radius: 4px;
    padding: 5px 10px;
    float: left;
    margin-left: 10px;
    text-align: center;
    margin-bottom: 10px;
}

.month-availability span {
    font-size: 14px;
}

.year-availability {
    min-height: 150px;
}

.month-availability.unavailable {
    background: #d9d9d9;
}

@media only screen and (min-width: 992px) {
    .property-sticky-box-wrapper .sticky-element.under-ths {
        margin-bottom: 330px;
    }
}

/* Property sticky box styles */
.property-sticky-box {
    z-index: 99999999999 !important;
    position: relative;
    font-family: 'Trebuchet MS', sans-serif !important;
}

.sticky-box-content.booking-request-body {
    position: relative !important;
    padding: 30px 0 !important;
}

/* Remove padding from form-expansion */
.form-expansion {
    padding: 0 !important;
}

/* Add padding to all elements inside form except cost-summary-box */
.sticky-box-content.booking-request-body form > *:not(.form-expansion) {
    padding-left: 30px !important;
    padding-right: 30px !important;
}

/* Add padding to elements inside form-expansion except cost-summary-box */
.form-expansion > *:not(.cost-summary-box) {
    padding-left: 30px !important;
    padding-right: 30px !important;
}

/* Cost box has its own internal padding */
.form-expansion .cost-summary-box {
    padding-left: 30px !important;
    padding-right: 30px !important;
}

.sticky-box-content.booking-request-body,
.sticky-box-content.booking-request-body * {
    font-family: 'Trebuchet MS', sans-serif !important;
}

/* Date picker icons keep their original font */
.sticky-box-content.booking-request-body .el-input__icon,
.sticky-box-content.booking-request-body .el-range__icon,
.sticky-box-content.booking-request-body .el-icon-date,
.sticky-box-content.booking-request-body .el-input__icon *,
.sticky-box-content.booking-request-body .el-range__icon *,
.sticky-box-content.booking-request-body .el-icon-date * {
    font-family: element-icons !important;
}

.property-sticky-box-wrapper {
    z-index: 99999999999 !important;
    position: relative;
}

.sticky-element {
    z-index: 99999999999 !important;
}

.sticky-box-content.booking-request-body {
    position: relative;
    z-index: 99999999999 !important;
    background: white;
}

.sticky-box-content.booking-request-body input:not([type="checkbox"]),
.sticky-box-content.booking-request-body .form-control,
.sticky-box-content.booking-request-body button {
    position: relative;
    z-index: 100000000000 !important;
    pointer-events: auto !important;
}

.sticky-box-content.booking-request-body .form-check-input {
    z-index: 100000000000 !important;
    pointer-events: auto !important;
}

/* Form section title styles */
.form-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #414141ff !important;
    margin-bottom: 15px;
    margin-top: 0;
}

/* Cost summary box - Full Width */
.cost-summary-box {
    background: #d9eff2 !important;
    padding: 15px 30px !important;
    border-radius: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.cost-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
    padding: 2px 0;
    font-size: 15px;
    color: #414141 !important;
}

.cost-item * {
    color: #414141 !important;
}

.cost-item.cost-total {
    border-top: 1px solid #b8dde2;
    padding-top: 15px;
    margin-top: 8px;
}

.cost-label {
    flex: 1;
    color: #414141;
}

.cost-icon {
    color: #999999 !important;
    margin-left: 8px;
    margin-right: 8px;
    font-size: 16px !important;
}

.cost-label i.fa {
    font-family: 'Font Awesome 5 Free' !important;
    font-style: normal !important;
    display: inline-block !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Ensure Font Awesome is not overwritten by Trebuchet MS */
.sticky-box-content.booking-request-body .cost-icon i,
.sticky-box-content.booking-request-body .cost-icon .fa {
    font-family: 'Font Awesome 5 Free' !important;
}

.cost-value {
    color: #414141;
    font-weight: 600;
    white-space: nowrap;
}

.summary-link {
    color: #dc3545 !important;
    text-decoration: underline !important;
    font-size: 14px;
}

.summary-link:hover {
    color: #c82333 !important;
}

/* Discount code styles */
.discount-title {
    font-size: 14px;
    color: #414141;
    margin-bottom: 10px;
    font-family: 'Trebuchet MS', sans-serif;
}

.discount-input-group {
    display: flex;
    gap: 10px;
}

.discount-input-group .form-input-custom {
    flex: 1;
    margin-bottom: 0;
}

.btn-apply-discount {
    background-color: #33cccc !important;
    color: white !important;
    border: none !important;
    padding: 12px 20px !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    font-family: 'Trebuchet MS', sans-serif !important;
}

.btn-apply-discount:hover {
    background-color: #2bb8b8 !important;
}

/* Payment methods - Vertical list */
.payment-methods-list {
    gap: 0;
    margin-top: 10px;
    align-items: flex-start;
}

.payment-method-item {
    align-items: center;
    margin: -25px 0;
    padding: 0;
    line-height: 1;
}

.payment-method-item input[type="radio"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin: 0 10px 0 0;
    cursor: pointer;
    accent-color: #dc3545;
    flex-shrink: 0;
}

.payment-method-item label {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 0;
    padding: 0;
    font-size: 13px;
    color: #414141;
    font-family: 'Trebuchet MS', sans-serif;
    line-height: 1.2;
}

.payment-method-item .payment-icon {
    width: 28px;
    height: 22px;
    object-fit: contain;
    margin-left: 8px;
    flex-shrink: 0;
}

.payment-method-item .payment-icon.paypal {
    width: 70px;
    height: 20px;
    margin-left: 0;
}

.payment-method-item .payment-icon.wise {
    width: 55px;
    height: 20px;
    margin-left: 0;
}

.payment-method-item .payment-fees {
    color: #999;
    font-size: 12px;
    margin-left: 6px;
}

.terms-checkbox {
    margin-bottom: 2px !important;
    margin-top: 50px !important;
}

.terms-checkbox .form-check-label {
    margin-bottom: 0 !important;
}

.sticky-box-content.booking-request-body .terms-checkbox {
    margin-bottom: 12px !important;
    margin-top: 0 !important;
}

.sticky-box-content.booking-request-body .terms-checkbox .form-check-label {
    margin-bottom: 0 !important;
}

/* Payment summary modal styles */
.payment-summary-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    z-index: 9999999999999999 !important;
    padding: 20px;
    overflow-y: hidden;
    overscroll-behavior: contain;
}

.payment-summary-modal {
    background: #fff;
    border-radius: 12px;
    max-width: 450px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 9999999999999999 !important;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
}

.payment-summary-header {
    background: #1a5a5a;
    color: #fff;
    padding: 18px 20px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-shrink: 0;
}

.payment-summary-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'Trebuchet MS', sans-serif;
    letter-spacing: 0.5px;
    color: #fff;
}

.payment-summary-content {
    padding: 20px;
    background: #fff;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.payment-summary-intro {
    margin-bottom: 20px;
    color: #a6a6a6 !important;
    font-size: 13px;
    line-height: 1.6;
    padding-bottom: 0;
    border-bottom: none;
}

.payment-summary-intro * {
    color: #a6a6a6 !important;
}

.payment-section {
    margin-bottom: 12px;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    border: none;
}

.payment-section-header {
    background: #33cccc;
    padding: 10px 15px;
    margin-bottom: 0;
    margin-left: -20px;
    margin-right: -20px;
    width: calc(100% + 40px);
    border-radius: 0;
    text-align: center;
}

.payment-section-header h4 {
    margin: 0;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    font-family: 'Trebuchet MS', sans-serif;
    text-align: center;
}

.payment-section-body {
    padding: 4px 15px;
    background: transparent;
    border-radius: 0;
    border: none;
    margin-top: 0;
}

.payment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 0;
    border-bottom: none;
    font-size: 13px;
    color: #a6a6a6;
    font-weight: bold;
}

.payment-row strong {
    color: #a6a6a6;
    font-weight: bold;
}

.payment-row span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: bold;
}

.payment-row .fa-info-circle {
    color: #999;
    font-size: 12px;
    cursor: help;
}

.payment-sub-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1px 0 1px 20px;
    font-size: 12px;
    color: #a6a6a6;
    border-bottom: none;
    position: relative;
    font-weight: bold;
}

.payment-sub-row::before {
    content: "•";
    position: absolute;
    left: 8px;
    color: #a6a6a6;
    font-size: 12px;
}

.payment-sub-row strong {
    color: #a6a6a6;
    font-weight: bold;
}

.payment-sub-row span {
    font-weight: bold;
}

.payment-total {
    margin-top: 4px;
    padding: 2px 0;
    background: transparent;
    border-radius: 0;
    border: none;
    font-weight: bold;
}

.payment-total span:first-child {
    color: #a6a6a6;
}

.payment-total strong {
    color: #a6a6a6;
}

.total-amount {
    color: #a6a6a6;
    font-size: 13px;
    font-weight: bold;
}

.included {
    color: #33cccc !important;
    font-weight: bold;
    font-size: 13px;
}

.not-included {
    color: #a6a6a6 !important;
    font-weight: bold;
    font-size: 13px;
}

.payment-summary-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
    color: #a6a6a6;
    font-size: 12px;
}

.payment-summary-footer a {
    color: #a6a6a6;
    text-decoration: none;
    pointer-events: none;
}

.payment-summary-footer a:hover {
    color: #a6a6a6;
}

/* Deposit tooltip */
.deposit-tooltip {
    margin-top: 3px;
    margin-bottom: 3px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    color: #a6a6a6;
    font-size: 12px;
    line-height: 1.5;
}

/* Payment info modal styles (Transfer/Wise) */
.payment-info-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999999999999999 !important;
    padding: 20px;
}

.payment-info-modal {
    background: #fff;
    border-radius: 12px 12px 0 0;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 9999999999999999 !important;
    overflow: hidden;
}

.payment-info-header {
    background: #1a5a5a;
    color: #fff;
    padding: 18px 20px;
    text-align: center;
}

.payment-info-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'Trebuchet MS', sans-serif;
    letter-spacing: 0.5px;
    color: #fff;
}

.payment-info-content {
    padding: 25px 20px;
    background: #fff;
}

.payment-method-icon-section {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 0;
    border-bottom: none;
}

.payment-method-icon-section i {
    font-size: 24px;
    color: #1a5a5a;
}

.payment-method-icon-section img.payment-icon.wise {
    width: 55px;
    height: 20px;
    margin-left: 0;
}

.payment-method-icon-section span {
    font-size: 14px;
    color: #414141;
    font-family: 'Trebuchet MS', sans-serif;
    font-weight: normal;
}

.payment-info-details {
    margin-bottom: 25px;
}

.payment-info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 5px 0;
    border-bottom: none;
    font-size: 13px;
}

.payment-info-row strong {
    color: #414141;
    font-weight: bold;
    font-family: 'Trebuchet MS', sans-serif;
    min-width: 140px;
    margin-right: 10px;
}

.payment-info-row span {
    color: #414141;
    text-align: right;
    flex: 1;
    word-break: break-word;
    font-family: 'Trebuchet MS', sans-serif;
}

.btn-proceed-reservation {
    width: 100%;
    background-color: #dc3545 !important;
    color: white !important;
    border: none !important;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'Trebuchet MS', sans-serif !important;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-proceed-reservation:hover {
    background-color: #c82333 !important;
}

@media (max-width: 768px) {
    .payment-methods-grid {
        grid-template-columns: 1fr;
    }
    
    .payment-summary-modal {
        max-width: 90%;
        max-height: 95vh;
    }
    
    .payment-info-modal {
        max-width: 90%;
    }
    
    .payment-summary-header h3 {
        font-size: 14px;
    }
    
    .payment-summary-content {
        padding: 15px;
    }
    
    .payment-section-header h4 {
        font-size: 13px;
    }
}

/* Custom input styles */
/* Validation styles for fields - Apply red border when parent has .has-error */
.booking-field-error.has-error input.form-control,
.booking-field-error.has-error input.form-input-custom,
.booking-field-error.has-error .error-input,
.booking-field-error.has-error .form-input-custom.error-input,
.form-input-custom.error-input,
.error-input {
    border-color: #dc3545 !important;
    border-width: 2px !important;
    box-shadow: 0 0 0 1px rgba(220, 53, 69, 0.25) !important;
}

.booking-field-error.has-error .el-input__inner,
.el-input__inner.error-input {
    border-color: #dc3545 !important;
    border-width: 2px !important;
}

/* Valid input styles */
.form-input-custom.success-input,
.success-input {
    border-color: #28a745 !important;
    border-width: 2px !important;
    box-shadow: 0 0 0 1px rgba(40, 167, 69, 0.25) !important;
}

.booking-field-error.has-error .el-input__wrapper,
.el-input__wrapper.error-input {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 1px #dc3545 !important;
}

/* Specific styles for date picker with error */
.booking-field-error.has-error .el-input__inner,
.booking-field-error.has-error .date-birth-picker .el-input__inner,
.date-birth-picker .el-input__inner.error-input {
    border-color: #dc3545 !important;
    border-width: 2px !important;
}

.booking-field-error.has-error .el-input__wrapper,
.booking-field-error.has-error .date-birth-picker .el-input__wrapper,
.date-birth-picker .el-input__wrapper.error-input {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 1px #dc3545 !important;
}

/* Styles for date range picker with error */
.inline-check-in.booking-field-error.has-error .el-date-editor,
.inline-check-in.booking-field-error.has-error .el-range-editor {
    border-color: #dc3545 !important;
    border-width: 2px !important;
}

/* Checkbox error styles */
.booking-field-error.has-error .form-check-input,
.booking-field-error.has-error .form-check-input.error-input,
.form-check-input.error-input {
    border-color: #dc3545 !important;
    border-width: 2px !important;
    outline: 2px solid rgba(220, 53, 69, 0.3) !important;
}

.booking-field-error.has-error .form-check-input:not(:checked),
.form-check-input.error-input:not(:checked) {
    background-color: #fff;
    border-color: #dc3545 !important;
}

.error-checkbox-label {
    color: #dc3545 !important;
}

.error-message {
    color: #dc3545 !important;
    font-size: 11px !important;
    margin-top: 4px;
    margin-bottom: 0;
    display: block;
    font-weight: 400;
}

/* Specific error message styles for checkboxes */
.terms-checkbox .error-message {
    font-size: 10px !important;
    color: #dc3545 !important;
    margin-top: 2px;
    margin-left: 1.75rem;
}

/* Animation for error fields */
.booking-field-error.has-error {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.form-input-custom {
    border: 1px solid #e0e0e0 !important;
    border-radius: 4px !important;
    padding: 12px 15px !important;
    font-size: 14px !important;
    color: #333 !important;
    background: #fff !important;
    width: 100% !important;
}

.form-input-custom::placeholder {
    color: #ced4da !important;
    font-size: 13px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Date picker placeholder with same color */
.sticky-box-content.booking-request-body .el-input__inner::placeholder,
.sticky-box-content.booking-request-body .el-range-input::placeholder {
    color: #ced4da !important;
}

.form-input-custom:focus {
    border-color: #3cc !important;
    outline: none !important;
    box-shadow: none !important;
}

.form-divider {
    border-top: 1px solid #e0e0e0;
    margin: 20px 0;
}

/* Smooth animation for form expansion */
.form-expansion {
    animation: slideDown 0.5s ease-in-out;
    overflow: hidden;
}

.gray {
    color: rgb(141 137 137) !important
}

@keyframes slideDown {
    from {
        max-height: 0;
        opacity: 0;
    }
    to {
        max-height: 3000px;
        opacity: 1;
    }
}

/* Make form sticky when expanded */
@media only screen and (min-width: 992px) {
    .property-sticky-box.sticky-active {
        position: sticky !important;
        top: 100px !important;
    }
}

/* PayPal button styles */
.paypal-button-section {
    margin-top: 10px;
}

#paypal-button-container {
    min-height: 45px;
}

.paypal-button-section .error-message {
    color: #dc3545 !important;
    font-size: 12px;
    margin-top: 10px;
}

/* PayPal Sandbox indicator */
.paypal-sandbox-indicator {
    background: #ff9800;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    text-align: center;
    margin-bottom: 10px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.paypal-sandbox-indicator i {
    margin-right: 5px;
}

/* ============================================
   MOBILE FIXED BOTTOM BAR
   ============================================ */

@media only screen and (max-width: 767px) {
    /* Ensure side column and wrapper are visible so the fixed bar can render */
    #sticky-1.side-column,
    .property-sticky-box-wrapper {
        display: block !important;
        visibility: visible !important;
        position: static !important;
        height: 0 !important;
        overflow: visible !important;
        min-height: 0 !important;
    }

    /* Sticky element fixed on mobile - bottom bar with price and booking button visible */
    .sticky-element {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        top: auto !important;
        width: 100% !important;
        max-width: 100vw !important;
        z-index: 999999999 !important;
        background: transparent !important;
        transform: none !important;
        margin: 0 !important;
    }
    
    /* Property sticky box container - horizontal layout for bottom bar (like image: teal | red) */
    .property-sticky-box {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        max-width: 100vw !important;
        margin: 0 !important;
    }
    
    /* Fixed bottom bar elements - fixed at bottom so they always show */
    .property-sticky-box .price-tag-sq,
    .property-sticky-box .mobile-fixed-trigger.btn-mobile {
        position: fixed !important;
        bottom: 0 !important;
        z-index: 999999999 !important;
        margin: 0 !important;
        border-radius: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Price tag - left half (teal), fixed at bottom */
    .property-sticky-box .price-tag-sq {
        left: 0 !important;
        right: auto !important;
        width: 50% !important;
        min-width: 50% !important;
        background: #33cccc !important;
        padding: 14px 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }
    
    .property-sticky-box .price-tag-sq .price-sq {
        font-size: 22px !important;
        color: white !important;
        font-weight: bold !important;
    }
    
    .property-sticky-box .price-tag-sq .per-sq {
        font-size: 12px !important;
        color: white !important;
        margin-left: 4px !important;
    }
    
    /* Booking button - right half (red), fixed at bottom */
    .property-sticky-box .mobile-fixed-trigger.btn-mobile {
        left: 50% !important;
        right: 0 !important;
        width: 50% !important;
        min-width: 50% !important;
        background: #db0032 !important;
        padding: 14px 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        font-size: 14px !important;
        font-weight: bold !important;
        color: white !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        line-height: 1.2 !important;
        text-align: center !important;
    }
    
    /* Hide form section by default on mobile */
    .mobile-fixed-section {
        display: none !important;
    }
    
    /* Add padding to body to prevent content from being hidden behind fixed bar */
    body:not(.modal-is-open) {
        padding-bottom: 60px !important;
    }
    
    /* Reposition contact icons */
    img.icon-contact-us {
        bottom: 80px !important;
    }
    
    img.icon-contact-us.email {
        bottom: 150px !important;
    }
    
    /* ============================================
       MODAL OPEN STATE - When form is visible
       ============================================ */
    
    /* When modal is open, change sticky-element to full screen */
    body.modal-is-open .sticky-element,
    body.modal-is-open .sticky-element.modal-is-visible {
        position: fixed !important;
        top: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: white !important;
        z-index: 9999999999 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        transform: none !important;
    }
    
    /* When modal is open, hide price and booking button */
    body.modal-is-open .property-sticky-box .price-tag-sq,
    body.modal-is-open .property-sticky-box .mobile-fixed-trigger.btn-mobile {
        display: none !important;
    }
    
    /* When modal is open, show the form section */
    body.modal-is-open .mobile-fixed-section {
        display: block !important;
        width: 100% !important;
        padding: 20px !important;
        padding-top: 20px !important;
        box-sizing: border-box !important;
    }

    /* Cabecera del formulario en móvil: botón cerrar en la esquina superior (scroll con el formulario) */
    body.modal-is-open .booking-form-mobile-header {
        display: flex !important;
        justify-content: flex-end !important;
        align-items: flex-start !important;
        width: 100% !important;
        margin: 0 0 12px 0 !important;
        padding: 0 !important;
        background: transparent !important;
    }
    
    /* Show close button (hamburger) when modal is open - always visible and clickable */
    body.modal-is-open .sticky-element .hamburger {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: fixed !important;
        top: 15px !important;
        right: 15px !important;
        z-index: 99999999999 !important;
        background: #db0032 !important;
        border-radius: 50% !important;
        width: 48px !important;
        height: 48px !important;
        align-items: center !important;
        justify-content: center !important;
        pointer-events: auto !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.3) !important;
    }
    
    body.modal-is-open .sticky-element .hamburger .hamburger-inner,
    body.modal-is-open .sticky-element .hamburger .hamburger-inner::before,
    body.modal-is-open .sticky-element .hamburger .hamburger-inner::after {
        background-color: white !important;
    }

    /* Botón "Cerrar" en la esquina superior del formulario, tamaño de icono */
    body.modal-is-open .modal-close-booking-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
        top: -10px !important;
        left: 40px !important;
        right: 0 !important;
        z-index: 10 !important;
        width: 48px !important;
        min-width: 48px !important;
        height: 48px !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #db0032 !important;
        color: #fff !important;
        font-weight: bold !important;
        font-size: 16px !important;
        border-radius: 50% !important;
        text-decoration: none !important;
        box-shadow: 0 2px 6px rgba(0,0,0,0.2) !important;
        pointer-events: auto !important;
        flex-shrink: 0 !important;
    }
    body.modal-is-open .modal-close-booking-btn .modal-close-booking-btn-icon {
        font-size: 28px !important;
        line-height: 1 !important;
        margin: 0 !important;
    }
    body.modal-is-open .modal-close-booking-btn .modal-close-booking-btn-text {
        display: none !important;
    }
    /* Ocultar el botón Cerrar en desktop (solo se usa en móvil cuando el formulario está en modal) */
    .modal-close-booking-btn {
        display: none !important;
    }
    
    /* When modal is open, make property-sticky-box take full height */
    body.modal-is-open .property-sticky-box {
        flex-direction: column !important;
        height: 100% !important;
    }
    
    /* Form inputs in modal */
    body.modal-is-open .sticky-box-content.booking-request-body {
        padding: 15px !important;
    }
    
    body.modal-is-open .form-input-custom {
        font-size: 16px !important; /* Prevent zoom on iOS */
    }
    
    /* Hide contact icons when modal is open */
    body.modal-is-open img.icon-contact-us {
        display: none !important;
    }
    
    /* Remove body padding when modal is open */
    body.modal-is-open {
        padding-bottom: 0 !important;
        overflow: hidden !important;
    }
}

/* Ocultar botón Cerrar del formulario en desktop (solo visible en móvil con modal abierto) */
.modal-close-booking-btn {
    display: none !important;
}
