/* ==========================================================================
   TUKUBUKU — Revisi 16
   Halaman verifikasi kode Gmail (daftar dengan Google).
   ========================================================================== */

/* Grid 1fr memakai lebar minimum isi; tanpa min-width:0 kotak kode yang besar melebarkan kartu di HP. */
.verify-wrap > * { min-width: 0; }
.verify-panel { display: flex; flex-direction: column; gap: 14px; }
.verify-panel h2 { margin-bottom: 0; }
.verify-to { margin: 0; color: var(--c-ink-2); font-size: .9rem; }
.verify-to b { color: var(--c-olive-800); overflow-wrap: anywhere; }

.otp-form { display: grid; gap: 12px; padding: 18px; border: 1px solid var(--c-line); border-radius: 16px; background: linear-gradient(180deg, #FFFDF8, #F6F0E2); }
.otp-label { font-family: var(--f-label); letter-spacing: .16em; text-transform: uppercase; font-size: .72rem; color: var(--c-ink-3); }

/* Kotak kode besar bergaris enam segmen; spesifisitas dinaikkan agar menang dari aturan input global. */
body main input.otp-input:not(#_):not(#__) {
  font-family: Consolas, "SFMono-Regular", Menlo, monospace !important;
  font-size: clamp(1.7rem, 7vw, 2.3rem) !important;
  font-weight: 700;
  width: 100% !important;
  min-width: 0;
  box-sizing: border-box;
  letter-spacing: .55em !important;
  text-align: center;
  text-indent: .55em;
  padding: 14px 10px !important;
  min-height: 72px !important;
  color: var(--c-olive-800) !important;
  background: #FFFDF8 !important;
  border: 2px dashed var(--c-olive) !important;
  border-radius: 14px !important;
}
body main input.otp-input:not(#_):not(#__)::placeholder { color: #CFC5B1 !important; letter-spacing: .55em; }
body main input.otp-input:focus:not(#_):not(#__) { border-style: solid !important; box-shadow: 0 0 0 5px rgba(122, 154, 90, .22) !important; }

.otp-resend { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 12px 14px; border-radius: 12px; background: rgba(122, 154, 90, .08); }
.otp-resend p { margin: 0; flex: 1 1 240px; font-size: .84rem; color: var(--c-ink-2); }
.otp-resend form { margin: 0; }
.otp-resend-btn { white-space: nowrap; }
.otp-resend-btn[disabled] { opacity: .6; cursor: not-allowed; }

.otp-safety { margin: 0; display: flex; gap: 8px; align-items: flex-start; font-size: .8rem; color: var(--c-ink-3); }
.otp-safety::before { content: ''; flex: none; width: 16px; height: 16px; margin-top: 1px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A7646' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 7v5c0 4.5 3.4 8.3 8 9 4.6-.7 8-4.5 8-9V7l-8-4Z'/%3E%3Cpath d='m8.5 12 2.5 2.5 4.5-5'/%3E%3C/svg%3E"); }

@media (max-width: 640px) {
  .otp-form { padding: 14px; }
  .otp-resend { flex-direction: column; align-items: stretch; }
  .otp-resend p { flex: none; }
  .otp-resend-btn { width: 100%; }
}
