/* HOST BOOKINGS CSS */

/* Summary Cards */
.booking-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.summary-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
}

.summary-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.summary-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.summary-info .value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.1;
  margin-bottom: 2px;
}

.summary-info .label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Luxury Table Container */
.luxury-table-container {
  background: #fff;
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.luxury-table-wrapper {
  overflow-x: auto;
}

.luxury-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.luxury-table th {
  background: #f8faf9;
  padding: 18px 24px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #666;
  font-weight: 700;
  border-bottom: 1px solid #eee;
  white-space: nowrap;
}

.luxury-table td {
  padding: 16px 24px;
  vertical-align: middle;
  border-bottom: 1px solid #f5f5f5;
  font-size: 0.95rem;
  white-space: nowrap;
}

.luxury-table tr:last-child td {
  border-bottom: none;
}

.luxury-table tbody tr {
  transition: all 0.2s ease;
}

.luxury-table tbody tr:hover {
  background: rgba(18, 94, 64, 0.02);
}

/* User Profile Cell */
.user-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-cell img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.user-cell .name {
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 2px;
}

.user-cell .contact {
  font-size: 0.75rem;
  color: #888;
}

/* Property Cell */
.prop-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.prop-cell img {
  width: 50px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

.prop-cell .name {
  font-weight: 600;
  color: var(--primary-dark);
}

.prop-cell .loc {
  font-size: 0.75rem;
  color: #888;
}

/* Badges */
.status-badge {
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Booking Statuses */
.status-pending { background: #fdf6b2; color: #723b13; }
.status-confirmed { background: #def7ec; color: #03543f; }
.status-checkedin { background: #e1effe; color: #1e429f; }
.status-checkedout { background: #edebfe; color: #5521b5; }
.status-completed { background: #def7ec; color: #03543f; }
.status-cancelled { background: #fde8e8; color: #9b1c1c; }

/* Payment Statuses */
.pay-paid { color: var(--primary-green); font-weight: 700; }
.pay-pending { color: #d97706; font-weight: 700; }
.pay-refunded { color: #6b7280; font-weight: 700; }

/* Side Panels */
.side-panel {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
  margin-bottom: 24px;
}

.panel-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.stat-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-val {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
}

/* Modal Styling */
.modal-detail-header {
  background: var(--host-bg);
  padding: 20px 24px;
  border-bottom: 1px solid #eee;
}

.detail-section {
  padding: 20px 24px;
  border-bottom: 1px solid #f5f5f5;
}

.detail-section:last-child {
  border-bottom: none;
}

.detail-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
  font-weight: 700;
  margin-bottom: 16px;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.info-item {
  display: flex;
  flex-direction: column;
}

.info-label {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 4px;
}

.info-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.timeline-item {
  position: relative;
  padding-left: 24px;
  margin-bottom: 16px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary-green);
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 16px;
  bottom: -16px;
  width: 2px;
  background: #eee;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item:last-child::after {
  display: none;
}

.timeline-time {
  font-size: 0.8rem;
  color: #888;
}

.timeline-event {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-dark);
}
