@font-face {
    font-family: 'YaLo DM Sans';
    src: url('DMSans-Regular.ttf') format('truetype');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'YaLo DM Sans';
    src: url('DMSans-Bold.ttf') format('truetype');
    font-style: normal;
    font-weight: 600 900;
    font-display: swap;
}

.yalo-auth-page {
    --yalo-auth-blue: #0098d8;
    --yalo-auth-ink: #142e46;
    --yalo-auth-muted: #587084;
    margin: 0;
    background: radial-gradient(ellipse at 5% 45%, #dff5ff 0, transparent 55%), radial-gradient(ellipse at 95% 100%, #e3faf2 0, transparent 45%), #f4fbff;
    color: var(--yalo-auth-ink);
    font-family: 'YaLo DM Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
}

.yalo-auth-page .main {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
    width: 100%;
    margin: 0;
    padding: 30px clamp(24px, 5vw, 96px) 20px;
}

.yalo-auth-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
}

.yalo-auth-logo { width: 112px; height: 48px; object-fit: contain; }
.yalo-auth-header-label { color: var(--yalo-auth-muted); font-size: 14px; }

.yalo-auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(380px, 0.95fr);
    align-items: center;
    gap: clamp(40px, 6vw, 104px);
    width: 100%;
    max-width: 1220px;
    margin: auto;
    padding: 44px 0;
}

