/* =========================================
   REVIEWTHAMMY.VN - ADVANCED FEATURES CSS
   ========================================= */

/* ============ TOAST NOTIFICATIONS ============ */
#toast-container {
  position: fixed; bottom: 24px; left: 24px;
  z-index: 99999; display: flex; flex-direction: column; gap: 10px;
  max-width: 380px;
}
.rtm-toast {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 12px; padding: 14px 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  border-left: 4px solid #d82b68;
  font-family: 'Be Vietnam Pro', sans-serif; font-size: 13px; color: #334155;
  transform: translateX(-120%); transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.rtm-toast.show { transform: translateX(0); }
.rtm-toast i:first-child { font-size: 18px; color: #d82b68; flex-shrink: 0; }
.rtm-toast span { flex: 1; line-height: 1.4; }
.rtm-toast button { background: none; border: none; color: #94a3b8; cursor: pointer; padding: 0; font-size: 14px; flex-shrink: 0; }
.rtm-toast button:hover { color: #d82b68; }
.rtm-toast-success { border-color: #10b981; }
.rtm-toast-success i:first-child { color: #10b981; }
.rtm-toast-warning { border-color: #f59e0b; }
.rtm-toast-warning i:first-child { color: #f59e0b; }
.rtm-toast-error { border-color: #ef4444; }
.rtm-toast-error i:first-child { color: #ef4444; }

/* ============ NOTIFICATION BELL ============ */
.notif-bell-wrap {
  position: relative; cursor: pointer;
}
.notif-bell-btn {
  width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid #e2e8f0;
  background: #f8f9fa; display: flex; align-items: center; justify-content: center;
  color: #475569; cursor: pointer; transition: 0.2s; position: relative;
  font-size: 15px;
}
.notif-bell-btn:hover { background: #fff0f5; color: #d82b68; border-color: #ffd6e7; }
.notif-dot {
  position: absolute; top: 2px; right: 2px; width: 9px; height: 9px;
  background: #d82b68; border-radius: 50%; border: 2px solid #fff;
  animation: pulseDot 1.5s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.4); }
}
.notif-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0;
  width: 320px; background: #fff; border-radius: 14px;
  box-shadow: 0 12px 40px rgba(12,43,94,0.18); z-index: 9999;
  border: 1px solid #f1f5f9;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all 0.25s ease;
}
.notif-dropdown.show { opacity: 1; visibility: visible; transform: translateY(0); }
.notif-header { padding: 14px 16px; border-bottom: 1px solid #f1f5f9; display: flex; align-items: center; justify-content: space-between; }
.notif-header strong { font-size: 13px; font-weight: 700; color: #0c2b5e; }
.notif-header a { font-size: 11px; color: #d82b68; text-decoration: none; font-weight: 600; }
.notif-item {
  display: flex; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #f8fafc;
  cursor: pointer; transition: background 0.15s;
}
.notif-item:hover { background: #fff8fb; }
.notif-icon { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.notif-icon.gift { background: #fff0f5; color: #d82b68; }
.notif-icon.info { background: #eff6ff; color: #1a429b; }
.notif-icon.success { background: #f0fdf4; color: #10b981; }
.notif-body { flex: 1; min-width: 0; }
.notif-body strong { font-size: 12px; font-weight: 700; color: #1e293b; display: block; margin-bottom: 2px; }
.notif-body p { font-size: 11px; color: #64748b; margin: 0; line-height: 1.5; }
.notif-time { font-size: 10px; color: #94a3b8; margin-top: 3px; }
.notif-unread::before { content: ''; width: 7px; height: 7px; background: #d82b68; border-radius: 50%; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); }
.notif-unread { position: relative; background: #fffbfc; }

/* ============ BOOKING MODAL ============ */
#booking-modal {
  position: fixed; inset: 0; z-index: 99998;
  background: rgba(12,43,94,0.55); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
#booking-modal.show { opacity: 1; visibility: visible; }
.booking-box {
  background: #fff; border-radius: 20px; width: 94%; max-width: 560px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
  transform: translateY(24px) scale(0.97); transition: all 0.3s ease;
  max-height: 92vh; overflow-y: auto;
}
#booking-modal.show .booking-box { transform: translateY(0) scale(1); }
.booking-header {
  padding: 24px 24px 16px; border-bottom: 1px solid #f1f5f9;
  background: linear-gradient(135deg, #0c2b5e 0%, #1a429b 50%, #d82b68 100%);
  border-radius: 20px 20px 0 0; color: #fff; position: relative;
}
.booking-header h3 { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.booking-header p { font-size: 13px; color: rgba(255,255,255,0.8); }
.booking-close {
  position: absolute; top: 14px; right: 14px; width: 30px; height: 30px;
  border-radius: 50%; background: rgba(255,255,255,0.2); border: none;
  color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 14px; transition: 0.2s;
}
.booking-close:hover { background: rgba(255,255,255,0.35); }
.booking-body { padding: 22px 24px; }
.booking-steps { display: flex; gap: 0; margin-bottom: 24px; }
.booking-step {
  flex: 1; text-align: center; font-size: 11px; color: #94a3b8; font-weight: 600;
  position: relative; padding-bottom: 34px;
}
.booking-step::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 24px; height: 24px; border-radius: 50%; border: 2px solid #e2e8f0;
  background: #f8fafc; font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  line-height: 20px; color: #94a3b8; z-index: 2;
}
.booking-step.active { color: #d82b68; }
.booking-step.active::after { background: #d82b68; border-color: #d82b68; color: #fff; }
.booking-step:nth-child(1)::after { content: '1'; }
.booking-step:nth-child(2)::after { content: '2'; }
.booking-step:nth-child(3)::after { content: '3'; }
.bk-form-row { margin-bottom: 16px; }
.bk-form-row label { display: block; font-size: 12px; font-weight: 700; color: #334155; margin-bottom: 7px; }
.bk-form-row label span { color: #d82b68; }
.bk-input, .bk-select {
  width: 100%; padding: 11px 14px; border: 1.5px solid #e2e8f0; border-radius: 10px;
  font-size: 14px; font-family: 'Be Vietnam Pro', sans-serif; color: #334155;
  outline: none; transition: 0.2s; background: #fff;
}
.bk-input:focus, .bk-select:focus { border-color: #d82b68; box-shadow: 0 0 0 3px rgba(216,43,104,0.1); }
.bk-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.time-slots-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.time-slot {
  padding: 8px 4px; border: 1.5px solid #e2e8f0; border-radius: 8px; text-align: center;
  font-size: 12px; font-weight: 600; color: #475569; cursor: pointer; transition: 0.2s;
}
.time-slot:hover { border-color: #d82b68; color: #d82b68; }
.time-slot.selected { background: #d82b68; border-color: #d82b68; color: #fff; }
.time-slot.disabled { opacity: 0.4; cursor: not-allowed; }
.btn-submit-booking {
  width: 100%; padding: 14px; background: linear-gradient(135deg, #d82b68, #be1c56);
  color: #fff; border: none; border-radius: 10px; font-size: 15px; font-weight: 700;
  font-family: 'Be Vietnam Pro', sans-serif; cursor: pointer; transition: 0.2s; margin-top: 8px;
}
.btn-submit-booking:hover { box-shadow: 0 6px 20px rgba(216,43,104,0.35); transform: translateY(-1px); }

/* Fixed Booking Button */
#fixed-booking-btn {
  position: fixed; bottom: 90px; right: 24px; z-index: 9990;
  background: linear-gradient(135deg, #d82b68, #be1c56);
  color: #fff; padding: 14px 20px; border-radius: 50px;
  font-size: 13px; font-weight: 700; font-family: 'Be Vietnam Pro', sans-serif;
  border: none; cursor: pointer; box-shadow: 0 6px 25px rgba(216,43,104,0.45);
  display: flex; align-items: center; gap: 8px;
  transform: translateX(100px); opacity: 0; transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
#fixed-booking-btn.visible { transform: translateX(0); opacity: 1; }
#fixed-booking-btn:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 10px 30px rgba(216,43,104,0.5); }

/* ============ BEFORE-AFTER SLIDER ============ */
.before-after-wrap { margin: 30px 0; }
.before-after-wrap h3 { font-size: 16px; font-weight: 700; color: #0c2b5e; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.before-after-container {
  position: relative; width: 100%; border-radius: 14px; overflow: hidden;
  cursor: ew-resize; user-select: none; box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  aspect-ratio: 16/9;
}
.ba-before, .ba-after {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.ba-before img, .ba-after img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-after { clip-path: inset(0 50% 0 0); transition: clip-path 0s; }
.ba-slider-handle {
  position: absolute; top: 0; left: 50%; width: 3px; height: 100%;
  background: #fff; transform: translateX(-50%);
  display: flex; align-items: center; justify-content: center; z-index: 10;
  filter: drop-shadow(0 0 6px rgba(0,0,0,0.4));
}
.ba-handle-knob {
  width: 42px; height: 42px; border-radius: 50%; background: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  color: #d82b68; font-size: 15px; font-weight: 800;
}
.ba-label {
  position: absolute; bottom: 12px; padding: 4px 12px;
  font-size: 12px; font-weight: 700; border-radius: 20px; z-index: 5;
}
.ba-label-before { left: 12px; background: rgba(0,0,0,0.55); color: #fff; }
.ba-label-after { right: 12px; background: #d82b68; color: #fff; }

/* ============ COMPARE TRAY ============ */
#compare-tray {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%) translateY(100%);
  z-index: 9991; width: 100%; max-width: 900px;
  background: #fff; border-top: 3px solid #d82b68;
  box-shadow: 0 -8px 30px rgba(0,0,0,0.12);
  border-radius: 16px 16px 0 0; padding: 16px 24px;
  display: flex; align-items: center; gap: 16px;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
#compare-tray.show { transform: translateX(-50%) translateY(0); }
.cmp-label { font-size: 13px; font-weight: 700; color: #0c2b5e; white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.cmp-label .cmp-badge { background: #d82b68; color: #fff; border-radius: 50%; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; font-size: 11px; }
#compare-slots { flex: 1; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cmp-slot {
  display: flex; align-items: center; gap: 8px;
  background: #f8fafc; border: 1.5px solid #e2e8f0; border-radius: 10px;
  padding: 8px 12px; font-size: 12px; font-weight: 600; color: #334155;
}
.cmp-slot img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.cmp-slot button { background: none; border: none; color: #94a3b8; cursor: pointer; font-size: 12px; padding: 0; }
.cmp-slot button:hover { color: #d82b68; }
.btn-compare-now {
  display: flex; align-items: center; gap: 7px;
  background: linear-gradient(135deg, #d82b68, #be1c56); color: #fff;
  padding: 10px 18px; border-radius: 9px; font-size: 13px; font-weight: 700;
  text-decoration: none; white-space: nowrap; transition: 0.2s;
}
.btn-compare-now:hover { box-shadow: 0 4px 14px rgba(216,43,104,0.4); }
.btn-clear-compare { background: none; border: 1.5px solid #e2e8f0; border-radius: 9px; padding: 10px 14px; font-size: 12px; color: #64748b; cursor: pointer; font-family: 'Be Vietnam Pro', sans-serif; font-weight: 600; }
.btn-clear-compare:hover { border-color: #d82b68; color: #d82b68; }

/* Compare Button on Card */
.btn-compare {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border: 1.5px solid #e2e8f0; border-radius: 8px;
  font-size: 12px; font-weight: 600; color: #475569; cursor: pointer;
  font-family: 'Be Vietnam Pro', sans-serif; background: #f8fafc;
  transition: all 0.2s;
}
.btn-compare:hover { border-color: #d82b68; color: #d82b68; background: #fff0f5; }
.btn-compare.active { background: #d82b68; border-color: #d82b68; color: #fff; }

/* ============ COST CALCULATOR ============ */
.cost-calculator-section {
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border-radius: 16px; padding: 30px; margin: 40px 0;
  border: 1.5px solid #e2e8f0;
}
.calc-section-title { font-size: 20px; font-weight: 800; color: #0c2b5e; margin-bottom: 6px; }
.calc-section-sub { font-size: 13px; color: #64748b; margin-bottom: 24px; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.calc-group-title { font-size: 12px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 12px; }
.calc-option {
  display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px;
  border: 1.5px solid #e2e8f0; border-radius: 10px; cursor: pointer;
  transition: all 0.2s; margin-bottom: 8px; background: #fff;
}
.calc-option:hover { border-color: #d82b68; background: #fff8fb; }
.calc-option input { accent-color: #d82b68; margin-top: 2px; flex-shrink: 0; }
.calc-option-info { flex: 1; }
.calc-option-label { font-size: 13px; font-weight: 600; color: #1e293b; }
.calc-option-price { font-size: 11px; color: #64748b; margin-top: 2px; }
#calc-result { margin-top: 20px; }
.calc-placeholder { font-size: 13px; color: #94a3b8; text-align: center; padding: 20px; }
.calc-result-box {
  background: #fff; border-radius: 14px; border: 2px solid #d82b68;
  padding: 22px; text-align: center;
}
.calc-main-price { font-size: 36px; font-weight: 800; color: #d82b68; margin-bottom: 4px; }
.calc-range { font-size: 13px; color: #64748b; margin-bottom: 16px; }
.calc-breakdown { text-align: left; background: #f8fafc; border-radius: 8px; padding: 12px 14px; margin-bottom: 14px; font-size: 12px; color: #475569; line-height: 1.9; }
.calc-note { font-size: 12px; color: #94a3b8; margin-bottom: 14px; display: flex; align-items: flex-start; gap: 6px; text-align: left; }
.btn-calc-book {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #d82b68, #be1c56); color: #fff;
  padding: 12px 24px; border-radius: 10px; font-size: 14px; font-weight: 700;
  border: none; cursor: pointer; font-family: 'Be Vietnam Pro', sans-serif; transition: 0.2s;
}
.btn-calc-book:hover { box-shadow: 0 4px 14px rgba(216,43,104,0.4); transform: translateY(-1px); }

/* ============ PRICE HISTORY CHART ============ */
.price-history-section {
  background: #fff; border-radius: 16px; padding: 28px;
  border: 1.5px solid #e2e8f0; margin: 30px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.price-history-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.price-history-title { font-size: 17px; font-weight: 800; color: #0c2b5e; }
.price-trend-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff0f5; color: #d82b68; border: 1px solid #ffd6e7;
  padding: 5px 12px; border-radius: 20px; font-size: 12px; font-weight: 700;
}
#price-history-chart { position: relative; cursor: crosshair; }

/* ============ Q&A SECTION ============ */
.qa-section { margin: 30px 0; }
.qa-section-title { font-size: 20px; font-weight: 800; color: #0c2b5e; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.qa-form-box {
  background: linear-gradient(135deg, #f8fafc, #fff0f5);
  border: 1.5px solid #ffd6e7; border-radius: 14px; padding: 24px; margin-bottom: 30px;
}
.qa-form-box h4 { font-size: 15px; font-weight: 700; color: #0c2b5e; margin-bottom: 4px; }
.qa-form-box p { font-size: 13px; color: #64748b; margin-bottom: 16px; }
.qa-textarea {
  width: 100%; padding: 14px; border: 1.5px solid #e2e8f0; border-radius: 10px;
  font-size: 14px; font-family: 'Be Vietnam Pro', sans-serif; color: #334155;
  outline: none; resize: vertical; min-height: 90px; transition: 0.2s; background: #fff;
}
.qa-textarea:focus { border-color: #d82b68; box-shadow: 0 0 0 3px rgba(216,43,104,0.1); }
.btn-submit-qa {
  margin-top: 12px; padding: 11px 22px;
  background: #d82b68; color: #fff; border: none; border-radius: 9px;
  font-size: 13px; font-weight: 700; font-family: 'Be Vietnam Pro', sans-serif;
  cursor: pointer; display: flex; align-items: center; gap: 7px; transition: 0.2s;
}
.btn-submit-qa:hover { background: #be1c56; }
.qa-item { margin-bottom: 20px; }
.qa-question, .qa-answer {
  padding: 16px; border-radius: 10px; margin-bottom: 8px;
}
.qa-question { background: #f8fafc; border: 1px solid #e2e8f0; }
.qa-answer { background: #fff8fb; border-left: 3px solid #d82b68; border-radius: 0 10px 10px 0; }
.qa-answer.pending { background: #f8fafc; border-left-color: #e2e8f0; opacity: 0.7; }
.qa-q-head, .qa-a-head {
  display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
  font-size: 12px; color: #64748b;
}
.qa-q-head i { color: #1a429b; }
.qa-a-head i { color: #d82b68; }
.qa-q-head strong, .qa-a-head strong { color: #0c2b5e; font-size: 13px; }
.qa-q-head span, .qa-a-head span { margin-left: auto; font-size: 11px; color: #94a3b8; }
.qa-question p, .qa-answer p { font-size: 13px; color: #475569; line-height: 1.7; margin: 0; }
.qa-new { animation: fadeInUp 0.4s ease; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* ============ CRITERIA RATING ============ */
.criteria-rating-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.criteria-star-group { background: #f8fafc; border-radius: 10px; padding: 14px; border: 1.5px solid #e2e8f0; }
.criteria-name { font-size: 12px; font-weight: 700; color: #334155; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.criteria-name i { color: #d82b68; }
.criteria-stars { display: flex; gap: 4px; cursor: pointer; }
.criteria-stars i { font-size: 20px; color: #e2e8f0; transition: 0.15s; }
.criteria-stars i.active { color: #fbbf24; }
.criteria-score { font-size: 11px; color: #94a3b8; margin-left: auto; }

/* ============ VERIFY UPLOAD ============ */
.verify-upload-section { margin: 16px 0; }
.verify-label { font-size: 12px; font-weight: 700; color: #334155; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.verify-label .verified-optional { font-size: 10px; background: #d1fae5; color: #065f46; padding: 2px 8px; border-radius: 10px; font-weight: 600; }
#verify-upload-area {
  border: 2px dashed #e2e8f0; border-radius: 10px; padding: 24px;
  text-align: center; background: #f8fafc; cursor: pointer; transition: 0.2s;
}
#verify-upload-area:hover, #verify-upload-area.drag-over { border-color: #d82b68; background: #fff0f5; }
#verify-upload-area i { font-size: 28px; color: #94a3b8; margin-bottom: 8px; }
#verify-upload-area p { font-size: 12px; color: #64748b; margin: 0; }
#verify-upload-area span { color: #d82b68; font-weight: 700; }
#verify-preview { margin-top: 10px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.verify-badge-inline { display: inline-flex; align-items: center; gap: 5px; background: #d1fae5; color: #065f46; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; }
.verify-badge { display: inline-flex; align-items: center; gap: 5px; background: #d1fae5; color: #065f46; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 20px; border: 1px solid #a7f3d0; }

/* ============ MINI MAP ============ */
.map-section { margin: 30px 0; }
.map-section-title { font-size: 20px; font-weight: 800; color: #0c2b5e; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
#mini-map { border-radius: 16px; overflow: hidden; border: 1.5px solid #e2e8f0; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.map-bg {
  position: relative; height: 380px;
  background: linear-gradient(135deg, #e8f4f0 0%, #dce8f0 30%, #e4e8f5 60%, #f0e8ec 100%);
  overflow: hidden;
}
.map-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(180,200,220,0.3) 0, rgba(180,200,220,0.3) 1px, transparent 1px, transparent 60px),
    repeating-linear-gradient(90deg, rgba(180,200,220,0.3) 0, rgba(180,200,220,0.3) 1px, transparent 1px, transparent 60px);
}
.map-pin { position: absolute; transform: translate(-50%, -50%); z-index: 5; cursor: pointer; }
.pin-dot {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--pin-color, #d82b68);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 14px; box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  border: 3px solid #fff; transition: transform 0.2s;
}
.map-pin:hover .pin-dot { transform: scale(1.25); }
.pin-popup {
  position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  background: #fff; border-radius: 10px; padding: 10px 14px; white-space: nowrap;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15); font-family: 'Be Vietnam Pro', sans-serif;
  opacity: 0; visibility: hidden; transition: 0.2s; min-width: 160px; text-align: center;
  border: 1.5px solid #f1f5f9;
}
.pin-popup strong { display: block; font-size: 12px; font-weight: 700; color: #0c2b5e; margin-bottom: 3px; }
.pin-popup span { font-size: 11px; color: #64748b; }
.map-pin:hover .pin-popup { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(-3px); }
.map-legend {
  position: absolute; bottom: 14px; right: 14px;
  background: rgba(255,255,255,0.9); border-radius: 10px; padding: 10px 14px;
  display: flex; flex-direction: column; gap: 6px; font-size: 12px;
  font-family: 'Be Vietnam Pro', sans-serif; color: #475569; font-weight: 600;
  backdrop-filter: blur(4px); box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.map-legend span { display: flex; align-items: center; gap: 7px; }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

/* ============ PRICE RANGE SLIDER ============ */
.price-range-wrap { padding: 10px 0; }
.price-range-labels { display: flex; justify-content: space-between; font-size: 12px; color: #334155; font-weight: 700; margin-bottom: 8px; }
.price-range-track-wrap { position: relative; height: 6px; }
#price-range-track {
  position: absolute; inset: 0; border-radius: 10px;
  background: linear-gradient(to right, #e2e8f0 0%, #d82b68 30%, #d82b68 80%, #e2e8f0 100%);
}
.price-range-track-wrap input[type="range"] {
  position: absolute; width: 100%; height: 6px; appearance: none;
  background: transparent; pointer-events: none; top: 0;
}
.price-range-track-wrap input[type="range"]::-webkit-slider-thumb {
  appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: #d82b68; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(216,43,104,0.4);
  cursor: pointer; pointer-events: all; transition: transform 0.15s;
}
.price-range-track-wrap input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.2); }

/* ============ COMPARE PAGE ============ */
.compare-page { padding: 50px 0; background: #f4f6fa; min-height: 80vh; }
.compare-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.compare-table th { background: linear-gradient(135deg, #0c2b5e, #1a429b); color: #fff; padding: 20px 16px; font-size: 14px; font-weight: 700; text-align: center; }
.compare-table td { padding: 14px 16px; border-bottom: 1px solid #f1f5f9; font-size: 13px; color: #475569; text-align: center; vertical-align: middle; }
.compare-table tr:hover td { background: #fffbfc; }
.compare-table .row-label { text-align: left; font-weight: 700; color: #0c2b5e; background: #f8fafc; }
.compare-winner td { color: #d82b68 !important; font-weight: 700 !important; }
.cmp-doctor-avatar { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 3px solid #ffd6e7; margin-bottom: 8px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .calc-grid { grid-template-columns: 1fr; }
  .criteria-rating-grid { grid-template-columns: 1fr; }
  .time-slots-grid { grid-template-columns: repeat(3, 1fr); }
  #compare-tray { padding: 12px 16px; flex-wrap: wrap; }
  .bk-row-2 { grid-template-columns: 1fr; }
  #toast-container { left: 12px; right: 12px; max-width: unset; }
}
@media (max-width: 480px) {
  .notif-dropdown { width: 290px; right: -60px; }
  #fixed-booking-btn span { display: none; }
}
