/* 시간대 설정 — 설정/알림/일정 화면 공통 */
.sims-tz-setup {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sims-tz-setup-label {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
}
.sims-tz-setup-btn {
  padding: 7px 12px;
  font-size: 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #1e293b;
  cursor: pointer;
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sims-tz-setup-btn:hover { background: #f8fafc; }
.sims-tz-setup-btn:disabled {
  background: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
}
.sims-tz-dst-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  color: #b45309;
  background: #fef3c7;
  border-radius: 999px;
  white-space: nowrap;
  cursor: help;
}
.sims-tz-dst-badge[hidden] { display: none; }

.sims-tz-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1300;
}
.sims-tz-overlay.open { display: flex; }
.sims-tz-overlay--city { z-index: 1400; }

.sims-tz-dialog {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.35);
  padding: 20px 24px 20px;
  max-width: 90vw;
}
.sims-tz-dialog h3 {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
}
.sims-tz-dialog--setup { min-width: 360px; max-width: 560px; }
.sims-tz-dialog--city { min-width: 320px; max-width: 440px; }

.sims-tz-control {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.sims-tz-select {
  padding: 6px 10px;
  font-size: 13px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #fff;
  min-width: 120px;
  color: #1e293b;
}
.sims-tz-select--mode { min-width: 148px; }
.sims-tz-select--value { min-width: 200px; max-width: 280px; }

.sims-tz-btn {
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
}
.sims-tz-btn--primary {
  border: none;
  background: #2563eb;
  color: #fff;
}
.sims-tz-btn--primary:hover { background: #1d4ed8; }
.sims-tz-btn--ghost {
  font-weight: 500;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #475569;
}
.sims-tz-btn--ghost:hover { background: #f8fafc; }

.sims-tz-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

.sims-tz-city-list {
  max-height: 320px;
  overflow-y: auto;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin: 0;
  padding: 4px 0;
}
.sims-tz-city-list label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 13px;
  cursor: pointer;
}
.sims-tz-city-list label:hover { background: #f8fafc; }

.sims-tz-dst { margin-top: 14px; }
.sims-tz-dst-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
}
.sims-tz-dst-dates {
  display: none;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px;
  margin-top: 10px;
}
.sims-tz-dst-dates.is-open { display: flex; }
.sims-tz-dst-date-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.sims-tz-dst-date-label {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  line-height: 1.2;
}
.sims-tz-dst-date-sep {
  padding-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
  color: #64748b;
  line-height: 1;
}
.sims-tz-dst-date-btn {
  min-width: 148px;
  max-width: 280px;
  text-align: left;
}
.sims-tz-overlay--dst { z-index: 1500; }
.sims-tz-dialog--dst { min-width: 360px; max-width: 520px; }
.sims-tz-dst-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-bottom: 14px;
}
.sims-tz-dst-radios label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #334155;
  cursor: pointer;
}
.sims-tz-dst-pick-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.sims-tz-dst-pick-row #dst_pick_month { min-width: 112px; }
