.core-commerce-identity-lookup {
    box-sizing: border-box;
    width: 100%;
    max-width: 780px;
    margin: clamp(24px, 5vw, 64px) auto;
    padding: 0 clamp(12px, 3vw, 24px);
    color: inherit;
    font: inherit;
}

.core-commerce-identity-lookup *,
.core-commerce-identity-lookup *::before,
.core-commerce-identity-lookup *::after {
    box-sizing: border-box;
}

.core-commerce-identity-lookup .core-commerce-identity-lookup__title {
    margin: 0 0 16px;
    color: inherit;
    font: inherit;
    font-size: clamp(1.7rem, 3vw, 2.15rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.025em;
}

.core-commerce-identity-lookup__intro {
    max-width: 62ch;
    margin: 0 0 30px;
    color: inherit;
    opacity: .8;
    line-height: 1.6;
}

.core-commerce-identity-lookup__form {
    margin: 0;
}

.core-commerce-identity-lookup__field {
    margin-bottom: 20px;
}

.core-commerce-identity-lookup__field label {
    display: block;
    margin-bottom: 9px;
    color: inherit;
    font: inherit;
    font-weight: 650;
    line-height: 1.4;
}

.core-commerce-identity-lookup #core-commerce-yoti-lookup {
    display: block;
    width: 100%;
    min-height: 54px;
    margin: 0;
    padding: 13px 16px;
    border: 1.5px solid rgba(94, 108, 128, .4);
    border-radius: 10px;
    background: var(--wp--preset--color--base, #fff);
    color: inherit;
    font: inherit;
    line-height: 1.4;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.core-commerce-identity-lookup #core-commerce-yoti-lookup::placeholder {
    color: #687385;
    opacity: .9;
}

.core-commerce-identity-lookup #core-commerce-yoti-lookup:focus {
    outline: none;
    border-color: var(--wp--preset--color--primary, #2563eb);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .14);
}

.core-commerce-identity-lookup .core-commerce-turnstile {
    margin: 0 0 20px;
}

.core-commerce-identity-lookup .core-commerce-identity-lookup__button {
    display: inline-flex;
    justify-content: center;
    width: auto;
    min-width: 240px;
    min-height: 52px;
    max-width: 100%;
    margin: 2px 0 0;
    padding: 13px 28px;
    border: 0;
    border-radius: 10px;
    background: var(--wp--preset--color--primary, #1d4ed8);
    color: #fff;
    font: inherit;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(29, 78, 216, .18);
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.core-commerce-identity-lookup .core-commerce-identity-lookup__button:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(29, 78, 216, .22);
    filter: brightness(1.06);
}

.core-commerce-identity-lookup .core-commerce-identity-lookup__button:focus-visible {
    outline: 3px solid var(--wp--preset--color--primary, #1d4ed8);
    outline-offset: 3px;
}

.core-commerce-identity-lookup__alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 24px;
    padding: 14px 16px;
    border: 1px solid #f4b9bf;
    border-left: 4px solid #c82739;
    border-radius: 10px;
    background: #fff5f5;
    color: #80202c;
    font: inherit;
    line-height: 1.5;
}

.core-commerce-identity-lookup__alert p {
    margin: 0;
    color: inherit;
}

.core-commerce-identity-lookup__alert-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    border-radius: 50%;
    background: #c82739;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

@media (max-width: 600px) {
    .core-commerce-identity-lookup .core-commerce-identity-lookup__button {
        width: 100%;
    }
}