.yalo-auth-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: #006e9b; font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.yalo-auth-eyebrow > span { width: 8px; height: 8px; border-radius: 50%; background: var(--yalo-auth-blue); box-shadow: 0 0 0 5px #d6f2ff; }
.yalo-auth-hero h2 { margin: 22px 0 18px; color: var(--yalo-auth-ink); font-family: inherit; font-size: clamp(38px, 3.7vw, 56px); font-weight: 700; letter-spacing: -2px; line-height: 1.13; }
.yalo-auth-hero h2 > span { display: block; color: #0082ba; }
.yalo-auth-hero-copy { max-width: 440px; margin: 0; color: var(--yalo-auth-muted); font-size: 16px; line-height: 1.7; }

.yalo-auth-scene { position: relative; max-width: 550px; padding: 35px 30px 32px; isolation: isolate; }
.yalo-auth-orbit { position: absolute; z-index: -1; inset: 0 25px; border: 1px solid #c9eaf6; border-radius: 50%; transform: rotate(-18deg); background: radial-gradient(circle, #d8f3ff 0, #e8f8fd80 65%, transparent 66%); }
.yalo-auth-preview { width: 100%; padding: 20px; border: 1px solid #ffffff; border-radius: 28px; background: #fff; box-shadow: 0 24px 50px -20px #276a9152, 0 5px 14px #276a9112; transform: rotate(-3deg); }
.yalo-auth-preview-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.yalo-auth-preview-header > strong { color: #0087c3; font-size: 24px; letter-spacing: -1px; }
.yalo-auth-preview-header > strong > span { color: #18bd96; padding-inline-start: 2px; }
.yalo-auth-preview-dots { display: flex; gap: 5px; }
.yalo-auth-preview-dots i { width: 5px; height: 5px; border-radius: 50%; background: #c2d6e0; }
.yalo-auth-preview-caption { margin: 10px 0 16px; color: var(--yalo-auth-ink); font-size: 14px; font-weight: 700; }
.yalo-auth-verticals { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.yalo-auth-vertical { min-width: 0; padding: 14px 10px 4px; border-radius: 18px; box-shadow: 0 8px 12px -10px #24455a70; text-align: center; }
.yalo-auth-vertical-food { background: #fff0db; }
.yalo-auth-vertical-shop { background: #e2f8ed; }
.yalo-auth-vertical > strong { display: block; color: var(--yalo-auth-ink); font-size: 13px; }
.yalo-auth-vertical > img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.yalo-auth-preview-bar { display: flex; justify-content: center; gap: 16px; margin-top: 16px; }
.yalo-auth-preview-bar > span { width: 24px; height: 5px; border-radius: 4px; background: #dfedf3; }
.yalo-auth-preview-bar > span:first-child { background: #90d7f3; }
.yalo-auth-floating { position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid #fff; border-radius: 18px; background: #fff; box-shadow: 0 12px 32px #276a9126; }
.yalo-auth-floating-top { top: 15px; inset-inline-end: -4px; animation: yalo-auth-float 7s ease-in-out infinite; }
.yalo-auth-floating-bottom { bottom: 4px; inset-inline-start: 2px; animation: yalo-auth-float 7s 1s ease-in-out infinite; }
.yalo-auth-floating strong { display: block; color: var(--yalo-auth-ink); font-size: 13px; font-weight: 700; }
.yalo-auth-floating div > span { display: block; margin-top: 2px; color: var(--yalo-auth-muted); font-size: 11px; }
.yalo-auth-floating-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: #e2f6ff; color: #007cae; }
.yalo-auth-floating-bottom .yalo-auth-floating-icon { width: 30px; height: 30px; background: #dff8ee; color: #087a5c; }
.yalo-auth-hero-footer { display: flex; align-items: center; gap: 10px; margin-top: 22px; color: var(--yalo-auth-muted); font-size: 13px; }
.yalo-auth-hero-footer > span { width: 25px; height: 2px; background: #74cce9; }

.yalo-auth-card { min-width: 0; border: 1px solid #fff; border-radius: 30px; background: #fff; box-shadow: 0 28px 70px -24px #276a9147, 0 5px 18px #276a9112; }
.yalo-auth-card-inner { padding: clamp(28px, 3vw, 46px); }
.yalo-auth-portal { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; padding: 9px 13px; border-radius: 12px; background: #eaf7ff; color: #006e9b; font-size: 12px; font-weight: 700; }
.yalo-auth-portal .yalo-auth-icon { width: 18px; height: 18px; }
.yalo-auth-card h1 { margin: 0 0 12px; color: var(--yalo-auth-ink); font-family: inherit; font-size: clamp(26px, 2.5vw, 32px); font-weight: 700; letter-spacing: -1px; line-height: 1.2; }
.yalo-auth-intro { margin-bottom: 28px; color: var(--yalo-auth-muted); font-size: 14px; line-height: 1.65; }
.yalo-auth-page .form-group { margin-bottom: 20px; }
.yalo-auth-page .input-label { margin-bottom: 9px; color: var(--yalo-auth-ink); font-family: inherit; font-size: 13px; font-weight: 700; }
.yalo-auth-page .form-control { min-width: 0; height: 54px; padding: 14px 16px; border: 1px solid #d7e4ed; border-radius: 14px; background: #f9fcfe; color: var(--yalo-auth-ink); font-family: inherit; font-size: 15px; transition: border-color .18s ease, box-shadow .18s ease; }
.yalo-auth-page .form-control::placeholder { color: #687e8e; opacity: 1; }
.yalo-auth-page .form-control:focus { border-color: #0098d8; background: #fff; box-shadow: 0 0 0 4px #0098d81c; }
.yalo-auth-page .input-group-merge .form-control { padding-inline-end: 52px; border-radius: 14px !important; }
.yalo-auth-page .input-group-append { position: absolute; inset-block: 1px; inset-inline-end: 1px; z-index: 4; }
.yalo-auth-page .input-group-text { width: 50px; justify-content: center; border: 0; border-radius: 0 14px 14px 0; background: transparent; color: #47657a; cursor: pointer; font-size: 21px; }
[dir='rtl'] .yalo-auth-page .input-group-text { border-radius: 14px 0 0 14px; }
.yalo-auth-options { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; margin: 4px 0 24px; }
.yalo-auth-options .form-group { margin: 0; }
.yalo-auth-options .custom-control-label { padding-top: 1px; color: var(--yalo-auth-muted) !important; font-size: 12px; }
.yalo-auth-page .custom-control-input:checked ~ .custom-control-label::before { border-color: #007eaf; background-color: #007eaf; }
.yalo-auth-forgot { min-height: 28px; padding: 0; border: 0; background: transparent; color: #006e9b; cursor: pointer; font-family: inherit; font-size: 12px; font-weight: 700; text-align: start; }
.yalo-auth-forgot:hover { color: #004f70; text-decoration: underline; }
.yalo-auth-captcha { margin-bottom: 20px; }
.yalo-auth-captcha:has(#reload-captcha.d-none) { display: none; }
.yalo-auth-captcha-label { display: block; margin-bottom: 10px; color: var(--yalo-auth-muted); font-size: 12px; }
.yalo-auth-captcha #reload-captcha { margin-inline: -4px; align-items: stretch; }
.yalo-auth-captcha #reload-captcha > div { padding-inline: 4px !important; }
.yalo-auth-captcha #reload-captcha input { height: 54px !important; margin-block: 0 !important; font-size: 13px; }
.yalo-auth-captcha #reload-captcha img { min-width: 0; height: 54px; object-fit: contain; }
.yalo-auth-captcha .capcha-spin { display: grid; min-width: 38px; place-items: center; padding: 8px !important; color: #007eaf; cursor: pointer; }
.yalo-auth-page .btn--primary { border-color: #007eaf; background: #007eaf; color: #fff; font-family: inherit; }
.yalo-auth-page .yalo-auth-submit { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 56px; padding: 14px 20px; border-radius: 15px; box-shadow: 0 10px 20px -8px #0089c861; font-size: 18px; font-weight: 700; line-height: 1.35; text-transform: none; }
.yalo-auth-page .btn--primary:hover { border-color: #006994; background: #006994; color: #fff; }
.yalo-auth-page .yalo-auth-submit .yalo-auth-icon { flex: 0 0 20px; width: 20px; height: 20px; }
[dir='rtl'] .yalo-auth-submit .yalo-auth-icon { transform: rotate(180deg); }
.yalo-auth-account-note { display: flex; align-items: flex-start; justify-content: center; gap: 7px; margin: 22px 0 0; color: var(--yalo-auth-muted); font-size: 11px; line-height: 1.6; text-align: center; }
.yalo-auth-account-note .yalo-auth-icon { flex: 0 0 14px; width: 14px; height: 14px; margin-top: 1px; }
.yalo-auth-footer { margin-top: auto; color: var(--yalo-auth-muted); font-size: 12px; text-align: center; }
.yalo-auth-page .auto-fill-data-copy { margin-top: 20px; padding: 15px; border-radius: 14px; background: #eff9fe; }
.yalo-auth-page .modal-content { border: 0; border-radius: 26px; box-shadow: 0 25px 70px #142e4633; }
.yalo-auth-page .modal-content .btn { border-radius: 14px; }
.yalo-auth-page :is(button, a, input):focus-visible { outline: 3px solid #007eaf; outline-offset: 4px; }

@keyframes yalo-auth-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

@media (min-width: 992px) and (max-height: 820px) {
    .yalo-auth-page .main { padding-top: 20px; }
    .yalo-auth-shell { padding-block: 25px; }
    .yalo-auth-hero h2 { font-size: 44px; }
    .yalo-auth-card-inner { padding-block: 28px; }
    .yalo-auth-portal { margin-bottom: 18px; }
    .yalo-auth-intro { margin-bottom: 22px; }
    .yalo-auth-scene { max-width: 460px; }
    .yalo-auth-preview { padding: 16px; }
}

@media (max-width: 991.98px) {
    .yalo-auth-page .main { padding: 24px; }
    .yalo-auth-header { max-width: 540px; }
    .yalo-auth-shell { grid-template-columns: minmax(0, 1fr); gap: 26px; max-width: 480px; padding-block: 32px; }
    .yalo-auth-hero { text-align: center; }
    .yalo-auth-hero h2 { margin-block: 14px 0; font-size: 32px; letter-spacing: -1px; }
    .yalo-auth-hero h2 > span { display: inline; }
    .yalo-auth-hero-copy, .yalo-auth-scene, .yalo-auth-hero-footer { display: none; }
    .yalo-auth-eyebrow { font-size: 11px; }
    .yalo-auth-card-inner { padding: 32px; }
}

@media (max-width: 575.98px) {
    .yalo-auth-page .main { padding: 20px 16px; }
    .yalo-auth-header { gap: 12px; padding-inline: 4px; }
    .yalo-auth-logo { width: 92px; height: 40px; }
    .yalo-auth-header-label { max-width: 170px; font-size: 12px; text-align: end; }
    .yalo-auth-shell { gap: 22px; padding-block: 28px; }
    .yalo-auth-hero h2 { font-size: 27px; }
    .yalo-auth-card { border-radius: 24px; }
    .yalo-auth-card-inner { padding: 28px 22px; }
    .yalo-auth-card h1 { font-size: 26px; }
    .yalo-auth-portal { margin-bottom: 18px; }
    .yalo-auth-intro { margin-bottom: 24px; }
    .yalo-auth-page .form-control { font-size: 16px; }
    .yalo-auth-captcha #reload-captcha > div:first-child { margin-bottom: 8px; }
    .yalo-auth-captcha #reload-captcha > div:last-child { max-width: 240px; }
    .yalo-auth-captcha #reload-captcha input { font-size: 16px; }
    .yalo-auth-page .yalo-auth-submit { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .yalo-auth-page *, .yalo-auth-page *::before, .yalo-auth-page *::after { animation: none !important; transition: none !important; }
}
