/* Date and Time Properties dialog */
.dt-body { padding: 8px !important; font-family: Tahoma, sans-serif; font-size: 11px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; flex: 1; min-height: 0; }
.dt-body .dt-tabs { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.dt-body [role="tabpanel"] { flex: 1; padding: 10px 10px 6px; box-sizing: border-box; }
.dt-body [role="tabpanel"][hidden] { display: none; }
.dt-row { display: flex; gap: 8px; }
.dt-body fieldset { margin: 0; padding: 6px 8px 8px; }
.dt-date { flex: 0 0 188px; }
.dt-time { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: space-between; }
.dt-date-top { display: flex; gap: 6px; margin: 2px 0 6px; }
.dt-month { flex: 1; min-width: 0; }
.dt-body select, .dt-body input, .dt-body button, .dt-body label { font-family: Tahoma, sans-serif; font-size: 11px; }

.dt-spin { display: flex; align-items: stretch; height: 21px; border: 1px solid #7f9db9; background: #fff; box-sizing: border-box; }
.dt-spin input { border: none !important; width: 40px; padding: 0 3px; height: 19px; font: inherit; box-shadow: none; outline: none; }
.dt-spin-btns { display: flex; flex-direction: column; width: 15px; }
.dt-spin-btns button {
  flex: 1; min-width: 0; min-height: 0; padding: 0; border: none; border-radius: 0;
  background: linear-gradient(#e3ecfd, #bcd0f6); box-shadow: inset 0 0 0 1px #fff;
  position: relative; cursor: default;
}
.dt-spin-btns button:hover { background: linear-gradient(#f3f7ff, #cfdefb); }
.dt-spin-btns button:active { background: #a9c1ee; }
.dt-spin-btns button::after {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  border-left: 3px solid transparent; border-right: 3px solid transparent;
}
.dt-spin-btns button:first-child::after { border-bottom: 3px solid #4d6185; }
.dt-spin-btns button:last-child::after { border-top: 3px solid #4d6185; }

.dt-cal { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #7f9db9; table-layout: fixed; }
.dt-cal th { color: #fff; background: #3a6ea5; font-weight: normal; height: 15px; padding: 0; text-align: center; }
.dt-cal td { text-align: center; height: 17px; padding: 0; cursor: default; }
.dt-cal td.sel { background: #316ac5; color: #fff; }

.dt-clock { margin: 4px 0 8px; }
.dt-time-box { width: 106px; }
.dt-time-text { flex: 1; padding: 0 4px; line-height: 19px; outline: none; cursor: text; white-space: nowrap; user-select: none; }
.dt-time-text span.on { background: #316ac5; color: #fff; }

.dt-zone-line { margin: 12px 0 0 2px; }

.dt-zone { width: 100%; margin-bottom: 10px; }
.dt-map { position: relative; width: 100%; aspect-ratio: 2 / 1; border: 1px solid #7f9db9; overflow: hidden; box-sizing: border-box; }
.dt-map img { width: 100%; height: 100%; display: block; }
.dt-map-band { position: absolute; top: 0; bottom: 0; width: 4.1667%; transform: translateX(-50%); background: rgba(255, 255, 255, 0.35); border-left: 1px solid rgba(255,255,255,.7); border-right: 1px solid rgba(255,255,255,.7); }
.dt-dst { margin-top: 10px; }

.dt-server-row { margin: 12px 0 0 18px; gap: 6px; }
.dt-server { width: 150px; }
.dt-body [data-panel="it"] p { margin: 14px 0 0 18px; line-height: 1.4; }
.dt-body [data-panel="it"] .dt-sync-note { margin-top: 40px; }

.dt-buttons { display: flex; justify-content: flex-end; gap: 6px; }
.dt-buttons button { min-width: 75px; }
.dt-horror .dt-cal td.sel { background: #8b0000; }
.dt-horror .dt-cal th { background: #3a0000; }
#clock { cursor: default; user-select: none; }
