/* ============================================================
   search-time.css — Search Time Page (/search/time)
   Namespace prefix: boh-search-time
   All values use design tokens from app.css (:root)
   ============================================================ */

/* --- LAYOUT OVERRIDE --- */
html:has(.boh-search-time),
body:has(.boh-search-time) {
  height: 100%;
  overflow: hidden;
}

body:has(.boh-search-time) .boh-shell {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

body:has(.boh-search-time) .boh-shell__header,
body:has(.boh-search-time) .boh-shell__bottom {
  display: none;
}

body:has(.boh-search-time) .boh-shell__main {
  flex: 1;
  overflow: hidden;
  padding-left: 0;
  padding-right: 0;
}

/* --- ROOT CONTAINER --- */
.boh-search-time {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: var(--boh-color-bg);
  font-family: var(--boh-font-sans);
}

/* --- HEADER --- */
.boh-search-time__header {
  padding: 2.5rem var(--boh-space-screen) 0.625rem var(--boh-space-screen);
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}

.boh-search-time__header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 2.5rem;
}

.boh-search-time__back-btn {
  position: absolute;
  left: 0;
  padding: 0.5rem;
  margin-left: -0.5rem;
  color: var(--boh-color-primary);
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease;
  text-decoration: none;
}

.boh-search-time__back-btn:active {
  transform: scale(0.95);
}

.boh-search-time__back-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

.boh-search-time__header-text {
  text-align: center;
}

.boh-search-time__title {
  font-family: var(--boh-font-sans);
  font-size: var(--boh-font-size-navtitle);
  font-weight: var(--boh-font-weight-700);
  color: var(--boh-color-primary);
  margin: 0 0 0.125rem 0;
  line-height: var(--boh-line-height-navtitle);
}

.boh-search-time__subtitle {
  font-size: 13px;
  color: color-mix(in srgb, var(--boh-color-muted) 70%, transparent);
  margin: 0;
  line-height: 1.3;
}

/* --- SCROLLABLE MAIN --- */
.boh-search-time__main {
  flex: 1;
  overflow-y: auto;
  padding-left: var(--boh-space-screen);
  padding-right: var(--boh-space-screen);
  padding-top: 1rem;
  padding-bottom: 6rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* --- TIME OPTION CARD --- */
/* Mirrors React: bg-white rounded-card p-4 flex items-center justify-between shadow-sm */
.boh-search-time__option {
  width: 100%;
  background-color: var(--boh-color-surface);
  border-radius: var(--boh-radius-card);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 4px rgba(38, 86, 77, 0.06);
  text-decoration: none;
  border: none;
  cursor: pointer;
  outline: none;
  transition: transform 0.15s ease;
  box-sizing: border-box;
}

.boh-search-time__option:active {
  transform: scale(0.98);
}

.boh-search-time__option-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.boh-search-time__option-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--boh-color-primary);
  stroke-width: 1.5;
}

.boh-search-time__option-label {
  font-size: 15px;
  font-weight: var(--boh-font-weight-700);
  color: var(--boh-color-primary);
}

.boh-search-time__option-value {
  font-size: 13px;
  color: color-mix(in srgb, var(--boh-color-muted) 70%, transparent);
}
