/* Peças que espelham o produto real: moldura de celular, cartão de aviso, agenda com a bolinha azul.
   Tudo aqui é HTML/CSS vivo, nunca imagem. Dentro dos celulares o raio é --r-app (16 px). */

/* ---------- Moldura de celular ---------- */
.phone {
  --phone-h: 660px;
  position: relative;
  width: min(100%, 360px);
  min-height: var(--phone-h);
  margin-inline: auto;
  padding: 7px;
  background: linear-gradient(145deg, #222c43, #070b14 45%, #111827);
  border: 1px solid rgba(164, 190, 238, 0.24);
  border-radius: var(--r-device);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  container-type: inline-size;
}

.phone__ilha {
  position: absolute;
  top: 13px;
  left: 50%;
  z-index: 3;
  width: 78px;
  height: 20px;
  background: #03050a;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
  border-radius: 999px;
  transform: translateX(-50%);
}

.phone__tela {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: calc(var(--phone-h) - 18px);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(20, 29, 49, 0.98), var(--s1) 28%);
  border-radius: calc(var(--r-device) - 8px);
}

@media (min-width: 768px) {
  .phone {
    --phone-h: 700px;
    width: min(100%, 340px);
  }
}

@media (min-width: 1280px) {
  .phone {
    width: min(100%, 372px);
  }
}

/* ---------- Selo dentro do celular (SIMULAÇÃO / EXEMPLO) ---------- */
.selo {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--text-2);
  font-size: var(--fs-tag);
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.3;
}

/* ---------- Cartão de aviso "Novo agendamento" ---------- */
.push-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(47, 123, 255, 0.18), var(--s2));
  border: 1px solid var(--line-2);
  border-radius: var(--r-app);
  box-shadow: var(--sombra-flutua);
}

.push-card__icone {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  color: var(--ink);
  background: var(--blue);
  border-radius: 10px;
}

.push-card__icone .ic {
  width: 16px;
  height: 16px;
}

.push-card__icone::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--blue-hi);
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
}

.push-card__t {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.push-card__d {
  margin-top: 2px;
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.35;
}

/* ---------- Agenda do dono: régua de 30 min, cartão com borda azul, bolinha = reserva pelo site ---------- */
.ag-list {
  --linha: 44px;
  display: grid;
  grid-auto-rows: var(--linha);
  background: repeating-linear-gradient(to bottom, transparent 0 calc(var(--linha) - 1px), var(--line) calc(var(--linha) - 1px) var(--linha));
}

.ag-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: stretch;
  min-height: 0;
}

.ag-hora {
  padding-top: 12px;
  color: var(--text);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  white-space: nowrap;
}

.ag-hora--cheia {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 13px;
}

.ag-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  margin-block: 2px;
  padding: 2px 10px;
  background: linear-gradient(90deg, rgba(47, 123, 255, 0.12), var(--s2) 42%);
  border-left: 4px solid var(--blue);
  border-radius: var(--r-app);
}

.ag-card__nome {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.ag-card__nome > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ag-card__serv {
  overflow: hidden;
  color: var(--text-2);
  font-size: 12px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ag-card::after {
  content: "";
  position: absolute;
  inset: -2px;
  border: 2px solid var(--blue-hi);
  border-radius: var(--r-app);
  opacity: 0;
  pointer-events: none;
}

.ag-livre {
  display: flex;
  align-items: center;
  margin-block: 4px;
  padding-inline: 12px;
  border: 1px dashed var(--line-2);
  border-radius: var(--r-app);
  color: var(--text);
  font-size: 12px;
}

.bolinha {
  display: inline-block;
  flex: none;
  width: 9px;
  height: 9px;
  background: var(--blue);
  border-radius: 50%;
}

.ag-legenda {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-2);
  font-size: 12px;
}
