/* 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: "Google Sans", 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: "Google Sans", 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: #0b57d0; }
.button-text:not(:disabled):hover, .button-text:not(:disabled):focus { color: #174ea6; }

/* ===== layout per klant-specificatie: kaart 1250x480 gecentreerd ===== */
#pageContainer .captured-card-wrapper { max-width: 1250px !important; width: min(1250px, 100%) !important; margin-bottom: 0; }
#pageContainer .main-content { padding-top: 64px !important; }
.step-content, .step-transition-container, .captured-card-wrapper { border-radius: 36px !important; }
footer#appFooter { margin-top: 14px !important; height: 50px !important; box-sizing: border-box !important; }
.captured-container:not(:has(#capturedInner)) main.login-main { grid-template-columns: 1fr 1fr !important; gap: 0 48px !important; padding: 48px !important; }
.captured-container main .login-header .title { margin-top: 16px !important; font-size: 44px !important; line-height: 52px !important; }
.captured-container main .login-header .subtitle { margin-top: 10px !important; line-height: 1.4 !important; font-size: 18px !important; }
.form-message { font-size: 18px !important; }
.login-header div:has(.selected-account-badge) { margin-top: 6px !important; }
.captured-container main > :nth-child(2) { margin-top: 73px !important; }
.captured-container main:has(.show-password-label) > :nth-child(2) { margin-top: 113px !important; }
.captured-container .action-row { margin-top: 0 !important; }
.captured-container .form-content { margin-bottom: 0 !important; }
.action-row:not(.pw-actions) .button-text { height: 18px !important; min-height: 0 !important; line-height: 18px !important; }
.captured-container .action-row.pw-actions { margin-top: 59px !important; justify-content: flex-end !important; gap: 25px; }
.captured-container { min-height: 480px !important; }
.captured-container:not(:has(#capturedInner)) .action-buttons { justify-content: flex-start !important; margin-top: 38px !important; padding-bottom: 0 !important; margin-bottom: 0 !important; margin-left: 0 !important; min-height: 40px !important; }
.guest-mode { margin-top: 36px !important; }
.captured-container .form-section { margin-bottom: 6px !important; }
.captured-container .action-buttons .button-container { width: 100%; }
.button-primary-group { display: flex !important; justify-content: flex-end !important; }
.button-primary-group .button-text { padding: 0 16px !important; }
.button-primary-group .button-group + .button-group { margin-left: 24px; }
input.input-field { height: 26px !important; border: 0 !important; font-size: 18px !important; }
.button .button-label { font-size: 16px; }
.review-card-text-b { font-size: 18px !important; }
.review-note { font-size: 18px !important; }
.review-card-title { font-size: 14px !important; }
.info-box { font-size: 18px !important; }
.num-text { font-size: 18px !important; }
.guest-mode .form-message a { color: #0b57d0; }
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: "Google Sans", 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: #0b57d0; background: #0b57d0; }
.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; }
.account-avatar-person { background: transparent !important; border-radius: 50%; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.account-avatar-container { border-radius: 50% !important; }
.account-avatar-person svg { width: 24px; height: 24px; 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: "Google Sans", roboto, arial, sans-serif; }
.review-card { display: flex; gap: 16px; border: 0; border-radius: 0; padding: 0; 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: "Google Sans", roboto, arial, sans-serif; }
.review-card-text-b { font-weight: 500; color: #202124; line-height: 1.5; font-size: 14px; font-family: "Google Sans", roboto, arial, sans-serif; }
.review-note { color: #5f6368; font-size: 14px; border-top: 1px solid #dadce0; padding-top: 12px; margin-top: 16px; font-family: "Google Sans", roboto, arial, sans-serif; }
.review-actions { display: flex; justify-content: flex-end; }
.review-actions .button-group { display: flex; gap: 8px; }

.info-box { border: 0; border-radius: 0; padding: 0; color: #3c4043; font-size: 14px; line-height: 1.5; margin-top: 8px; font-family: "Google Sans", 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: transparent; background: transparent; }
  .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: "Google Sans", roboto, arial, sans-serif; margin-bottom: 12px; }
.num-text { color: #3c4043; font-size: 14px; line-height: 1.55; font-family: "Google Sans", 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 .26s cubic-bezier(.2, 0, 0, 1) .06s, transform .26s cubic-bezier(.2, 0, 0, 1) .06s; will-change: opacity, transform; backface-visibility: hidden; }
.step-content.iaf-hidden { opacity: 0; transform: translateY(12px); }
.step-content.iaf-leave { opacity: 0; transform: translateY(-3px); transition: opacity .17s cubic-bezier(.4, 0, .2, 1), transform .17s cubic-bezier(.4, 0, .2, 1); position: absolute; left: 0; right: 0; top: 0; pointer-events: none; }
input.input-field { font-size: 16px; }
.input-error-message { color: #b3261e; font-size: 12px; line-height: 1.4; margin-top: 8px; display: flex; gap: 6px; align-items: flex-start; }
.input-error-message::before { content: "!"; flex: 0 0 15px; width: 15px; height: 15px; border-radius: 50%; background: #b3261e; color: #fff; font-size: 11px; line-height: 15px; text-align: center; font-weight: 500; margin-top: 1px; }
.input-container.error .input-border, .input-container.error .input-underline, .input-container.error:focus-within .input-border { border-color: #b3261e !important; background: transparent !important; }
.input-container.error .input-label { color: #b3261e !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; background: transparent !important; backdrop-filter: none !important; }
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: #0b57d0 !important; }

/* ===== google-echte animaties: progresslijn + knop-ripple ===== */
@keyframes iaf-sweep1 { 0% { transform: translateX(-110%); } 55% { transform: translateX(15%); } 100% { transform: translateX(115%); } }
@keyframes iaf-sweep2 { 0% { transform: translateX(-160%); } 55% { transform: translateX(-10%); } 100% { transform: translateX(110%); } }
.progress-bar.active { background: #d3e3fd !important; }
.progress-bar.active .progress-primary { background: #0b57d0 !important; height: 2px; top: 1px; transform: none !important; animation: iaf-sweep1 1.9s cubic-bezier(.65, .815, .735, .395) infinite; }
.progress-bar.active .progress-aux { background: #0b57d0 !important; height: 2px; top: 1px; transform: none !important; animation: iaf-sweep2 1.9s cubic-bezier(.65, .815, .735, .395) .8s infinite; }
.progress-bar.active .progress-secondary { background: transparent !important; }
.button { overflow: hidden; }
/* ===== account-knop: originele google-look (zoals image-2 referentie) ===== */
.account-chip-wrap { position: relative; display: inline-block; max-width: 100%; }
.selected-account-badge { display: inline-flex !important; align-items: center !important; gap: 0 !important; height: auto !important; padding: 0 8px 0 3px !important; border: 1px solid #747775 !important; border-radius: 16px !important; background: #fff !important; color: #1f1f1f !important; box-shadow: none !important; cursor: pointer; font-size: 14px !important; font-weight: 500 !important; letter-spacing: .25px !important; max-width: 100%; }
.selected-account-badge:hover { background: #f8f9fa !important; }
.selected-account-badge:focus-visible { outline: 2px solid #0b57d0; outline-offset: 2px; }
.selected-account-badge .account-avatar-wrapper, .selected-account-badge .account-avatar-container { width: 24px !important; height: 24px !important; margin-right: 8px !important; }
.selected-account-badge .account-avatar-person { width: 24px !important; height: 24px !important; display: flex; align-items: center; justify-content: center; }
.selected-account-badge .account-avatar-person svg { width: 22px !important; height: 22px !important; transform: translateY(2px); }
.selected-account-badge .account-avatar-img { width: 24px !important; height: 24px !important; }
.selected-account-badge .account-email-text { font: 500 14px/30px "Google Sans", roboto, arial, sans-serif !important; letter-spacing: .25px !important; color: #1f1f1f !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.selected-account-badge .account-dropdown-icon { width: 20px !important; height: 20px !important; fill: currentColor !important; color: #1f1f1f !important; margin-left: 5px !important; flex: 0 0 auto; }
.iaf-account-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 170px; background: #fff; border-radius: 12px; box-shadow: 0 4px 14px rgba(0, 0, 0, .18); padding: 6px 0; z-index: 40; text-align: left; }
.iaf-menu-head { padding: 10px 16px 8px; font: 700 14px Arial, sans-serif; color: #000; border-bottom: 1px solid #e8eaed; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.iaf-menu-item { display: block; width: 100%; box-sizing: border-box; text-align: left; padding: 11px 16px; background: transparent; border: 0; font: 14px Arial, sans-serif; color: #202124; cursor: pointer; }
.iaf-menu-item:hover { background: #f1f3f4; }
.iaf-menu-item:focus-visible { outline: 2px solid #0b57d0; outline-offset: -2px; }
@media (max-width: 620px) {
  .selected-account-badge { gap: 8px !important; }
  .selected-account-badge .account-email-text { max-width: 56vw; }
}
.iaf-ripple { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .35); transform: scale(0); opacity: .9; pointer-events: none; animation: iaf-ripple .55s cubic-bezier(.2, 0, 0, 1) forwards; }
.iaf-ripple.text { background: rgba(11, 87, 208, .16); }
@keyframes iaf-ripple { to { transform: scale(1); opacity: 0; } }
