/* 1. Fix global overflow to allow sticky to work */
body, html {
    overflow-x: clip !important; 
    overflow-y: visible !important;
}

/* 2. Target ONLY the main body container */
.content-wrapper {
    display: flex !important;        /* Activates Flexbox */
    flex-direction: row !important;  /* Forces Side-by-Side layout */
    align-items: flex-start !important; /* Aligns top, prevents stretching */
    justify-content: space-between;
    gap: 30px;
    position: relative;
    padding-bottom: 50px; /* Space at bottom of page */
}

/* 3. Main Content Sizing */
.main-content {
    flex: 1; 
    max-width: 1100px; /* Ensures it fits nicely next to sidebar */
    margin-top: 30px;
}

/* 4. Sidebar Sizing & Sticky Logic */
.sidebar {
    width: 350px;
    min-width: 350px; /* Prevents sidebar from squishing */
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 20px;
    
    /* STICKY SETTINGS */
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 20px !important; /* Adjust based on your header height */
    
    margin-top: 30px;
    z-index: 99;
    height: fit-content !important; /* Required for sticky to work */
}

/* 5. Mobile Responsiveness */
@media (max-width: 1200px) {
    .content-wrapper {
        flex-direction: column !important; /* Stack on mobile */
    }
    .sidebar {
        width: 100%;
        min-width: 100%;
        position: static !important; /* Disable sticky on mobile */
    }
    .main-content {
        max-width: 100%;
    }
}
     
.auth-buttons {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline {
    border: 1px solid #3498db;
    color: #3498db;
    background: white;
}

.btn-outline:hover {
    background: #3498db;
    color: white;
}

.btn-primary {
    background: #3498db;
    color: white;
    border: none;
}

.btn-primary:hover {
    background: #2980b9;
}

.section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 25px;
    margin-bottom: 20px;
    position: relative;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #8080804a;
}

.section-title i {
    color: #3498db;
}

.booking-summary {
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: none;
}

.total {
    font-weight: 700;
    font-size: 18px;
    border-bottom: none;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 2px solid #f0f0f0;
}

.insurance-banner {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.insurance-banner p {
    margin: 0;
    font-weight: 600;
}

.promo-container {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
}

.promo-input {
    display: flex;
    gap: 10px;
}

.promo-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

/* Advert Banner Styles */
.advert-banners {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 25px;
}

.ad-banner {
    background: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: 1px solid #f1f1f1;
    display: flex;
    flex-direction: column;
}

.ad-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.ad-banner__image {
    height: 150px;
    width: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin-bottom: 12px;
}

.ad-banner__header {
    margin-bottom: 8px;
}

.ad-banner__tag {
    display: inline-block;
    background: linear-gradient(135deg, #0352fc 0%, #003899 100%);
    color: white;
    font-size: 0.65rem;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 20px;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ad-banner__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
}

.ad-banner__description {
    font-size: 0.8rem;
    color: #646464;
    line-height: 1.4;
    margin-bottom: 10px;
}

.ad-banner__features {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
}

.ad-banner__features li {
    font-size: 0.75rem;
    color: #4a5568;
    padding-left: 16px;
    position: relative;
    margin-bottom: 4px;
}

.ad-banner__features li:before {
    content: "✓";
    color: #48bb78;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.ad-banner__price {
    margin-bottom: 10px;
}

.ad-banner__price--old {
    font-size: 0.8rem;
    color: #a0aec0;
    text-decoration: line-through;
    margin-right: 8px;
}

.ad-banner__price--new {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
}

.ad-banner__button {
    display: block;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, #1c68e3 0%, #003355 100%);
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.ad-banner__button:hover {
    background: linear-gradient(135deg, #2a7afc 0%, #015a96 100%);
    box-shadow: 0 4px 12px rgba(37, 117, 252, 0.3);
}

/* Hotel Information Styles */
.hotel-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.hotel-info-container {
    display: flex;
    gap: 20px;
}

.hotel-details {
    flex: 2;
}

.hotel-image-container {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
    position: relative;
}

.hotel-image {
    width: 40%;
    height: 300px;
    border-radius: 12px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.hotel-image:hover {
    transform: scale(1.02);
}

.hotel-main-info {
    flex: 1;
}

.hotel-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2c3e50;
}

@media (max-width: 768px) {
    .hotel-name {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 10px;
        color: #2c3e50;
    }
}

.hotel-address {
    font-size: 19px;
    color: #5a5a5a;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hotel-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.stars {
    color: #FFD700;
    font-size: 18px;
}

.reviews {
    color: #3498db;
    font-weight: 600;
}

.booking-details {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.booking-details-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c3e50;
}

.booking-details-content {
    font-size: 19px;
    color: #555;
}

.checkin-checkout-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 10px;
}

.checkin-checkout-box {
    background: #f8f9fa;
    padding: 0px;
    border-radius: 8px;
}


.checkin-checkout-details-desc {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    font-size:18px;
    font-weight: 600;
    color:green;
}

.checkin-checkout-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
}

.checkin-checkout-details {
    font-size: 17px;
    color: #555;
    margin: 15px;
    margin-top: 10px;
}

.arrival-time-container {
    margin: 20px;
}

.arrival-time-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: #222f3b;
}

.arrival-time-desc {
    font-size: 18px;
    color: #666;
    margin-bottom: 10px;
}

.arrival-time-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 18px;
    margin-top: 10px;
}

