/* ============================================================================
   WOW — Time Span Selector
   ========================================================================== */
.wow-time-span-card {
  font-family: "Assistant", "Alef", sans-serif;
  background: #fff;
  border: 1px solid #dde1ef;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  color: #1f254f;
  margin: 24px auto;
  max-width: 980px;
  direction: rtl;
}

.wow-time-span-card__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.wow-time-span-card__subtitle {
  margin: 4px 0 18px;
  font-size: 14px;
  color: #4d4f68;
}

.wow-time-span-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.wow-time-span-field__label {
  font-weight: 600;
  color: #2d3150;
  white-space: nowrap;
}

.wow-time-span-field__control {
  display: flex;
  gap: 12px;
}

.wow-time-span-select,
.wow-time-span-input {
  border: 1px solid #cfd3e4;
  border-radius: 8px;
  padding: 8px 12px;
  font: inherit;
  background: #f9faff;
  color: #1f254f;
}

.wow-time-span-input {
  width: 120px;
}

.wow-time-span-grid__label {
  margin: 20px 0 10px;
  font-size: 14px;
  color: #4d4f68;
}

/* rail mimics the month calendar grid */
.wow-time-span-rail {
  display: grid;
  grid-template-columns: repeat(var(--wow-time-span-columns, 12), minmax(58px, 1fr));
  grid-auto-rows: 42px;
  gap: 4px;
}

.wow-time-span-chip {
  border: 1px solid #d4d6dd;
  border-radius: 8px;
  background: #f1f1f2;
  color: #6f6f79;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.2px;
}

.wow-time-span-slot {
  border: 2px solid #1a801a;
  border-radius: 6px;
  background: #f1f1f2;
  color: #1d3f1f;
  font-size: 12px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wow-time-span-slot--flush-start {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  border-right-width: 0;
}

.wow-time-span-slot--flush-end {
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
  border-left-width: 0;
}

.wow-time-span-card__summary {
  margin-top: 18px;
  border: 1px solid #dde1ef;
  border-radius: 10px;
  background: #f7f8fc;
  padding: 12px 16px;
  font-size: 14px;
  color: #1f254f;
}
