.mm-tier-system,
.mm-member-day {
  padding: 14px;
  background: var(--ant-color-bg-container);
  border: 1px solid var(--ant-color-border-secondary);
  border-radius: 10px;
}

.mm-tier-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mm-tier-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--ant-color-border-secondary);
  border-radius: 10px;
}

.mm-tier-order {
  width: 28px;
  font-size: 20px;
  font-weight: 700;
  color: var(--ant-color-text-quaternary);
  text-align: center;
}

.mm-tier-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-size: 22px;
  border-radius: 50%;
}

.mm-tier-main {
  flex: 1;
  min-width: 0;
}

.mm-tier-name-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.mm-tier-name {
  font-size: 15px;
  font-weight: 600;
}

.mm-tier-condition {
  margin-top: 2px;
  font-size: 12px;
  color: var(--ant-color-text-tertiary);
}

.mm-tier-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.mm-tier-perk {
  margin-inline-end: 0;
}

.mm-tier-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  min-width: 120px;
}

.mm-tier-count {
  font-size: 12px;
  color: var(--ant-color-text-secondary);
}

.mm-tier-actions {
  display: flex;
  gap: 6px;
}

.mm-tier-add-btn {
  margin-top: 12px;
}

.mm-day-card {
  padding: 14px;
  background: #fff;
  border: 1px solid var(--ant-color-border-secondary);
  border-radius: 10px;
}

.mm-day-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.mm-day-row:last-child {
  margin-bottom: 0;
}

.mm-day-label {
  flex-shrink: 0;
  width: 90px;
  font-size: 13px;
  color: var(--ant-color-text-secondary);
}

.mm-day-select {
  width: 180px;
}

.mm-day-benefit {
  display: flex;
  gap: 8px;
  align-items: center;
}

.mm-day-actions {
  display: flex;
  justify-content: flex-end;
}

.mm-coupon-search {
  display: flex;
  gap: 8px;
}

.mm-coupon-list {
  max-height: 360px;
  margin-top: 12px;
  overflow: auto;
  border: 1px solid var(--ant-color-border-secondary);
  border-radius: 8px;
}

.mm-coupon-item {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid var(--ant-color-border-secondary);
}

.mm-coupon-item:last-child {
  border-bottom: none;
}

.mm-coupon-item .name {
  flex: 1;
  min-width: 0;
}

.mm-coupon-empty {
  padding: 24px;
  color: var(--ant-color-text-tertiary);
  text-align: center;
}
