.lkw-customer-login {
    position: relative;
    display: block;
    width: 100%;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.lkw-customer-login * {
    box-sizing: border-box;
}

.lkw-customer-login__trigger,
.lkw-customer-login__account,
.lkw-customer-login__logout button,
.lkw-customer-login__submit {
    appearance: none;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease, opacity .22s ease;
    font: inherit;
}

.lkw-customer-login__trigger {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    padding: .9rem 1.3rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #1f2f74 0%, #2c438f 100%);
    color: #fff;
    box-shadow: 0 16px 38px rgba(31, 47, 116, .22);
    font-weight: 600;
    letter-spacing: .01em;
}

.lkw-customer-login__trigger:hover,
.lkw-customer-login__account:hover,
.lkw-customer-login__logout button:hover,
.lkw-customer-login__submit:hover {
    transform: translateY(-1px);
}

.lkw-customer-login__trigger-icon {
    width: 1.2rem;
    height: 1.2rem;
    display: inline-block;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 38%, #fff 0 20%, transparent 22%),
        radial-gradient(circle at 50% 98%, rgba(255,255,255,.98) 0 34%, transparent 36%);
}

.lkw-customer-login__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 16, 38, .52);
    backdrop-filter: blur(6px);
    z-index: 9998;
}

.lkw-customer-login__dialog {
    position: fixed;
    inset: 50% auto auto 50%;
    width: min(1040px, calc(100vw - 2rem));
    transform: translate(-50%, -50%);
    border-radius: 28px;
    overflow: hidden;
    z-index: 9999;
    box-shadow: 0 30px 90px rgba(15, 23, 66, .28);
    background: #fff;
}

.lkw-customer-login__panel {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    min-height: 620px;
}

.lkw-customer-login__brand {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, .24), transparent 28%),
        linear-gradient(145deg, #20317a 0%, #18265f 100%);
    color: #fff;
    padding: clamp(2rem, 3vw, 3.4rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lkw-customer-login__eyebrow,
.lkw-customer-login__badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: .45rem .8rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.lkw-customer-login__eyebrow {
    background: rgba(255, 255, 255, .14);
    color: rgba(255,255,255,.92);
    margin-bottom: 1rem;
}

.lkw-customer-login__brand h3 {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 4vw, 3.15rem);
    line-height: 1.04;
    color: #fff;
}

.lkw-customer-login__brand p {
    margin: 0;
    max-width: 32rem;
    font-size: 1.02rem;
    line-height: 1.8;
    color: rgba(255,255,255,.88);
}

.lkw-customer-login__features {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    display: grid;
    gap: .9rem;
}

.lkw-customer-login__features li {
    position: relative;
    padding-left: 1.6rem;
    color: rgba(255,255,255,.94);
}

.lkw-customer-login__features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .48rem;
    width: .7rem;
    height: .7rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff7fb0 0%, #ff9ec2 100%);
    box-shadow: 0 0 0 .22rem rgba(255, 126, 176, .18);
}

