/* ============================================
   HOTEL BOOKING SYSTEM - Styles
   Extends SAMSAR main theme
   ============================================ */

/* ---- Hotel Card ---- */
.hotel-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    height: 100%;
}
.hotel-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}
.hotel-card .hotel-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.hotel-card .hotel-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.hotel-card:hover .hotel-image img { transform: scale(1.08); }

.hotel-card .hotel-badge {
    position: absolute; top: 15px; left: 15px;
    display: flex; gap: 8px; z-index: 5;
}
.hotel-card .badge-hotel-type {
    background: var(--gradient-primary);
    color: #fff; padding: 5px 14px;
    border-radius: 20px; font-size: 0.75rem;
    font-weight: 600; text-transform: uppercase;
}
.hotel-card .badge-stars {
    background: rgba(0,0,0,0.6); color: var(--secondary);
    padding: 5px 10px; border-radius: 20px;
    font-size: 0.75rem;
}
.hotel-card .badge-instant {
    position: absolute; top: 15px; right: 15px;
    background: var(--accent); color: #fff;
    padding: 5px 12px; border-radius: 20px;
    font-size: 0.7rem; font-weight: 600; z-index: 5;
}
.hotel-card .hotel-body { padding: 22px; }
.hotel-card .hotel-price {
    font-size: 1.3rem; font-weight: 800;
    color: var(--secondary-dark); margin-bottom: 5px;
}
.hotel-card .hotel-price span {
    font-size: 0.8rem; color: var(--text-secondary); font-weight: 400;
}
.hotel-card .hotel-name {
    font-size: 1.05rem; font-weight: 700;
    margin-bottom: 5px;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.hotel-card .hotel-name a { color: inherit; }
.hotel-card .hotel-name a:hover { color: var(--primary-light); }
.hotel-card .hotel-location {
    color: var(--text-secondary); font-size: 0.88rem; margin-bottom: 10px;
}
.hotel-card .hotel-location i { color: var(--secondary); margin-right: 5px; }
.hotel-card .hotel-amenities-preview {
    display: flex; gap: 12px; flex-wrap: wrap;
    padding-top: 12px; border-top: 1px solid var(--border-color);
}
.hotel-card .amenity-icon {
    color: var(--primary-light); font-size: 0.85rem;
    display: flex; align-items: center; gap: 4px;
}
.hotel-card .hotel-rating {
    display: flex; align-items: center; gap: 6px;
    margin-bottom: 8px;
}
.hotel-card .hotel-rating .stars { color: var(--secondary); font-size: 0.85rem; }
.hotel-card .hotel-rating .rating-count {
    font-size: 0.78rem; color: var(--text-light);
}

/* ---- Star Rating Display ---- */
.star-rating { display: inline-flex; gap: 2px; }
.star-rating .fa-star { color: #ddd; font-size: 0.9rem; }
.star-rating .fa-star.active { color: var(--secondary); }
.star-rating .fa-star-half-alt { color: var(--secondary); }

/* ---- Hotel Detail Page ---- */
.hotel-detail-section { padding-top: 100px; padding-bottom: 60px; }
.hotel-gallery { border-radius: var(--radius); overflow: hidden; margin-bottom: 30px; }
.hotel-gallery .main-image {
    width: 100%; height: 450px;
    object-fit: cover; border-radius: var(--radius);
    cursor: pointer;
}
.hotel-gallery .thumb-row {
    display: flex; gap: 10px; margin-top: 10px;
}
.hotel-gallery .thumb-row img {
    width: calc(25% - 8px); height: 90px;
    object-fit: cover; border-radius: var(--radius-sm);
    cursor: pointer; opacity: 0.7; transition: var(--transition);
}
.hotel-gallery .thumb-row img:hover,
.hotel-gallery .thumb-row img.active { opacity: 1; }

.hotel-info-card {
    background: var(--bg-card); border-radius: var(--radius);
    padding: 30px; box-shadow: var(--shadow-card); margin-bottom: 25px;
}
.hotel-info-card h3 {
    font-weight: 700; color: var(--primary); margin-bottom: 20px;
    padding-bottom: 12px; border-bottom: 2px solid var(--border-color);
}

/* ---- Amenities Grid ---- */
.amenities-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}
.amenity-item {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 16px; background: var(--bg-color);
    border-radius: var(--radius-sm); transition: var(--transition);
}
.amenity-item:hover {
    background: rgba(232, 168, 56, 0.08);
    transform: translateX(3px);
}
.amenity-item i {
    color: var(--primary-light); font-size: 1.1rem; width: 24px; text-align: center;
}
.amenity-item span { font-size: 0.9rem; color: var(--text-color); }

/* ---- Room Cards ---- */
.room-card {
    background: var(--bg-card); border-radius: var(--radius);
    border: 1px solid var(--border-color); overflow: hidden;
    transition: var(--transition); margin-bottom: 20px;
}
.room-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-light);
}
.room-card .room-content {
    display: flex; flex-wrap: wrap;
}
.room-card .room-image {
    width: 280px; min-height: 200px; flex-shrink: 0;
    overflow: hidden;
}
.room-card .room-image img {
    width: 100%; height: 100%; object-fit: cover;
}
.room-card .room-body {
    flex: 1; padding: 25px;
    display: flex; flex-direction: column; justify-content: space-between;
}
.room-card .room-type-badge {
    display: inline-block; background: var(--bg-color);
    color: var(--primary-light); padding: 4px 12px;
    border-radius: 20px; font-size: 0.75rem;
    font-weight: 600; text-transform: uppercase;
    margin-bottom: 10px;
}
.room-card .room-meta {
    display: flex; gap: 18px; margin: 12px 0;
}
.room-card .room-meta .meta-item {
    display: flex; align-items: center; gap: 5px;
    color: var(--text-secondary); font-size: 0.85rem;
}
.room-card .room-meta .meta-item i { color: var(--primary-light); }
.room-card .room-pricing {
    display: flex; align-items: center;
    justify-content: space-between;
    padding-top: 15px; border-top: 1px solid var(--border-color);
}
.room-card .room-price {
    font-size: 1.3rem; font-weight: 800; color: var(--secondary-dark);
}
.room-card .room-price span {
    font-size: 0.8rem; font-weight: 400; color: var(--text-secondary);
}

