/* css/hours.css — the weekly hours editor (assets/hours-editor.js): one row per weekday with the day, an Open box, opens
   at, "to", closes at. Shared by List your space, Become a coach, Become a referee and the dashboard (044). On a phone
   the two times drop under the day so nothing is cut off at 320. Moved here from list-your-space.html (PR 116) unchanged. */
.hours-note { margin: 0 0 14px; font-size: 15px; line-height: 1.5; color: var(--ps-text-body); }
.hours-grid { display: grid; gap: 8px; }
.hours-row { display: grid; grid-template-columns: 44px 88px minmax(0, 1fr) 24px minmax(0, 1fr); grid-template-areas: "day open from to until"; align-items: center; gap: 8px; min-height: 48px; }
.hours-day { grid-area: day; font-size: 15px; font-weight: 600; color: var(--ps-text-primary); }
.hours-toggle { grid-area: open; display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; color: var(--ps-text-primary); cursor: pointer; user-select: none; }
.hours-toggle input[type="checkbox"] { width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--ps-accent); cursor: pointer; }
.hours-row select { min-height: 48px; box-sizing: border-box; padding: 11px 36px 11px 12px; background: var(--ps-surface-0); border: 1px solid var(--ps-border-interactive); border-radius: var(--ps-radius); font: inherit; font-size: 16px; color: var(--ps-text-primary); color-scheme: light; outline: none; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%235b6270' stroke-width='1.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.hours-row select:focus { border-color: var(--ps-accent); box-shadow: 0 0 0 3px var(--ps-accent-bg); }
.hours-row select[data-open] { grid-area: from; } .hours-row select[data-close] { grid-area: until; }
.hours-to { grid-area: to; text-align: center; font-size: 14px; color: var(--ps-text-secondary); }
.hours-closed { grid-area: from / from / until / until; font-size: 15px; color: var(--ps-text-secondary); }
.hours-row.is-closed select, .hours-row.is-closed .hours-to { display: none; }
.hours-row:not(.is-closed) .hours-closed { display: none; }
.hours-copy { margin-top: 12px; }
/* The dashboard's ask to a profile from before 044: check the hours we set, then save. */
.hours-confirm { margin: 0 0 14px; padding: 12px 14px; border: 1px solid var(--ps-status-pending-border); border-radius: var(--ps-radius); background: var(--ps-status-pending-bg); font-size: 15px; line-height: 1.5; color: var(--ps-text-primary); }
@media (max-width: 480px) {
  .hours-row { grid-template-columns: 44px minmax(0, 1fr) 24px 44px minmax(0, 1fr); grid-template-areas: "day open open open open" "from from to until until"; row-gap: 6px; }
  .hours-row select { padding-left: 10px; padding-right: 30px; background-position: right 8px center; }
  .hours-row.is-closed { grid-template-areas: "day open open open open"; }
  .hours-row.is-closed .hours-closed { grid-area: open; justify-self: end; }
}
@media (max-width: 360px) {
  .hours-row { grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr); grid-template-areas: "day open open" "from to until"; column-gap: 6px; }
  .hours-row select { padding-left: 8px; padding-right: 24px; background-position: right 5px center; }
  .hours-row.is-closed { grid-template-areas: "day open open"; }
}