.lkw-customer-login__formwrap {
    background: linear-gradient(180deg, #fbfbfe 0%, #f4f6fb 100%);
    padding: clamp(2rem, 3vw, 3.4rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lkw-customer-login__badge {
    background: rgba(32, 49, 122, .08);
    color: #20317a;
    margin-bottom: 1rem;
}

.lkw-customer-login__formwrap h2 {
    margin: 0;
    color: #1b2554;
    font-size: clamp(1.9rem, 3vw, 2.55rem);
    line-height: 1.08;
}

.lkw-customer-login__subtitle {
    margin: .95rem 0 0;
    color: #5d6483;
    line-height: 1.75;
}

.lkw-customer-login__alert {
    display: grid;
    gap: .35rem;
    margin-top: 1rem;
    padding: .95rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(220, 75, 75, .16);
    background: linear-gradient(180deg, #fff7f8 0%, #fff1f3 100%);
    color: #7a1531;
}

.lkw-customer-login__alert strong {
    color: #a61b45;
}

.lkw-customer-login__form {
    margin-top: 1.8rem;
    display: grid;
    gap: 1rem;
}

.lkw-customer-login__field label {
    display: block;
    margin-bottom: .5rem;
    color: #22305e;
    font-size: .96rem;
    font-weight: 600;
}

.lkw-customer-login__field input {
    width: 100%;
    border: 1px solid #dde3f1;
    border-radius: 18px;
    padding: .95rem 1rem;
    background: #fff;
    color: #1e253f;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}

.lkw-customer-login__field input:focus {
    outline: 0;
    border-color: #506ad0;
    box-shadow: 0 0 0 .22rem rgba(80, 106, 208, .12);
}

.lkw-customer-login__remember {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    color: #5c6484;
    font-size: .95rem;
}

.lkw-customer-login__submit {
    margin-top: .35rem;
    padding: 1rem 1.2rem;
    border-radius: 18px;
    background: linear-gradient(135deg, #20317a 0%, #2f4fb4 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 16px 30px rgba(37, 58, 138, .18);
}

.lkw-customer-login__links {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem 1.2rem;
    margin-top: .2rem;
}

.lkw-customer-login__links a {
    color: #2f4fb4;
    text-decoration: none;
    font-weight: 600;
}

.lkw-customer-login__links a:hover {
    text-decoration: underline;
}

.lkw-customer-login__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    width: 2.85rem;
    height: 2.85rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 1.65rem;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.lkw-customer-login__loggedin {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    padding: .35rem .45rem .35rem .7rem;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fd 100%);
    border: 1px solid rgba(31, 47, 116, .08);
    box-shadow: 0 8px 18px rgba(28, 39, 92, .05);
}

.lkw-customer-login__loggedin-copy {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
}

.lkw-customer-login__loggedin-copy strong {
    display: block;
    color: #1f2f74;
    font-size: .88rem;
    line-height: 1.15;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lkw-customer-login__loggedin-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: .4rem;
    flex: 0 0 auto;
}

.lkw-customer-login__account,
.lkw-customer-login__logout button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: .55rem .88rem;
    border-radius: 999px;
    font-size: .88rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.lkw-customer-login__account {
    background: linear-gradient(135deg, #1f2f74 0%, #2c438f 100%);
    color: #fff;
}

.lkw-customer-login__logout {
    margin: 0;
}

.lkw-customer-login__logout button {
    background: #eef2fb;
    color: #233370;
}


.lkw-customer-login__mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0;
    padding: 14px 18px;
    border: 1px solid rgba(31, 47, 116, .14);
    border-radius: 999px;
    background: linear-gradient(135deg, #1f2f74 0%, #2c438f 100%);
    color: #fff;
    box-shadow: none;
    font: inherit;
    font-weight: 600;
    line-height: 1.2;
    position: relative;
    z-index: 9999;
    vertical-align: top;
    white-space: nowrap;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.lkw-customer-login__mobile-toggle:focus,
.lkw-customer-login__mobile-toggle:active {
    outline: none;
    box-shadow: none;
}

.lkw-customer-login__mobile-toggle:focus-visible {
    outline: none;
    box-shadow: 0 0 0 .16rem rgba(80, 106, 208, .14);
}

.lkw-customer-login__mobile-toggle-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    display: inline-block;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 34%, #fff 0 18%, transparent 20%),
        radial-gradient(circle at 50% 100%, rgba(255,255,255,.98) 0 33%, transparent 35%);
}

.lkw-customer-login__mobile-toggle-text {
    display: block;
    line-height: 1.2;
}

.lkw-customer-login__mobile-meta {
    display: none;
}

@media (max-width: 900px) {
    .lkw-customer-login__dialog {
        width: min(100vw - 1rem, 760px);
    }

    .lkw-customer-login__panel {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .lkw-customer-login__brand {
        padding-bottom: 1.4rem;
    }
}

@media (max-width: 880px), (hover: none) and (pointer: coarse) and (max-width: 1366px) {
    .lkw-customer-login {
        width: auto;
    }

    .lkw-customer-login__loggedin {
        position: relative;
        z-index: 9999;
        width: auto;
        min-height: 0;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        overflow: visible;
    }

    .lkw-customer-login__loggedin-copy {
        display: none;
    }

    .lkw-customer-login__mobile-toggle {
        display: inline-flex;
    }

    .lkw-customer-login__loggedin-actions {
        position: absolute;
        top: calc(100% + .3rem);
        right: 0;
        z-index: 10000;
        display: none;
        min-width: min(220px, calc(100vw - 1.25rem));
        padding: .5rem;
        border-radius: 16px;
        border: 1px solid rgba(31, 47, 116, .10);
        background: linear-gradient(180deg, #ffffff 0%, #f8f9fd 100%);
        box-shadow: 0 14px 28px rgba(28, 39, 92, .12);
        align-items: stretch;
        justify-content: stretch;
        flex-direction: column;
        gap: .45rem;
    }

    .lkw-customer-login__loggedin.is-open .lkw-customer-login__loggedin-actions {
        display: flex;
    }

    .lkw-customer-login__mobile-meta {
        display: block;
        padding: .2rem .25rem .45rem;
        margin-bottom: .1rem;
        border-bottom: 1px solid rgba(31, 47, 116, .08);
    }

    .lkw-customer-login__mobile-meta strong {
        display: block;
        color: #1f2f74;
        font-size: .78rem;
        line-height: 1.3;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .lkw-customer-login__account,
    .lkw-customer-login__logout,
    .lkw-customer-login__logout button {
        width: 100%;
    }

    .lkw-customer-login__account,
    .lkw-customer-login__logout button {
        min-height: 34px;
        padding: .55rem .75rem;
        font-size: .79rem;
    }

    .lkw-customer-login__formwrap,
    .lkw-customer-login__brand {
        padding: 1.35rem;
    }
}

@media (max-width: 1360px) {
    .lkw-customer-login__loggedin {
        padding: .3rem .38rem .3rem .58rem;
        gap: .45rem;
    }

    .lkw-customer-login__loggedin-copy strong {
        font-size: .8rem;
    }

    .lkw-customer-login__loggedin-actions {
        gap: .35rem;
    }

    .lkw-customer-login__account,
    .lkw-customer-login__logout button {
        min-height: 32px;
        padding: .5rem .74rem;
        font-size: .82rem;
    }
}


@media (max-width: 880px) {
    .lkw-customer-login__mobile-toggle,
    .lkw-customer-login__trigger {
        position: relative;
        z-index: 9999;
        display: inline-flex;
        gap: 9px;
        margin: 0 0 6px;
        padding: 10px 15px;
        font-size: 0.94rem;
        line-height: 1.15;
        vertical-align: top;
    }

    .lkw-customer-login__trigger {
        box-shadow: 0 10px 22px rgba(31, 47, 116, .16);
    }

    .lkw-customer-login__trigger-icon {
        width: 15px;
        height: 15px;
    }
}

@media (max-width: 560px) {
    .lkw-customer-login__mobile-toggle,
    .lkw-customer-login__trigger {
        gap: 8px;
        margin-bottom: 14px;
        padding: 9px 13px;
        font-size: .9rem;
    }

    .lkw-customer-login__trigger-icon {
        width: 14px;
        height: 14px;
    }
}