/* ---- Booking Flow ---- */
.booking-section { padding-top: 100px; padding-bottom: 60px; }
.booking-card {
    background: var(--bg-card); border-radius: var(--radius);
    padding: 30px; box-shadow: var(--shadow-card);
}
.booking-summary {
    background: var(--bg-card); border-radius: var(--radius);
    padding: 30px; box-shadow: var(--shadow);
    position: sticky; top: 100px;
}
.booking-summary .summary-hotel {
    display: flex; gap: 15px; margin-bottom: 20px;
    padding-bottom: 20px; border-bottom: 1px solid var(--border-color);
}
.booking-summary .summary-hotel img {
    width: 80px; height: 60px; object-fit: cover;
    border-radius: var(--radius-sm);
}
.booking-summary .price-breakdown { margin: 20px 0; }
.booking-summary .price-row {
    display: flex; justify-content: space-between;
    padding: 8px 0; font-size: 0.92rem;
    color: var(--text-secondary);
}
.booking-summary .price-row.total {
    font-size: 1.15rem; font-weight: 800;
    color: var(--text-color);
    border-top: 2px solid var(--border-color);
    padding-top: 15px; margin-top: 10px;
}
.booking-stepper {
    display: flex; justify-content: center; gap: 0;
    margin-bottom: 40px;
}
.booking-stepper .step {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 24px; position: relative;
    color: var(--text-light); font-weight: 500;
}
.booking-stepper .step.active { color: var(--primary); font-weight: 700; }
.booking-stepper .step.completed { color: var(--accent); }
.booking-stepper .step .step-num {
    width: 30px; height: 30px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-color); font-size: 0.85rem; font-weight: 700;
}
.booking-stepper .step.active .step-num {
    background: var(--gradient-primary); color: #fff;
}
.booking-stepper .step.completed .step-num {
    background: var(--accent); color: #fff;
}

/* ---- Availability Calendar ---- */
.availability-calendar {
    background: var(--bg-card); border-radius: var(--radius);
    padding: 20px; box-shadow: var(--shadow-card);
}
.calendar-legend {
    display: flex; gap: 20px; margin-top: 15px;
    padding-top: 15px; border-top: 1px solid var(--border-color);
}
.calendar-legend .legend-item {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.82rem; color: var(--text-secondary);
}
.calendar-legend .legend-dot {
    width: 12px; height: 12px; border-radius: 3px;
}
.legend-dot.available { background: var(--accent-light); }
.legend-dot.booked { background: var(--danger); }
.legend-dot.selected { background: var(--secondary); }

