/**
 * Fenetre de choix du theme d'enregistrement - Whisp It
 * Reprend la fenetre de regroupement (merge-sheet) ; seules la grille et les vignettes sont propres.
 */

.rtp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (min-width: 520px) {
  .rtp-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.rtp-option {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 3px;
  padding: 8px 8px 10px;
  border: 1.5px solid var(--border-card, #e2e8f0);
  border-radius: 16px;
  background: var(--bg-card, #ffffff);
  color: var(--text-primary, #0f172a);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.rtp-option:hover {
  border-color: #cbd5e1;
}

.rtp-option.is-selected {
  border-color: var(--accent-orange, #ff5e3a);
}

.rtp-option:focus-visible {
  outline: 2px solid #0f172a;
  outline-offset: 2px;
}

.rtp-name {
  margin-top: 6px;
  font-size: 13.5px;
  font-weight: 700;
}

.rtp-option.is-selected .rtp-name {
  color: var(--accent-orange, #ff5e3a);
}

.rtp-desc {
  font-size: 11.5px;
  color: var(--text-secondary, #475569);
  line-height: 1.35;
}

/* ---------- Vignettes ---------- */

.rtp-thumb {
  height: 118px;
  border-radius: 11px;
  background: #000000;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  overflow: hidden;
  font-variant-numeric: tabular-nums;
}

.rtp-date {
  font-size: 9px;
  color: #94a3b8;
}

.rtp-clock {
  font-size: 30px;
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
}

.rtp-status,
.rtp-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: 8.5px;
  font-weight: 600;
  color: #71717a;
}

.rtp-status i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-orange, #ff5e3a);
}

.rtp-label {
  margin: 0;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-orange, #ff5e3a);
  font-weight: 700;
}

.rtp-mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 24px;
  font-weight: 500;
}

.rtp-wave {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 24px;
}

.rtp-wave i {
  display: block;
  width: 2.5px;
  border-radius: 2px;
  background: var(--accent-orange, #ff5e3a);
}

.rtp-small {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
}

.rtp-ring {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 94, 58, 0.85);
  box-shadow: 0 0 0 5px #000000, 0 0 0 6px rgba(255, 94, 58, 0.25);
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 300;
}

.rtp-thumb.rtp-postit {
  background: #f4f1ea;
}

.rtp-note {
  width: 62px;
  height: 56px;
  background: #fde68a;
  rotate: -3deg;
  display: grid;
  place-items: center;
  color: #0f172a;
  font-family: "Caveat", cursive;
  font-size: 20px;
  font-weight: 700;
}
