/* ==========================================================================
   ANDROID-STYLE LUXURY GUEST SUMMARY CARD & MULTI-SEGMENT DONUT CHART
   ========================================================================== */

.guest-summary-card-lux {
  background: var(--bg-surface, #FFFFFF);
  border-radius: 18px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid var(--border-light, #F1E7DD);
  box-shadow: 0 4px 20px -2px rgba(90, 60, 40, 0.05);
}

/* 1. Top Summary Row (Tổng - Đã mời - Chưa mời - Tiền mừng) */
.guest-summary-top-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(197, 154, 82, 0.15);
  margin-bottom: 1.5rem;
}

.guest-top-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.guest-top-stat-val {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main, #1E293B);
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.guest-top-stat-val.rose {
  color: #D97706;
}

.guest-top-stat-lbl {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted, #64748B);
  margin-top: 0.25rem;
}

.guest-top-divider {
  width: 1px;
  height: 28px;
  background: rgba(197, 154, 82, 0.2);
}

/* 2. Middle Row: Donut Chart on Left, 5 Status Pills on Right */
.guest-middle-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 2rem;
  align-items: center;
}

.guest-donut-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.guest-donut-svg-wrap {
  position: relative;
  width: 140px;
  height: 140px;
}

.guest-donut-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.donut-segment {
  fill: none;
  stroke-linecap: round;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.guest-donut-center-info {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}

.guest-center-total {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main, #1F2937);
  line-height: 1;
}

.guest-center-lbl {
  font-size: 0.68rem;
  color: var(--text-muted, #6B7280);
  font-weight: 600;
  margin-top: 0.15rem;
}

/* Interactive 5 Status Pills */
.guest-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.75rem;
}

.guest-status-pill {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(197, 154, 82, 0.05);
  border: 1px solid rgba(197, 154, 82, 0.15);
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.guest-status-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(197, 154, 82, 0.4);
  box-shadow: 0 4px 12px -2px rgba(90, 60, 40, 0.08);
}

.guest-status-pill.active {
  background: rgba(197, 154, 82, 0.18);
  border-color: var(--primary-gold, #C59A52);
}

.status-dot-circle {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-pill-info {
  display: flex;
  flex-direction: column;
}

.status-pill-title {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted, #64748B);
}

.status-pill-count {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main, #1E293B);
  line-height: 1.1;
}

@media (max-width: 640px) {
  .guest-summary-top-row {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .guest-middle-row {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .guest-status-grid {
    width: 100%;
  }
}

/* Guest Group Chips (Đồng bộ font 13px, weight 500/600) */
.group-chips {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.chip {
  padding: 0.42rem 0.95rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.chip:hover {
  border-color: var(--primary-gold);
}

.chip.active {
  background: var(--primary-gold-light);
  color: #8C6D1F;
  border-color: var(--primary-gold);
  font-weight: 600;
}

/* Guest Avatar representation in table */
.guest-cell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.guest-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--rose-gold-light);
  color: var(--rose-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
}

/* RSVP Tag Badges */
.rsvp-badge {
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.rsvp-accepted {
  background: var(--color-success-bg);
  color: var(--color-success);
}

.rsvp-declined {
  background: var(--color-danger-bg);
  color: var(--color-danger);
}

.rsvp-pending {
  background: var(--color-warning-bg);
  color: var(--color-warning);
}