/* ---- Reviews Section ---- */
.review-item {
    padding: 20px 0; border-bottom: 1px solid var(--border-color);
}
.review-item:last-child { border-bottom: none; }
.review-header {
    display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
}
.review-avatar {
    width: 45px; height: 45px; border-radius: 50%;
    background: var(--gradient-primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.1rem;
}
.review-meta h6 { font-weight: 700; margin-bottom: 2px; }
.review-meta small { color: var(--text-light); }
.review-text { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.6; }

/* ---- Hotel Owner Dashboard ---- */
.owner-sidebar {
    width: 260px; min-height: 100vh; position: fixed;
    left: 0; top: 0; z-index: 1040;
    background: var(--gradient-primary);
    padding-top: 0; transition: var(--transition);
    overflow-y: auto;
}
.owner-sidebar .sidebar-brand {
    padding: 25px 20px; text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.owner-sidebar .sidebar-brand img { height: 40px; margin-bottom: 8px; }
.owner-sidebar .sidebar-brand h5 { color: #fff; font-size: 1rem; margin: 0; font-weight: 700; }
.owner-sidebar .sidebar-brand small { color: rgba(255,255,255,0.6); font-size: 0.75rem; }

.owner-sidebar .sidebar-menu {
    list-style: none; padding: 15px 0; margin: 0;
}
.owner-sidebar .sidebar-menu li a {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 25px; color: rgba(255,255,255,0.75);
    font-size: 0.9rem; font-weight: 500;
    transition: var(--transition); text-decoration: none;
    border-left: 3px solid transparent;
}
.owner-sidebar .sidebar-menu li a:hover {
    color: #fff; background: rgba(255,255,255,0.08);
    border-left-color: var(--secondary);
}
.owner-sidebar .sidebar-menu li a.active {
    color: #fff; background: rgba(255,255,255,0.12);
    border-left-color: var(--secondary);
}
.owner-sidebar .sidebar-menu li a i { width: 20px; text-align: center; }

.owner-content {
    margin-left: 260px; padding: 30px;
    min-height: 100vh; background: var(--bg-color);
}
.owner-top-bar {
    display: flex; justify-content: space-between;
    align-items: center; margin-bottom: 30px;
    padding: 15px 25px; background: var(--bg-card);
    border-radius: var(--radius); box-shadow: var(--shadow-card);
}

/* ---- Dashboard Stats ---- */
.stat-card-hotel {
    background: var(--bg-card); border-radius: var(--radius);
    padding: 25px; box-shadow: var(--shadow-card);
    transition: var(--transition); position: relative;
    overflow: hidden;
}
.stat-card-hotel:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.stat-card-hotel .stat-icon {
    width: 50px; height: 50px; border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; color: #fff; margin-bottom: 15px;
}
.stat-card-hotel h3 { font-size: 1.8rem; font-weight: 800; margin-bottom: 5px; }
.stat-card-hotel p { color: var(--text-secondary); font-size: 0.85rem; margin: 0; }
.stat-card-hotel .stat-trend {
    position: absolute; top: 20px; right: 20px;
    font-size: 0.8rem; font-weight: 600;
    padding: 3px 10px; border-radius: 20px;
}
.stat-trend.up { background: rgba(39,174,96,0.1); color: var(--accent); }
.stat-trend.down { background: rgba(231,76,60,0.1); color: var(--danger); }

/* ---- Booking Status Badges ---- */
.badge-booking { padding: 5px 14px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }
.badge-pending { background: rgba(232,168,56,0.15); color: var(--secondary-dark); }
.badge-confirmed { background: rgba(39,174,96,0.15); color: var(--accent); }
.badge-cancelled { background: rgba(231,76,60,0.15); color: var(--danger); }
.badge-completed { background: rgba(26,58,92,0.15); color: var(--primary); }

/* ---- Invoice ---- */
.invoice-container {
    background: #fff; max-width: 800px; margin: 100px auto 40px;
    padding: 50px; box-shadow: var(--shadow); border-radius: var(--radius);
}
.invoice-header {
    display: flex; justify-content: space-between;
    align-items: flex-start; margin-bottom: 40px;
    padding-bottom: 30px; border-bottom: 3px solid var(--primary);
}
.invoice-header .logo img { height: 50px; }
.invoice-header .invoice-info { text-align: right; }
.invoice-header .invoice-number {
    font-size: 1.3rem; font-weight: 800; color: var(--primary);
}
.invoice-details {
    display: flex; justify-content: space-between;
    margin-bottom: 30px;
}
.invoice-table { width: 100%; border-collapse: collapse; margin: 30px 0; }
.invoice-table th {
    background: var(--gradient-primary); color: #fff;
    padding: 12px 15px; text-align: left; font-size: 0.85rem;
}
.invoice-table td {
    padding: 12px 15px; border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}
.invoice-total {
    text-align: right; margin-top: 20px;
}
.invoice-total .total-row {
    display: flex; justify-content: flex-end; gap: 40px;
    padding: 8px 0; font-size: 0.92rem;
}
.invoice-total .total-row.grand {
    font-size: 1.2rem; font-weight: 800;
    border-top: 2px solid var(--primary); padding-top: 15px;
}

/* ---- Toast Notification ---- */
.toast-notification{position:fixed;top:30px;right:30px;z-index:9999;min-width:320px;padding:18px 24px;border-radius:var(--radius);color:#fff;font-weight:600;font-size:.95rem;box-shadow:0 8px 32px rgba(0,0,0,.18);display:flex;align-items:center;gap:12px;animation:toastIn .4s ease,toastOut .4s ease 3.6s forwards;pointer-events:auto}
.toast-notification.toast-success{background:linear-gradient(135deg,#27ae60,#2ecc71)}
.toast-notification.toast-error{background:linear-gradient(135deg,#e74c3c,#c0392b)}
.toast-notification.toast-info{background:var(--gradient-primary)}
.toast-notification i{font-size:1.3rem}
@keyframes toastIn{from{transform:translateX(120%);opacity:0}to{transform:translateX(0);opacity:1}}
@keyframes toastOut{from{opacity:1}to{opacity:0;transform:translateY(-20px)}}

/* ---- Dashboard Calendar ---- */
.dash-calendar{background:var(--bg-card);border-radius:var(--radius);padding:20px;box-shadow:var(--shadow-card)}
.dash-calendar .cal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}
.dash-calendar .cal-header h5{font-weight:700;margin:0}
.dash-calendar .cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;text-align:center}
.dash-calendar .cal-day-label{font-size:.7rem;font-weight:700;color:var(--text-light);padding:6px 0;text-transform:uppercase}
.dash-calendar .cal-cell{padding:8px 4px;border-radius:6px;font-size:.82rem;cursor:default;position:relative;transition:.2s}
.dash-calendar .cal-cell.today{background:var(--gradient-primary);color:#fff;font-weight:700;border-radius:50%}
.dash-calendar .cal-cell.has-booking{background:rgba(232,168,56,.15);color:var(--secondary-dark);font-weight:600;cursor:pointer}
.dash-calendar .cal-cell.has-booking:hover{background:rgba(232,168,56,.3)}
.dash-calendar .cal-cell.empty{color:transparent;pointer-events:none}
.dash-calendar .cal-cell .dot{width:5px;height:5px;border-radius:50%;background:var(--secondary);position:absolute;bottom:3px;left:50%;transform:translateX(-50%)}

/* ---- Quick Booking Modal ---- */
.qb-overlay{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:2000;display:none;align-items:center;justify-content:center;backdrop-filter:blur(4px)}
.qb-overlay.show{display:flex}
.qb-modal{background:var(--bg-card);border-radius:var(--radius);padding:35px;width:95%;max-width:650px;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px rgba(0,0,0,.25);animation:modalIn .3s ease}
@keyframes modalIn{from{transform:scale(.9) translateY(30px);opacity:0}to{transform:scale(1) translateY(0);opacity:1}}
.qb-modal h4{font-weight:800;margin-bottom:20px;color:var(--primary)}
.qb-modal .form-row{display:flex;gap:12px;flex-wrap:wrap}
.qb-modal .form-row .form-group{flex:1;min-width:180px}
.qb-close{position:absolute;top:15px;right:20px;background:none;border:none;font-size:1.5rem;cursor:pointer;color:var(--text-light)}

/* ---- Host Info Card ---- */
.host-info-card{background:var(--bg-card);border-radius:var(--radius);padding:25px;box-shadow:var(--shadow-card);border-left:4px solid var(--secondary)}
.host-info-card .host-avatar{width:60px;height:60px;border-radius:50%;background:var(--gradient-primary);color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.5rem;font-weight:700}
.host-info-card .host-details{display:flex;gap:15px;align-items:center;margin-bottom:15px}
.host-info-card .host-meta span{display:block;font-size:.85rem;color:var(--text-secondary)}
.host-info-card .host-meta strong{font-size:1.05rem}

/* ---- Booked Rooms Panel ---- */
.booked-panel{background:var(--bg-card);border-radius:var(--radius);padding:20px;box-shadow:var(--shadow-card)}
.booked-panel .booked-item{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid var(--border-color)}
.booked-panel .booked-item:last-child{border-bottom:none}
.booked-panel .booked-room-name{font-weight:600;font-size:.92rem}
.booked-panel .booked-dates{font-size:.8rem;color:var(--text-secondary)}

/* ---- Date Picker Overrides ---- */
.flatpickr-calendar {
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow-hover) !important;
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
    .owner-sidebar { transform: translateX(-100%); }
    .owner-sidebar.show { transform: translateX(0); }
    .owner-content { margin-left: 0; }
    .room-card .room-image { width: 100%; height: 200px; }
    .room-card .room-content { flex-direction: column; }
    .hotel-gallery .main-image { height: 300px; }
    .booking-summary { position: static; margin-top: 30px; }
}
@media (max-width: 767.98px) {
    .hotel-gallery .main-image { height: 220px; }
    .hotel-gallery .thumb-row img { height: 60px; }
    .amenities-grid { grid-template-columns: repeat(2, 1fr); }
    .booking-stepper { flex-wrap: wrap; }
    .invoice-container { padding: 25px; margin: 90px 10px 20px; }
    .invoice-header { flex-direction: column; gap: 15px; }
    .invoice-header .invoice-info { text-align: left; }
    .invoice-details { flex-direction: column; gap: 20px; }
    .qb-modal { padding: 20px; width: 95%; max-height: 95vh; }
    .qb-modal h4 { font-size: 1.25rem; }
}
@media print {
    .owner-sidebar, .owner-top-bar, .samsar-navbar, .samsar-footer,
    .no-print { display: none !important; }
    .owner-content { margin-left: 0 !important; }
    .invoice-container { box-shadow: none; margin: 0; padding: 20px; }
}

/* ---- Attachment Buttons ---- */
.attachment-btn:hover {
    border-color: var(--secondary) !important;
    background: rgba(232,168,56,0.05) !important;
    transform: translateY(-2px);
}

/* ---- Payment Option Hover ---- */
.payment-option:hover {
    border-color: var(--secondary-light) !important;
    background: rgba(232,168,56,0.03);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

/* ---- Booking Confirm Page ---- */
.price-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.92rem;
    color: var(--text-secondary);
}
.price-row:last-child { border-bottom: none; }
.price-row.total {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
    border-top: 2px solid var(--border-color);
    border-bottom: none;
    padding-top: 15px;
    margin-top: 5px;
}

/* ---- Review Reply ---- */
.review-item form textarea:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(232,168,56,0.15);
}

/* ---- No Show Badge ---- */
.badge-no_show { background: rgba(149,165,166,0.15); color: #7f8c8d; }

/* ---- Wishlist Heart (Airbnb-style) ---- */
.wishlist-heart {
    position: absolute; top: 15px; right: 15px; z-index: 10;
    background: rgba(0,0,0,0.25); border: none; border-radius: 50%;
    width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.3s ease; backdrop-filter: blur(4px);
}
.wishlist-heart i { color: #fff; font-size: 1.1rem; transition: all 0.3s ease; }
.wishlist-heart:hover { background: rgba(0,0,0,0.45); transform: scale(1.1); }
.wishlist-heart.active { background: rgba(231,76,60,0.9); }
.wishlist-heart.active i { color: #fff; }
@keyframes heartPulse { 0%{transform:scale(1)} 50%{transform:scale(1.3)} 100%{transform:scale(1)} }
.wishlist-heart.active i { animation: heartPulse 0.4s ease; }

/* ---- Superhost Badge ---- */
.badge-superhost {
    position: absolute; bottom: 15px; left: 15px; z-index: 5;
    background: linear-gradient(135deg, #ff385c, #e31c5f); color: #fff;
    padding: 5px 14px; border-radius: 20px; font-size: 0.72rem;
    font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(227,28,95,0.3);
}
.badge-superhost i { margin-right: 4px; }

/* ---- Urgency Badge (Booking.com-style) ---- */
.urgency-badge {
    display: inline-flex; align-items: center; gap: 5px;
    background: rgba(231,76,60,0.08); color: #e74c3c;
    padding: 4px 10px; border-radius: 4px; font-size: 0.78rem;
    font-weight: 600; margin-bottom: 6px;
    animation: urgencyPulse 2s ease infinite;
}
@keyframes urgencyPulse { 0%,100%{opacity:1} 50%{opacity:0.7} }
.urgency-badge i { font-size: 0.75rem; }

/* ---- Social Proof ---- */
.social-proof {
    display: inline-flex; align-items: center; gap: 5px;
    color: var(--accent); font-size: 0.75rem; font-weight: 500;
    margin-bottom: 6px;
}
.social-proof i { font-size: 0.7rem; }

/* ---- Free Cancellation Badge ---- */
.free-cancel-badge {
    display: inline-flex; align-items: center; gap: 4px;
    color: var(--accent); font-size: 0.75rem; font-weight: 600;
    margin-right: 8px;
}
.free-cancel-badge i { font-size: 0.7rem; }

/* ---- Share Button ---- */
.share-btn-group { display: flex; gap: 8px; align-items: center; }
.share-btn {
    width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border-color);
    background: var(--bg-card); display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.2s; font-size: 0.9rem; color: var(--text-secondary);
}
.share-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: scale(1.1); }

/* ---- Rating Breakdown (Booking.com-style) ---- */
.rating-breakdown { margin: 20px 0; }
.rating-row {
    display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
}
.rating-row .rating-label { min-width: 100px; font-size: 0.85rem; color: var(--text-secondary); font-weight: 500; }
.rating-bar {
    flex: 1; height: 8px; background: var(--bg-color);
    border-radius: 4px; overflow: hidden; position: relative;
}
.rating-bar-fill {
    height: 100%; border-radius: 4px; transition: width 1s ease;
    background: linear-gradient(90deg, var(--secondary), var(--secondary-dark));
}
.rating-row .rating-score { min-width: 30px; text-align: right; font-weight: 700; font-size: 0.88rem; color: var(--text-color); }

/* ---- Cancellation Policy Badge ---- */
.cancel-policy-card {
    display: flex; align-items: center; gap: 12px; padding: 15px;
    background: rgba(39,174,96,0.05); border: 1px solid rgba(39,174,96,0.15);
    border-radius: var(--radius-sm); margin-top: 15px;
}
.cancel-policy-card.strict { background: rgba(231,76,60,0.05); border-color: rgba(231,76,60,0.15); }
.cancel-policy-card.moderate { background: rgba(232,168,56,0.05); border-color: rgba(232,168,56,0.15); }
.cancel-policy-card i { font-size: 1.3rem; }
.cancel-policy-card.flexible i { color: var(--accent); }
.cancel-policy-card.moderate i { color: var(--secondary); }
.cancel-policy-card.strict i { color: var(--danger); }

/* ---- Host Response Badge ---- */
.host-response {
    display: flex; gap: 20px; padding: 15px; background: var(--bg-color);
    border-radius: var(--radius-sm); margin-top: 10px; flex-wrap: wrap;
}
.host-response .resp-item { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; }
.host-response .resp-item i { color: var(--accent); }

/* ---- Review Star Input (enhanced) ---- */
.star-rating-sub { display: flex; gap: 3px; }
.star-rating-sub i { cursor: pointer; font-size: 1.1rem; color: #ddd; transition: all 0.15s; }
.star-rating-sub i:hover, .star-rating-sub i.active { color: var(--secondary); transform: scale(1.15); }

/* ---- Quick Booking Modal ---- */
.qb-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); z-index: 10000; display: none;
    align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s;
}
.qb-overlay.show { display: flex; opacity: 1; }
.qb-modal {
    background: var(--card-bg); width: 90%; max-width: 700px;
    border-radius: var(--radius-md); padding: 30px; box-shadow: var(--shadow-lg);
    transform: translateY(20px); transition: transform 0.3s;
    max-height: 90vh; overflow-y: auto;
}
.qb-overlay.show .qb-modal { transform: translateY(0); }
.qb-close {
    position: absolute; top: 15px; right: 15px; background: none; border: none;
    font-size: 1.5rem; color: var(--text-light); cursor: pointer;
}