.house-rules-container {
    margin: 20px;
}

.house-rules-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c3e50;
}

@media (max-width: 768px) {
    .house-rules-title {
        font-weight: 600;
        margin-bottom: 10px;
        color: #2c3e50;
        font-size: 20px !important;
    }
}

.house-rules-list {
    list-style-type: none;
    margin-bottom: 10px;
}

.house-rules-list li {
    margin-bottom: 2px;
    padding-left: 20px;
    position: relative;
}

.house-rules-list li:before {
    content: "•";
    color: #3498db;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.house-rules-agreement {
    font-size: 14px;
    color: #666;
    font-style: italic;
}

.cancellation-policy {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
}

.cancellation-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c3e50;
}

.cancellation-amount {
    font-weight: 700;
    color: #e74c3c;
    font-size: 18px;
}

.hotel-info-section {
    margin-bottom: 25px;
}

.info-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c3e50;
}

.info-content {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.info-label {
    font-weight: 600;
    color: #555;
}

.info-value {
    color: #333;
}

.view-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #3498db;
    color: white;
    padding: 10px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.view-map-btn:hover {
    background: #2980b9;
}

/* Traveler Information Styles */
.traveller-container {
    padding-right: 10px;
}

.form-group {
    margin-bottom: 15px;
    position: relative;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-row-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.form-row-4 {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 15px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
    font-size:17px;
}

label.required::after {
    content: " *";
    color: #e74c3c;
}

input, select {
    width: 100%;
    padding: 13px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s ease;
    height: 50px;
}

/* Blue highlight for input boxes */
input:focus, select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.input-small {
    max-width: 120px;
}

.input-medium {
    max-width: 180px;
}

.input-large {
    max-width: 250px;
}

.payment-methods {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.payment-method {
    flex: 1;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method:hover {
    border-color: #3498db;
    background-color: #f0f8ff;
}

.payment-method.active {
    border-color: #3498db;
    background-color: #e3f2fd;
}

.payment-method i {
    font-size: 24px;
    margin-bottom: 10px;
    color: #3498db;
}

.card-details {
    display: grid;
    grid-template-columns: 1fr 1fr ;
    gap: 15px;
}

.confirm-booking {
    background: linear-gradient(135deg, #0279c9, #003355);
    color: white;
    padding: 16px 30px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.confirm-booking:hover {
    background: linear-gradient(135deg, #2baaff, #014470);
    transform: translateY(-2px);
    box-shadow: none;
}

/* Updated Insurance Section */
.protection-banner {
    background: linear-gradient(135deg, #0279c9, #003355);
    color: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    position: relative;
}

.protection-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.protection-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.protection-subtitle {
    font-size: 16px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.protection-price {
    font-size: 28px;
    font-weight: 700;
    text-align: right;
}

.protection-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin: 20px 0;
}

.feature-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
}

@media (max-width: 991px) {
    .feature-item {
        margin-bottom: 0px;
    }
}

.protection-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.protection-note {
    font-size: 14px;
    opacity: 0.9;
    width:750px;
}

.find-reasons {
    color: white;
    text-decoration: underline;
    font-weight: 600;
}

.insurance-options {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.insurance-option {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.insurance-option:hover {
    background: rgba(255, 255, 255, 0.3);
}

.insurance-option.selected {
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid white;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.radio-custom::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: white;
    display: none;
}

.insurance-option.selected .radio-custom::after {
    display: block;
}

.option-text {
    font-weight: 600;
}

.warning {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
}

.traveller-section {
    margin-bottom: 25px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.contact-row {
    display: grid;
    grid-template-columns: 1fr 100px 1fr;
    gap: 15px;
}

/* Gender Selection Styles */
.gender-selection {
    display: flex;
    gap: 15px;
    align-items: center;
}

.gender-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    height: 50px;
}

.gender-radio {
    width: 18px;
    height: 18px;
    border: 2px solid #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gender-radio::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3498db;
    display: none;
}

.gender-option.selected .gender-radio::after {
    display: block;
}

.gender-icon {
    font-size: 18px;
    color: #666;
}

.gender-option.selected .gender-icon {
    color: #3498db;
}

/* Traveler Type Selection Styles */
.traveler-type-selection {
    display: flex;
    gap: 15px;
}

.traveler-type-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.traveler-type-radio {
    width: 18px;
    height: 18px;
    border: 2px solid #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.traveler-type-radio::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3498db;
    display: none;
}

.traveler-type-option.selected .traveler-type-radio::after {
    display: block;
}

/* Add Traveler Button */
.add-traveler-btn {
    background: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 10px 10px 10px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 0px;
}

.add-traveler-btn:hover {
    background: #e9ecef;
    border-color: #3498db;
}

.add-traveler-btn i {
    font-size: 24px;
    color: #3498db;
    margin-bottom: 10px;
}

.add-traveler-btn p {
    font-weight: 600;
    color: #3498db;
    margin: 0;
}

/* Remove Traveler Button */
.remove-traveler-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 12px;
}

/* Price Breakdown Styles */
.price-breakdown {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.breakdown-toggle {
    background: none;
    border: none;
    color: #3498db;
    cursor: pointer;
    font-weight: 600;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.breakdown-content {
    display: none;
    margin-top: 10px;
}

.breakdown-content.show {
    display: block;
}

/* --- FIX 2: Calendar CSS Fix --- */
/* Updated Date Picker Container Styles */
.datepicker-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.datepicker-input {
    width: 100%;
    padding: 13px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    background: white;
    height: 50px;
}
@media (max-width: 768px) {
.container {
    max-width: 1540px;
    margin: 0 auto;
    padding: 0 10px !important;
}
}

.datepicker-input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

/* The date picker modal itself */
.date-picker {
    width: 350px;
    min-height: 460px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 12px;
    background: white;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2); /* Stronger shadow */
    display: flex;
    flex-direction: column;
    position: absolute; /* Will be positioned by JS */
    z-index: 10000;
    display: none;
}

.date-picker-header {
    background-color: #004877;
    color: white;
    padding: 10px;
    text-align: left;
    font-size: 20px;
    position: relative;
    border-radius: 8px;
}

.date-picker-header select {
    background: white;
    color: #494949;
    border: none;
    font-size: 18px;
    border-radius: 5px;
    padding: 5px 30px;
    margin-left: 5px;
    width:150px;
}

.month-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.month-nav button {
    background: none;
    border: none;
    color: #007BFF;
    font-size: 30px;
    cursor: pointer;
    font-weight: bold;
}

.month-nav span {
    font-size: 18px;
    font-weight: bold;
}

/* New Calendar Styles */
/* REMOVED DUPLICATE .date-picker definition - keeping the one above */

.calendar {
    flex-grow: 1;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    padding: 0px;
    gap: 5px;
}

.calendar div {
    padding: 5px;
    background: #f7f7f7;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.calendar div:hover {
    background: #e0e0e0;
}

.calendar .header {
    background: #e9f4ff;
    color: rgb(88, 88, 88);
    font-weight: 600;
    font-size: 16px;
}

.calendar .selected {
    background: #007BFF;
    color: white;
    font-weight: bold;
}

.calendar-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #3498db;
    pointer-events: none;
}

.question-mark-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: #3498db;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    margin-left: 8px;
    cursor: pointer;
    position: relative;
}

.question-mark-icon:hover .tooltip {
    display: block;
}

.tooltip {
    display: none;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    padding: 15px;
    width: 300px;
    z-index: 100;
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: white;
}

.card-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.card-highlight {
    position: relative;
    display: inline-block;
}

.card-highlight::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(52, 152, 219, 0.3);
    border: 2px solid #3498db;
    border-radius: 4px;
}

.cvv-highlight {
    position: relative;
    display: inline-block;
}

.cvv-highlight::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(231, 76, 60, 0.3);
    border: 2px solid #e74c3c;
    border-radius: 4px;
}

.input-with-icon {
    position: relative;
}

.input-with-icon .question-mark-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

/* Auth Modal Styles */
.auth-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.auth-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.auth-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.auth-tab {
    flex: 1;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.auth-tab.active {
    border-bottom-color: #3498db;
    color: #3498db;
    font-weight: 600;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.auth-form input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.auth-submit {
    width: 100%;
    padding: 12px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.auth-submit:hover {
    background: #2980b9;
}

.close-auth {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #666;
}

/* Map Modal Styles */
.map-modal {
    display: none;
    position: fixed;
    z-index: 1002;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}

.map-modal-content {
    width: 100%;
    height: 85vh;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    display: flex;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    padding: 30px;
    position: relative;
    z-index: 2;
}

.map-modal-sidebar {
    width: 350px;
    height: 100%;
    background: white;
    overflow-y: auto;
    border-right: 1px solid #e0e0e0;
    flex-shrink: 0;
}

.map-modal-main {
    flex: 1;
    height: 100%;
    position: relative;
    z-index: 1;
}

.map-sidebar-header {
    padding: 20px;
    background: #1a3a8f;
    color: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

.map-sidebar-header h3 {
    margin: 0;
    font-size: 18px;
}

.map-hotel-list {
    padding: 15px;
}

.map-hotel-item {
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.map-hotel-item:hover {
    border-color: #1a3a8f;
    background: #f8f9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 58, 143, 0.15);
}

.map-hotel-item.active {
    border-color: #1a3a8f;
    background: #e8f0ff;
}

.map-hotel-item h4 {
    margin: 0 0 8px 0;
    color: #1a3a8f;
    font-size: 16px;
}

.map-hotel-address {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.map-hotel-price {
    font-weight: bold;
    color: #2e7d32;
    font-size: 16px;
}

.map-hotel-rating {
    display: inline-block;
    background: #1a3a8f;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 8px;
    font-weight: 600;
}

.map-modal-close {
    position: absolute;
    top: 0px;
    right: 0px;
    font-size: 30px;
    color: white;
    background: rgb(0, 0, 0);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999; /* bring above map */
}

.map-modal-close:hover {
    background: rgba(0,0,0,0.8);
}

.temp-highlight {
    background: #fff3cd !important;
    border-color: #ffc107 !important;
}

/* Map Modal Close Button */
.map-modal-main {
    position: relative; /* container for absolute positioning */
}

.map-modal-close {
    position: absolute; /* absolute relative to .map-modal-main */
    top: 0px;
    right: 0px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgb(255, 255, 255);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    cursor: pointer;
    z-index: 9999; /* must be above map */
}
.map-modal-close:hover {
    background: #f8f9fa;
    transform: scale(1.1);
}

.map-modal-close i {
    color: #333;
    font-size: 30px;
}

/* Map Container */
#hotelMap {
    width: 100%;
    height: 100%;
    background-color: #e9ecef;
}

/* Updated location section styles */
.location-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.location-info {
    flex: 1;
}

.location-actions {
    display: flex;
    gap: 10px;
}

.location-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c3e50;
}

.location-address {
    color: #666;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Share Section Styles */
.share-section {
    position: absolute;
    top: 2px;
    right: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 0px 0px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0);
    z-index: 10;
}

.share-text {
    font-size: 16px;
    color: #555;
    font-weight: 600;
}

.share-icons {
    display: flex;
    gap: 15px;
}

.share-link {
    font-size: 28px;
    transition: transform 0.3s;
}

.share-link:hover {
    transform: scale(1.2);
}

/* Image Slider Popup Styles */
.image-slider-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.slider-container {
    width: 1700px;
    height: 1000px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #ddd;
}

.slider-title {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
}

.close-slider {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 5px;
}

.close-slider:hover {
    color: #e74c3c;
}

.slider-content {
    height: calc(100% - 80px);
    display: flex;
    position: relative;
}

.slider-main {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.slider-image.active {
    display: block;
}

.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
}

.slider-btn {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
    color: #333;
}

.slider-btn:hover {
    background: white;
    transform: scale(1.1);
}

.slider-thumbnails {
    width: 150px;
    background: #f8f9fa;
    border-left: 1px solid #ddd;
    overflow-y: auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.thumbnail {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.thumbnail:hover {
    transform: scale(1.05);
}

.thumbnail.active {
    border-color: #3498db;
}

.slider-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
}

/* Eye Icon Overlay */
.image-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 15px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 5;
    width: fit-content;
    white-space: nowrap;
    max-height: 40px;
}

.image-overlay:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.05);
}

@media (max-width: 1200px) {
    .container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 10px;
        color: #2c3e50;
        display: flex;
        align-items: center;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .share-section {
        position: absolute;
        top: 5px;
        right: 10px;
        display: flex;
        align-items: center;
        gap: 15px;
        background: rgba(255, 255, 255, 0.9);
        padding: 5px 10px;
        border-radius: 30px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0);
        z-index: 10;
    }
}

@media (max-width: 768px) {
    .share-section {
        flex-direction: row;
        gap: 10px;
        padding: 0px;
    }
}

@media (max-width: 768px) {
    .main-content, .sidebar {
        width: 100%;
    }
    
    .sidebar {
        position: static;
    }
    
    .hotel-info-container {
        flex-direction: column;
    }
    
    .hotel-image-container {
        flex-direction: column;
    }
    
    .hotel-image {
        width: 100%;
    }
    
    .slider-container {
        width: 95%;
        height: 80%;
    }
    
    .share-section {
        position: relative;
        top: auto;
        right: auto;
        margin: 0px 0;
        justify-content: left;
    }
}

@media (max-width: 768px) {
    .date-picker {
        width: 100%;
        max-width: 350px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .checkin-checkout-container {
        grid-template-columns: 1fr;
    }
    
    .map-content {
        flex-direction: column;
    }
    
    .hotel-map, .map-hotels-list {
        flex: 1;
    }
    
    .map-hotels-list {
        border-left: none;
        border-top: 1px solid #ddd;
    }
    
    .slider-container {
        height: 70%;
    }
    
    .slider-thumbnails {
        width: 100px;
    }
    
    .thumbnail {
        height: 70px;
    }
    
    .share-section {
        flex-direction: row;
        gap: 10px;
        padding: 0px;
    }
    
    .share-icons {
        justify-content: center;
    }
    
    /* ADDED: Mobile Map Fix */
    .map-modal-content {
        flex-direction: column-reverse; /* List bottom, Map top */
        width: 95%;
        height: 90vh; /* Increase height for mobile */
        padding: 0;
    }
    .map-modal-sidebar {
        width: 100%;
        height: 40%; /* 40% height for list */
        border-right: none;
        border-top: 1px solid #ddd;
    }
    .map-modal-main {
        width: 100%;
        height: 60%; /* 60% height for map */
    }
    .map-modal-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 20px;
        background: rgba(255,255,255,0.9);
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }
}

.custom-col-width {
    width: 23.3% !important; /* Use !important to override Bootstrap's column width */
    flex: 0 0 23.3 !important; /* Also override flex properties if Bootstrap uses them */
    max-width: 23.3% !important;
}

/* RTL support for Arabic and Persian - ONLY when these languages are active */
/* COMPREHENSIVE RTL SUPPORT FIX */
body.rtl {
    direction: rtl !important;
    text-align: right !important;
}

/* Force RTL on all elements when body has rtl class */
body.rtl * {
    direction: rtl !important;
    text-align: right !important;
}

/* Style for Payment Method Images */
.payment-method img.payment-icon {
    height: 50px;       /* Fixed height to keep buttons uniform */
    width: auto;        /* Width adjusts automatically */
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
}

/* Remove old icon styles if they conflict */
.payment-method i {
    display: none; 
}

/* REMOVED DUPLICATE payment-method img.payment-icon definition */

/* =========================================
   PAYMENT METHOD TEXT COLORS
   ========================================= */

/* General Text Style */
.payment-method h4 {
    font-weight: 700;
    font-size: 15px;
    margin-top: 5px;
    transition: color 0.3s ease;
}

/* 1. Credit Card Text (Theme Dark Blue) */
.payment-method:nth-child(1) h4 {
    color: #003087; 
}

/* 2. PayPal Text (Official PayPal Blue) */
.payment-method:nth-child(2) h4 {
    color: #003087;
}

/* 3. First Iraqi Bank Text (Distinct Purple/Dark) */
.payment-method:nth-child(3) h4 {
    color: #003087; /* Or use #0a2c5e to match theme */
}

/* Optional: Make text white when selected/active for better contrast */
.payment-method.active h4 {
    color: #267bfa; /* Keep colored or change to #fff if background is dark */
}

.payment-header-row {
    display: flex;
    align-items: center; /* Vertically center them */
    gap: 100px;           /* The requested 50px margin/space */
    margin-bottom: 20px; /* Space below the header row */
}

/* Remove default bottom margins so they align straight */
.payment-header-row h2.section-title {
    margin-bottom: 0;
}

/* Style specifically for the Cash text */
.cash-payment-text {
    font-size: 16px;
    color: #2ecc71; /* Green color for 'Cash' */
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* =========================================
   PAYMENT METHOD TEXT COLORS end
   ========================================= */

/* UK Address Toggle Styles */
.uk-address-toggle {
    margin-top: 15px;
    margin-bottom: 10px;
}

.uk-address-toggle a {
    color: #3498db;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    width: fit-content;
}

.uk-address-toggle a:hover {
    color: #0a2c5e;
}

.uk-address-container {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    margin-bottom: 20px;
    display: none; /* Hidden by default */
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================================================================= */
/* MOBILE RESPONSIVE ENHANCEMENTS (ONLY APPLIES TO MOBILE/TABLET SCREENS) */
/* ========================================================================= */

@media (max-width: 768px) {
    /* 1. General Padding */
    .section {
        padding: 15px !important;
    }

    /* 2. Hotel Information */
    .hotel-image-container {
        flex-direction: column !important;
    }
    
    .hotel-image {
        width: 100% !important;
        height: 220px !important;
    }
    
    .hotel-info-container {
        flex-direction: column !important;
    }
    
    .checkin-checkout-container {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    
    /* 3. Traveler & Payment Forms - Force Single Column */
    .form-row, 
    .form-row-2, 
    .form-row-3, 
    .form-row-4,
    .card-details,
    .contact-row {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    /* 4. Payment Section */
    .payment-methods {
        flex-direction: column !important;
    }
    
    .payment-header-row {
        flex-direction: column !important;
        gap: 10px !important;
        align-items: flex-start !important;
    }
    
    .cash-payment-text {
        font-size: 14px !important;
    }
    
    /* 5. Protection Banner */
    .protection-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .protection-price {
        text-align: left !important;
        font-size: 24px !important;
    }
    
    .insurance-options {
        flex-direction: column;
        gap: 10px;
    }
    
    .protection-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .protection-note {
        width: 100% !important;
    }

    /* 6. Date Picker on Mobile */
    .date-picker {
        width: 300px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        top: auto !important;
        position: fixed !important; /* Fix to screen on mobile */
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 20000 !important;
    }
    
    /* 7. Dropdown (Language/Currency) fix */
    .dropdown-content {
        width: 90vw !important;
        left: -50vw !important; /* Adjust based on button position */
        padding: 15px !important;
    }
}

/* hotel booking header flex */
.header-flex {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 15px;
}

.header-left {
    font-size: 24px;
    font-weight: 600;
    color: rgb(59, 59, 59);
    white-space: nowrap;
    
}
    

.header-center {
    color: #3b3e42;
    margin: 0;
    text-align: center;
    white-space: nowrap;
    font-size: 18px;
}

.header-right {
    display: flex;
    flex-direction: row;
    gap: 10px;
    white-space: nowrap;
}

.btn-link {
    text-decoration: none;
}

@media (max-width: 768px) {
    .header-flex {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        margin-bottom: 15px;
    }

    .header-left {
        font-size: 24px;
        font-weight: 600;
        color: rgb(59, 59, 59);
        white-space: nowrap;
        justify-content: center !important;

        }
    }

@media (max-width: 768px) {
    .header-center {
        color: #3b3e42;
        margin: 0;
        text-align: center;
        white-space: nowrap;
        margin-bottom: 10px;
    }
}

/* Mobile responsiveness for header */
@media (max-width: 768px) {
    .header-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .header-center {
        display: none; /* Hide the text on mobile if needed */
    }
    
    .header-right {
        width: 100%;
        justify-content: space-between;
    }
    
    .auth-buttons {
        display: flex;
        gap: 8px;
    }
    
    .btn {
        font-size: 14px !important; /* Smaller font for mobile */
        padding: 6px 12px !important;
    }
    
    .btn-booking-summary {
        background-color: #004c8f;
        color: white;
        border: none;
        border-radius: 4px;
        font-size: 12px;
        padding: 6px 12px;
        cursor: pointer;
        white-space: nowrap;
    }
    
    .mobile-only {
        display: block !important; /* Show on mobile */
    }
}

/* Desktop styles */
@media (min-width: 769px) {
    .mobile-only {
        display: none !important; /* Hide on desktop */
    }
    
    .header-right {
        display: flex;
        gap: 10px;
    }
    
    .btn {
        font-size: 14px; /* Normal font size for desktop */
    }
}

/* Base button styles for both desktop and mobile */
.btn {
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
}

/* Hide the Booking Summary button by default (will be shown by mobile-only class on mobile) */
.booking-summary-slide-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 90%;
    max-width: 350px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 30px rgba(0,0,0,0.1);
    z-index: 9999;
    overflow-y: auto;
    padding: 25px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

.booking-summary-slide-panel.active {
    right: 0;
    opacity: 1;
    transform: translateX(0);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e8e8e8;
    animation: fadeInDown 0.6s ease-out 0.1s both;
}

.panel-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
}

.panel-header i {
    margin-right: 10px;
    color: #3498db;
}

.close-panel {
    background: #f8f9fa;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    color: #7f8c8d;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.close-panel:hover {
    background: #e74c3c;
    color: white;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 8px rgba(231, 76, 60, 0.3);
}

.panel-content {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0);
    z-index: 9998;
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(0px);
}

.panel-overlay.active {
    visibility: visible;
    opacity: 1;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(3px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Content styling for panel */
.panel-content .section-title {
    display: none;
}

.panel-content .booking-summary {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-top: 10px;
}

.panel-content .summary-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e8e8e8;
    font-size: 15px;
}

.panel-content .summary-item.total {
    border-bottom: none;
    font-weight: 700;
    color: #2c3e50;
    font-size: 18px;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 2px solid #e8e8e8;
}

/* Mobile-only button with soft animation */
@media (max-width: 768px) {
    .btn-booking-summary {
        background: linear-gradient(135deg, #3498db 0%, #2ecc71 100%);
        color: white;
        border: none;
        border-radius: 8px;
        font-size: 14px;
        padding: 10px 18px;
        cursor: pointer;
        font-weight: 600;
        display: inline-block !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
        position: relative;
        overflow: hidden;
    }
    
    .btn-booking-summary::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 5px;
        height: 5px;
        background: rgba(255, 255, 255, 0.5);
        opacity: 0;
        border-radius: 100%;
        transform: scale(1, 1) translate(-50%);
        transform-origin: 50% 50%;
    }
    
    .btn-booking-summary:focus:not(:active)::after {
        animation: ripple 1s ease-out;
    }
    
    .btn-booking-summary:hover {
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
    }
    
    .btn-booking-summary:active {
        transform: translateY(-1px) scale(0.98);
    }
    
    @keyframes ripple {
        0% {
            transform: scale(0, 0);
            opacity: 0.5;
        }
        20% {
            transform: scale(25, 25);
            opacity: 0.3;
        }
        100% {
            opacity: 0;
            transform: scale(40, 40);
        }
    }
}

@media (min-width: 769px) {
    .btn-booking-summary {
        display: none !important;
    }
}

.panel-header {
    animation: fadeInDown 0.6s ease-out 0.1s both;
}

.panel-content {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

@keyframes ripple {
    0% { transform: scale(0, 0); opacity: 0.5; }
    100% { opacity: 0; transform: scale(40, 40); }
}


/* ======================================================
   HOTEL LIST MOBILE BACK RIBBON
   (Independent from Hotel Details page)
====================================================== */

    /* Ribbon tail */
    .hotel-booking-back-ribbon::after{
        content:"";
        position:absolute;
        top:100%;
        left:0;
        border-width:4px 4px 0 0;
        border-style:solid;
        border-color:#8e1c10 transparent transparent transparent;

    }

        /* Position reference */
    .mobile-header-bar{
        position:relative;
    }

     .hotel-booking-back-ribbon{
        display:inline-block;
        position:absolute;
        left:0px;      /* LEFT SIDE */
        top:0px;        /* Adjust independently */
        background:linear-gradient(90deg,#e74c3c,#c0392b);
        color:#fff;
        padding:5px 14px;
        font-size:12px;
        font-weight:700;
        text-decoration:none;
        border-radius:0 4px 4px 0;
        box-shadow:0 2px 6px rgba(0,0,0,.25);
        white-space:nowrap;
        z-index:999;

     }
@media (max-width:768px){

    /* Position reference */
    .mobile-header-bar{
        position:relative;
    }

    .hotel-booking-back-ribbon{
        display:inline-block;
        position:absolute;
        left:0px;      /* LEFT SIDE */
        top:0px;        /* Adjust independently */
        background:linear-gradient(90deg,#e74c3c,#c0392b);
        color:#fff;
        padding:5px 14px;
        font-size:12px;
        font-weight:700;
        text-decoration:none;
        border-radius:0 4px 4px 0;
        box-shadow:0 2px 6px rgba(0,0,0,.25);
        white-space:nowrap;
        z-index:999;
    }

    /* Ribbon tail */
    .hotel-booking-back-ribbon::after{
        content:"";
        position:absolute;
        top:100%;
        left:0;
        border-width:4px 4px 0 0;
        border-style:solid;
        border-color:#8e1c10 transparent transparent transparent;
    }

}
