/* Estilos específicos da app (complementam o design-system.css) */

/* Inputs reais (o design-system tinha divs a fingir de input) */
input.input, select.input {
  width: 100%;
  height: 52px;
  border-radius: var(--r-input);
  background: #fff;
  border: 1px solid var(--line);
  padding: 0 18px;
  font-size: 15px;
  color: var(--ink);
  font-family: var(--sans);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
input.input:focus, select.input:focus {
  border-color: var(--terra);
  box-shadow: 0 0 0 3px rgba(185,132,112,0.18);
}
select.input { cursor: pointer; }

button.btn { width: 100%; cursor: pointer; }

/* Alertas / mensagens */
.alert {
  border-radius: 14px;
  padding: 13px 16px;
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 18px;
}
.alert--erro { background: var(--tint-coral); color: var(--coral-ink); }
.alert--ok   { background: var(--tint-green); color: var(--green-ink); }

/* Cabeçalho de topo com logótipo pequeno */
.brand {
  display: flex; align-items: center; gap: 12px; margin-bottom: 8px;
}
.brand img { width: 44px; height: 44px; border-radius: 11px; object-fit: cover; }
.brand__name { font-family: var(--serif); font-size: 20px; color: var(--ink); }

.link-row { text-align: center; margin-top: 18px; font-size: 14px; }
.muted-note { color: var(--muted); font-size: 13px; }

/* Navegação de semana no horário */
.week-nav {
  width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--ink); background: #fff;
  border: 1px solid var(--line); text-decoration: none;
}
.week-nav:hover { background: var(--tint-terra); }

/* ---------- Seletor de datas em português ---------- */
.dp { position: relative; }
.dp__display {
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; text-align: left; background: #fff;
}
.dp__text { color: var(--ink); }
.dp__placeholder { color: var(--faint); }
.dp__icon { color: var(--faint); }
.dp--aberto .dp__display { border-color: var(--terra); box-shadow: 0 0 0 3px rgba(185,132,112,0.18); }

.dp__pop {
  position: absolute; z-index: 40; top: calc(100% + 8px); left: 0; right: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 12px 34px rgba(42,35,28,0.16); padding: 14px;
}
.dp__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.dp__titulo { font-family: var(--serif); font-size: 16px; color: var(--ink); }
.dp__nav {
  width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; font-size: 18px; color: var(--ink); cursor: pointer;
}
.dp__nav:hover { background: var(--tint-terra); }
.dp__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.dp__dow { text-align: center; font-size: 11px; color: var(--faint); padding: 4px 0; }
.dp__dia {
  aspect-ratio: 1; border: none; background: transparent; border-radius: 9px;
  font-size: 14px; color: var(--ink); cursor: pointer; font-family: var(--sans);
}
.dp__dia:hover { background: var(--tint-terra); }
.dp__dia--hoje { box-shadow: inset 0 0 0 1px var(--terra); color: var(--terra); font-weight: 600; }
.dp__dia--sel { background: var(--terra); color: #fff; font-weight: 600; }
.dp__dia--sel:hover { background: var(--terra); }
.dp__rodape { margin-top: 10px; text-align: center; }
.dp__hoje {
  border: none; background: transparent; color: var(--terra-link);
  font-size: 13px; cursor: pointer; font-family: var(--sans);
}

/* ---------- Seletor de horas (15 em 15 min) ---------- */
.tp { position: relative; }
.tp__display {
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; text-align: left; background: #fff;
}
.tp__text { color: var(--ink); }
.tp__icon { font-size: 15px; filter: grayscale(1) opacity(.6); }
.tp--aberto .tp__display { border-color: var(--terra); box-shadow: 0 0 0 3px rgba(185,132,112,0.18); }

.tp__pop {
  position: absolute; z-index: 40; top: calc(100% + 8px); left: 0; right: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 12px 34px rgba(42,35,28,0.16); padding: 12px;
}
.tp__cols { display: flex; gap: 10px; }
.tp__col { flex: 1; }
.tp__coltitle { font-size: 11px; color: var(--faint); text-align: center; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.05em; }
.tp__list { max-height: 168px; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; padding: 2px; }
.tp__item {
  height: 40px; border: none; background: var(--card-soft); border-radius: 10px;
  font-size: 15px; color: var(--ink); cursor: pointer; font-family: var(--sans);
  flex-shrink: 0;
}
.tp__item:hover { background: var(--tint-terra); }
.tp__item--sel { background: var(--terra); color: #fff; font-weight: 600; }
.tp__item--sel:hover { background: var(--terra); }

/* Lista simples de itens (alunas) */
.list-item {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 16px; padding: 14px 16px;
  box-shadow: var(--shadow-card); margin-bottom: 12px;
}
.list-item__body { flex: 1; }
