/* ══════════════════════════════════════════
   Find a Tour — kết quả tìm kiếm (trang chủ)
   Dữ liệu lấy từ localStorage 'admin_tours' do Admin quản lý
   ══════════════════════════════════════════ */

.tour-result-empty {
  width: 100%;
  text-align: center;
  color: #999;
  padding: 30px 15px;
  font-size: 14px;
}

.tour-result-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  padding: 22px 20px;
  margin-bottom: 24px;
  text-align: left;
  transition: all .3s ease-in-out;
  height: 100%;
}
.tour-result-card:hover {
  box-shadow: 0 5px 25px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.tour-result-image {
  width: calc(100% + 40px);
  margin: -22px -20px 16px;
  height: 170px;
  overflow: hidden;
  background: #eaf8fd;
  border-radius: 4px 4px 0 0;
}
.tour-result-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tour-result-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60c9eb;
  font-size: 38px;
}

.tour-result-destination {
  display: inline-block;
  background: #eaf8fd;
  color: #2596be;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 99px;
  margin-bottom: 12px;
}

.tour-result-name {
  font-size: 17px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.4;
}

.tour-result-desc {
  font-size: 13px;
  color: #888;
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tour-result-dates {
  font-size: 12.5px;
  color: #666;
  margin-bottom: 10px;
}
.tour-result-dates i { color: #60c9eb; margin-right: 6px; }

.tour-result-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #f0f0f0;
}

.tour-result-price {
  font-size: 16px;
  font-weight: 700;
  color: #60c9eb;
}

.tour-result-status {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 99px;
}
.tour-result-status.open { background: #e7f9ee; color: #2e9e5b; }
.tour-result-status.full { background: #fdf3e3; color: #b8790f; }
.tour-result-status.closed { background: #fbe9e9; color: #c0392b; }

.tour-result-seats {
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}

/* ── Nút Đặt chỗ ── */
.tour-result-actions {
  margin-top: 14px;
}
.tour-book-btn {
  display: block;
  width: 100%;
  border: none;
  border-radius: 4px;
  background: #60c9eb;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: uppercase;
  padding: 10px 12px;
  cursor: pointer;
  transition: background .2s ease-in-out;
}
.tour-book-btn i { margin-right: 6px; }
.tour-book-btn:hover:not(:disabled) { background: #2596be; color: #fff; }
.tour-book-btn:disabled {
  background: #eee;
  color: #aaa;
  cursor: not-allowed;
}

/* ══════════════════════════════════════════
   Modal Đặt chỗ (trang chủ)
   ══════════════════════════════════════════ */
.booking-modal-overlay {
  display: none;
  position: fixed;
  z-index: 3000;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.55);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.booking-modal-overlay.open { display: flex; }

.booking-modal {
  background: #fff;
  color: #333;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 6px;
  padding: 28px 26px;
  position: relative;
}
.booking-modal h3 {
  margin: 0 0 18px;
  font-size: 20px;
  font-weight: 700;
  color: #333;
}
.booking-modal-close {
  position: absolute;
  top: 14px; right: 16px;
  border: none;
  background: none;
  font-size: 22px;
  line-height: 1;
  color: #999;
  cursor: pointer;
}
.booking-modal-close:hover { color: #333; }

.booking-tour-info {
  background: #f7fbfd;
  border-radius: 4px;
  padding: 14px 16px;
  margin-bottom: 18px;
}
.booking-tour-name { font-size: 15px; font-weight: 700; color: #333; margin-bottom: 6px; }
.booking-tour-meta { font-size: 12.5px; color: #777; margin-bottom: 6px; }
.booking-tour-meta i { color: #60c9eb; margin-right: 4px; }
.booking-tour-price { font-size: 14px; font-weight: 700; color: #60c9eb; }

.booking-form-group { margin-bottom: 14px; }
.booking-form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #555;
  margin-bottom: 6px;
}
.booking-form-group input {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 9px 12px;
  font-size: 14px;
  color: #333;
  box-sizing: border-box;
}
.booking-form-group input:focus {
  outline: none;
  border-color: #60c9eb;
}

.booking-total {
  font-size: 14px;
  color: #333;
  margin: 16px 0 18px;
  padding-top: 14px;
  border-top: 1px solid #eee;
}
.booking-total strong { color: #60c9eb; font-size: 16px; }

.booking-submit-btn {
  width: 100%;
  border: none;
  background: #60c9eb;
  color: #fff;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 12px;
  border-radius: 4px;
  cursor: pointer;
}
.booking-submit-btn:hover { background: #2596be; }

/* Toast báo đặt chỗ thành công */
.booking-success-toast {
  position: fixed;
  z-index: 3100;
  top: 24px;
  right: 24px;
  background: #2e9e5b;
  color: #fff;
  padding: 14px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
  transform: translateX(120%);
  transition: transform .3s ease-in-out;
}
.booking-success-toast.show { transform: translateX(0); }
.booking-success-toast i { margin-right: 8px; }

/* ── Nút Đăng ký dịch vụ (phần Dịch vụ bổ sung) ── */
.service-request-btn {
  display: inline-block;
  margin-top: 12px;
  border: 1px solid #60c9eb;
  background: transparent;
  color: #60c9eb;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 99px;
  cursor: pointer;
  transition: all .2s ease-in-out;
}
.service-request-btn:hover {
  background: #60c9eb;
  color: #fff;
}
