.fkl-auth-root {
    --fkl-navy: #0A4A78;
    --fkl-navy-d: #052E4E;
    --fkl-orange: #F5A623;
    --fkl-orange-d: #D98D0C;
    --fkl-ink: #16202B;
    --fkl-mute: #6B7C8C;
    --fkl-line: #DCE5EC;
    --fkl-steel: #F2F6FA;
    --fkl-green: #2E7D5B;
    --fkl-green-l: #EAF6F0;
    --fkl-red: #A93226;
    --fkl-red-l: #FDECEA;
}

.fkl-auth-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(8, 32, 54, .45);
    display: grid;
    place-items: center;
    padding: 20px;
}

.fkl-auth-overlay[hidden] {
    display: none
}

.fkl-auth-modal {
    width: 100%;
    max-width: 390px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(8, 32, 54, .22);
    padding: 28px 28px 24px;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--fkl-ink);
    line-height: 1.5;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

.fkl-auth-modal * {
    box-sizing: border-box
}

.fkl-auth-modal a {
    color: var(--fkl-navy);
    text-decoration: underline;
    font-size: 10px;
}

.fkl-auth-x {
    position: absolute;
    right: 14px;
    top: 14px;
    width: 30px;
    height: 30px;
    border: 0;
    background: none;
    color: #9BAAB8;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    border-radius: 7px;
}

.fkl-auth-x:hover {
    background: var(--fkl-steel);
    color: var(--fkl-ink)
}

.fkl-auth-mstep {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--fkl-orange)
}

.fkl-auth-modal h3 {
    font-size: 21px;
    font-weight: 800;
    line-height: 1.25;
    margin: 9px 0 0;
    letter-spacing: -.02em
}

.fkl-auth-md {
    font-size: 13.5px;
    color: var(--fkl-mute);
    margin-top: 9px;
    line-height: 1.6
}

.fkl-auth-md b {
    color: var(--fkl-ink)
}

.fkl-auth-fld {
    margin-top: 18px
}

.fkl-hp-wrap {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden
}

.fkl-auth-fld label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: #46565F;
    margin-bottom: 7px
}

.fkl-auth-fld input {
    width: 100%;
    height: 50px;
    border: 1.5px solid var(--fkl-line);
    border-radius: 9px;
    padding: 0 15px;
    font-size: 17px;
    font-family: inherit;
    outline: 0;
    letter-spacing: .02em;
}

.fkl-auth-fld input:focus {
    border-color: var(--fkl-navy)
}

.fkl-auth-big {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: .04em
}

.fkl-auth-mbtn {
    width: 100%;
    height: 50px;
    margin-top: 16px;
    border: 0;
    border-radius: 9px;
    background: var(--fkl-orange);
    color: var(--fkl-navy-d);
    font-weight: 800;
    font-size: 15.5px;
    cursor: pointer;
}

.fkl-auth-mbtn:hover {
    background: var(--fkl-orange-d)
}

.fkl-auth-mbtn:disabled {
    opacity: .55;
    cursor: default
}

.fkl-auth-mbtn.fkl-auth-ghost {
    background: #fff;
    border: 1.5px solid var(--fkl-line);
    color: var(--fkl-ink);
    font-weight: 700;
    font-size: 14.5px;
    height: 46px
}

.fkl-auth-mbtn.fkl-auth-ghost:hover {
    border-color: var(--fkl-navy);
    color: var(--fkl-navy)
}

.fkl-auth-mnote {
    font-size: 11.5px;
    color: var(--fkl-mute);
    line-height: 1.55;
    margin-top: 13px
}

.fkl-auth-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 15px;
    font-size: 12px;
    color: var(--fkl-mute);
    line-height: 1.55;
    cursor: pointer;
}

.fkl-auth-consent input {
    width: 17px;
    height: 17px;
    accent-color: var(--fkl-navy);
    margin-top: 1px;
    flex-shrink: 0
}

.fkl-auth-err {
    margin-top: 10px;
    font-size: 13px;
    color: var(--fkl-red)
}

.fkl-auth-code {
    display: grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px
}

.fkl-auth-code input {
    width: 100%;
    min-width: 0;
    height: 60px;
    border: 1.5px solid var(--fkl-line);
    border-radius: 9px;
    text-align: center;
    font-size: 25px;
    font-weight: 800;
    font-family: inherit;
    outline: 0;
}

.fkl-auth-code input:focus {
    border-color: var(--fkl-navy);
    box-shadow: 0 0 0 3px rgba(10, 74, 120, .1)
}

.fkl-auth-code.fkl-auth-err-state input {
    border-color: var(--fkl-red);
    background: var(--fkl-red-l)
}

.fkl-auth-errmsg {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 12px;
    font-size: 13px;
    color: var(--fkl-red);
    line-height: 1.5
}

.fkl-auth-timer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    font-size: 13px;
    color: var(--fkl-mute)
}

.fkl-auth-again {
    color: #B7C3CE
}

.fkl-auth-again.fkl-auth-on {
    color: var(--fkl-navy);
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline
}

.fkl-auth-callme {
    margin-top: 14px;
    padding: 13px 15px;
    background: var(--fkl-steel);
    border-radius: 9px;
    font-size: 12.5px;
    color: #46565F;
    line-height: 1.55
}

.fkl-auth-callme b {
    display: block;
    color: var(--fkl-ink);
    font-size: 13.5px;
    margin-bottom: 4px
}

.fkl-auth-who {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 9px;
    margin-top: 9px
}

.fkl-auth-w {
    border: 1.5px solid var(--fkl-line);
    border-radius: 9px;
    padding: 13px 14px;
    cursor: pointer;
    background: #fff
}

.fkl-auth-w.fkl-auth-w-sel {
    border-color: var(--fkl-navy);
    box-shadow: inset 0 0 0 1px var(--fkl-navy)
}

.fkl-auth-wt {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25
}

.fkl-auth-wd {
    font-size: 11.5px;
    color: var(--fkl-mute);
    margin-top: 4px;
    line-height: 1.4
}

.fkl-auth-okic {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--fkl-green-l);
    display: grid;
    place-items: center;
    margin: 4px auto 16px
}

.fkl-auth-mok {
    text-align: center
}

.fkl-auth-mok h3 {
    margin-top: 0
}

.fkl-auth-mok .fkl-auth-md {
    margin-left: auto;
    margin-right: auto;
    max-width: 290px
}

.fkl-auth-tabs {
    display: flex;
    gap: 4px;
    margin-top: 16px;
    padding: 4px;
    background: var(--fkl-steel, #F2F6FA);
    border-radius: 10px
}

.fkl-auth-tab {
    flex: 1;
    height: 38px;
    border: 0;
    border-radius: 7px;
    background: none;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--fkl-mute, #6B7C8C);
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    line-height: 38px
}

.fkl-auth-modal a.fkl-auth-tab {
    font-size: 13.5px;
    color: var(--fkl-mute, #6B7C8C);
    text-decoration: none
}

.fkl-auth-tab.fkl-auth-tab-on,
.fkl-auth-modal a.fkl-auth-tab.fkl-auth-tab-on {
    background: #fff;
    color: var(--fkl-navy, #0A4A78);
    box-shadow: 0 1px 3px rgba(8, 32, 54, .14)
}

.fkl-auth-links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 14px
}

.fkl-auth-modal .fkl-auth-links a {
    font-size: 13px;
    font-weight: 600
}

@media (max-width: 480px) {
    .fkl-auth-overlay {
        padding: 0;
        align-items: flex-end
    }

    .fkl-auth-modal {
        max-width: none;
        border-radius: 14px 14px 0 0
    }
}
