* { box-sizing: border-box; }
:root { color-scheme: light; font-family: "Segoe UI", Arial, sans-serif; color: #302323; background: #fff8e7; }
body { margin: 0; min-height: 100vh; background: linear-gradient(rgba(255,250,230,.88), rgba(255,250,230,.88)), url("../images/wave-pattern.png") center / 660px auto repeat; }
.verification-shell { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 36px 20px 24px; }
.brand { display: flex; align-items: center; gap: 12px; margin-bottom: 25px; color: #801725; text-decoration: none; }
.brand img { border-radius: 50%; object-fit: contain; background: #fff; box-shadow: 0 2px 10px #78162212; }
.brand strong { display: block; font-size: 20px; letter-spacing: -.5px; }
.brand small { display: block; margin-top: 4px; font-size: 9px; font-weight: 600; letter-spacing: 1.6px; color: #796752; }
.verification-card { width: 100%; max-width: 460px; padding: 32px 36px 0; background: #fffdf9; border: 1px solid #e9dbca; border-top: 4px solid #8e192b; border-radius: 20px; box-shadow: 0 20px 65px #68451b17, 0 3px 10px #68451b08; text-align: center; overflow: hidden; }
.step { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 9px; letter-spacing: 1.1px; color: #887b70; font-weight: 700; }
.step-dot { width: 6px; height: 6px; background: #8e192b; border-radius: 50%; }
.step-line { width: 20px; height: 1px; background: #d9cbbb; }
.mail-icon { position: relative; display: grid; place-items: center; width: 72px; height: 72px; margin: 29px auto 21px; border: 1px solid #f1dfc7; border-radius: 23px; background: #fff2db; color: #8e192b; transform: rotate(-5deg); }
.mail-icon svg { width: 36px; height: 36px; transform: rotate(5deg); }
.mail-icon span { position: absolute; right: -5px; bottom: -3px; display: grid; place-items: center; width: 25px; height: 25px; border: 3px solid #fffdf9; border-radius: 50%; background: #8e192b; color: #fff; font-size: 12px; font-weight: 700; }
h1 { margin: 0 0 12px; font-size: 29px; letter-spacing: -.9px; line-height: 1.2; }
.intro { margin: 0; color: #7a6b62; font-size: 14px; line-height: 1.7; }
.delivery-note { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 12px; margin: 22px 0 26px; border: 1px solid #eedfc7; border-radius: 9px; background: #fff7e9; color: #80633b; font-size: 12px; }
.delivery-note > span:first-child { font-size: 19px; }
form { text-align: left; }
label { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 600; }
.code-input { display: block; width: 100%; height: 64px; border: 1px solid #d9cbc1; border-radius: 11px; background: #fff; color: #701323; font: 600 28px "Segoe UI", sans-serif; letter-spacing: 12px; padding: 0 12px 0 24px; text-align: center; transition: border-color .15s, box-shadow .15s; }
.code-input::placeholder { color: #c5b7ac; font-weight: 400; opacity: 1; }
.code-input:focus { outline: none; border-color: #a02a3b; box-shadow: 0 0 0 4px #9b203011; }
.code-input[aria-invalid="true"] { border-color: #b42338; }
.code-help { color: #928175; font-size: 11px; margin: 9px 0 22px; }
button { width: 100%; min-height: 51px; border: 0; border-radius: 10px; background: #8e192b; color: #fff; font: 600 14px "Segoe UI", sans-serif; cursor: pointer; box-shadow: 0 5px 12px #8e192b20; transition: background .15s; }
button span { margin-left: 13px; font-size: 19px; }
button:hover { background: #701122; }
button:focus-visible, a:focus-visible { outline: 3px solid #c28a27; outline-offset: 4px; }
.inbox-help { margin: 23px 0 17px; color: #89796e; font-size: 11px; line-height: 1.6; }
.inbox-help strong { font-weight: 600; color: #5d4b42; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: #8e192b; text-decoration: none; font-size: 12px; font-weight: 600; padding: 5px; }
.back-link:hover { text-decoration: underline; }
.security-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 26px -36px 0; padding: 16px; border-top: 1px solid #eee5da; background: #faf6ef; color: #978575; font-size: 10px; }
.security-note svg { width: 15px; height: 15px; flex-shrink: 0; }
.error-message { padding: 12px 14px; border: 1px solid #efc5cb; border-radius: 9px; background: #fff0f1; color: #9a2032; font-size: 13px; line-height: 1.5; text-align: left; }
footer { margin-top: 24px; color: #92826c; font-size: 10px; text-align: center; line-height: 1.8; }
footer span { padding: 0 6px; }
.otp-page { background: linear-gradient(rgba(255,250,239,.95),rgba(255,250,239,.95)),url('../images/wave-pattern.png') center/660px auto repeat; }
.otp-page .verification-shell { padding: 24px 20px; }
.otp-page .brand { margin-bottom: 18px; }
.otp-page .verification-card { padding-top: 24px; }
.otp-page .mail-icon { width: 58px; height: 58px; margin: 20px auto 18px; border-radius: 18px; }
.otp-page .mail-icon svg { width: 30px; height: 30px; }
.otp-page h1 { font-size: 26px; margin-bottom: 10px; }
.otp-page .intro { font-size: 13px; line-height: 1.6; }
.otp-page .delivery-note { margin: 18px 0 22px; padding: 12px 14px; text-align: left; }
.otp-page .delivery-note > div { min-width: 0; }
.otp-page .delivery-label { display: block; margin-bottom: 4px; font-size: 11px; color: #8a7966; }
.otp-page .delivery-note strong { display: block; overflow-wrap: anywhere; color: #65503e; font-size: 13px; font-weight: 600; }
.otp-page .code-input { height: 58px; font-variant-numeric: tabular-nums; }
.otp-page .code-help { margin-bottom: 18px; line-height: 1.6; }
.otp-resend-form { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 16px; color: #847467; font-size: 12px; }
.otp-page .otp-resend { width: auto; min-height: 36px; padding: 6px 8px; background: transparent; color: #8e192b; box-shadow: none; font-size: 12px; }
.otp-page .otp-resend:hover { background: #f9edef; }
.otp-page .inbox-help { margin: 9px 0 14px; }
.otp-page .security-note { margin-top: 20px; font-size: 11px; line-height: 1.5; }
.otp-page footer { margin-top: 18px; }
.otp-success { padding: 11px 13px; border: 1px solid #cbe5d3; border-radius: 9px; background: #eef9f1; color: #237348; font-size: 12px; line-height: 1.6; text-align: left; }
@media(max-width:480px) { .otp-page .verification-shell { padding: 20px 16px; } .otp-page h1 { font-size: 24px; } }
@media(max-height:760px) { .otp-page .verification-shell { justify-content: flex-start; padding-top: 18px; } .otp-page .brand { margin-bottom: 14px; } .otp-page .brand img { width: 38px; height: 38px; } .otp-page .mail-icon { margin: 16px auto; width: 50px; height: 50px; } }
@media (max-width: 480px) { .verification-shell { padding: 24px 16px; } .verification-card { padding: 26px 23px 0; border-radius: 16px; } .security-note { margin-left: -23px; margin-right: -23px; } h1 { font-size: 26px; } .intro { font-size: 13px; } .step { font-size: 8px; gap: 6px; letter-spacing: .8px; } .brand { margin-bottom: 22px; } .desktop-break { display: none; } .code-input { letter-spacing: 9px; padding-left: 21px; } }
