@font-face { font-family: Roboto; src: url("assets/Roboto-Regular.ttf") format("truetype"); font-style: normal; font-weight: 400; }
@font-face { font-family: Roboto; src: url("assets/Roboto-Medium.ttf") format("truetype"); font-style: normal; font-weight: 500; }
@font-face { font-family: Roboto; src: url("assets/Roboto-Bold.ttf") format("truetype"); font-style: normal; font-weight: 600; }
:root { font-size: min(10vw, 37.5px); font-family: Roboto, sans-serif; color: #333; background: #9195a3; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
button, input { font: inherit; }
button { cursor: pointer; }
.phone-shell { position: relative; width: min(100%, 375px); min-height: 100vh; margin: 0 auto; background: #fff; overflow: hidden; }
.topbar { height: 1.128rem; }
.language-button { position: absolute; top: 0.5rem; right: 0.6408rem; height: 0.8973333rem; display: flex; align-items: center; gap: 0.1282667rem; border: 0; background: none; padding: 0; color: #333; font-size: 0.4102613rem; font-weight: 400; }
.language-button img { width: 0.7466667rem; height: 0.7466667rem; display: block; }
.screen { display: none; }
.screen.active { display: block; }
#login-screen h1 { height: 1.08rem; margin: 0.6925333rem 0.5128rem 0.6152rem; color: #29303a; font-size: 0.92308rem; line-height: 1.08rem; font-weight: 600; }
#login-form { padding: 0 0.5128rem; }
.field-label { display: block; height: 0.4933333rem; margin: 0 0 0.3074667rem; color: #1f262f; font-size: 0.4102613rem; line-height: 0.4933333rem; font-weight: 400; }
.field { position: relative; height: 1.2306667rem; width: 100%; border-radius: 0.128rem; background: #f5f5f5; }
.field input { display: block; width: 100%; height: 100%; border: 0.0133333rem solid #f5f5f5; border-radius: 0.128rem; background: transparent; color: #666; outline: none; font-size: 0.4102613rem; font-weight: 400; }
.field input:focus { border: 0.0256rem solid #fac10c; }
.field input::placeholder { color: #c1c2c9; opacity: 1; }
.phone-field .flag { position: absolute; z-index: 1; left: 0.3077333rem; top: 0.1885333rem; width: 0.8533333rem; height: 0.8533333rem; pointer-events: none; }
.phone-field .dial-code { position: absolute; z-index: 1; left: 1.4688rem; top: 0; height: 1.2306667rem; display: flex; align-items: center; color: #1f262f; font-size: 0.4102613rem; pointer-events: none; }
.phone-field input { padding: 0 0.2565333rem 0 2.436rem; }
.label-row { display: flex; align-items: flex-start; justify-content: space-between; height: 0.8008rem; margin-top: 0.6152rem; }
.label-row .field-label { margin: 0; }
.text-link { border: 0; background: none; padding: 0; color: #dca700; font-size: 0.4102613rem; font-weight: 400; }
.text-link:hover { text-decoration: underline; }
.label-row .text-link { height: 0.8008rem; line-height: 0.8008rem; }
.order-name-field input { padding: 0 0.2565333rem; }
.primary-button, .secondary-button { display: block; width: 100%; height: 1.2306667rem; border-radius: 0.1026667rem; border: 0; font-size: 0.4102613rem; font-weight: 500; line-height: 0.4922667rem; }
.primary-button { background: #fac10c; color: #403510; }
.secondary-button { margin-top: 0.6410667rem; background: #ebecf0; color: #373d42; }
.login-button { margin-top: 1.2818667rem; }
.register-line { margin: 0.8205333rem 0.5128rem 0; color: #333; font-size: 0.4102613rem; line-height: 0.5733333rem; font-weight: 400; }
.register-line .text-link { line-height: 0.5733333rem; }
.toast { position: absolute; left: 20px; right: 20px; bottom: 54px; padding: 11px 14px; border-radius: 6px; background: #30333b; color: white; font-size: 13px; text-align: center; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translateY(0); }
.processing-overlay { position: absolute; z-index: 2; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; background: #fff; color: #29303a; font-size: 16px; }
.processing-overlay[hidden] { display: none; }
.processing-spinner { width: 38px; height: 38px; border: 4px solid #fff0bd; border-top-color: #fac10c; border-radius: 50%; animation: processing-spin .8s linear infinite; }
@keyframes processing-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .processing-spinner { animation: none; } }
.mpin-screen { padding: 0 19px; text-align: center; }
.back-button { display: grid; place-items: center; width: 34px; height: 34px; margin: 0 0 12px -6px; padding: 0; border: 0; background: none; color: #33363d; }
.back-button svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mpin-icon { width: 68px; height: 68px; margin: 4px auto 25px; border-radius: 20px; background: #fff5d5; display: grid; place-items: center; }
.mpin-icon svg { width: 44px; height: 44px; fill: none; stroke: #d8aa27; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.mpin-screen h1 { margin: 0 0 11px; color: #29303a; font-size: 28px; font-weight: 600; }
.mpin-copy { margin: 0; color: #80848c; font-size: 14px; }
.pin-dots { display: flex; justify-content: center; gap: 18px; margin: 39px 0 0; }
.pin-dot { width: 17px; height: 17px; border: 1.5px solid #c3c6cb; border-radius: 50%; transition: background .12s, border-color .12s; }
.pin-dot.filled { background: #fac10c; border-color: #fac10c; }
.pin-error { min-height: 20px; margin: 17px 0 7px; color: #ba4545; font-size: 13px; line-height: 16px; }
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 18px; max-width: 290px; margin: 0 auto; }
.keypad button, .keypad span { height: 61px; }
.keypad button { border: 0; border-radius: 50%; background: transparent; color: #2b2e35; font-size: 24px; }
.keypad button:hover, .keypad button:focus-visible { background: #f4f4f5; }
.keypad svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
