body.auth-modal-open {
    overflow: hidden;
}

.auth-modal-root {
    position: fixed;
    inset: 0;
    z-index: 1200;
}

.auth-modal-root[hidden] {
    display: none !important;
}

.auth-modal-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(15, 23, 42, 0.55);
}

.auth-modal-shell {
    position: relative;
    z-index: 1;
    width: min(680px, calc(100% - 2rem));
    margin: 2rem auto;
}

.auth-modal-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.22);
    padding: 1.75rem;
}

.auth-modal-step {
    display: none;
}

.auth-modal-step.is-active {
    display: block;
}

.auth-login-retouch {
    display: grid;
    gap: 1.1rem;
}

.auth-login-retouch-head {
    display: grid;
    justify-items: center;
    gap: 0.65rem;
    text-align: center;
}

.auth-login-retouch-brand {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.auth-login-retouch-title {
    margin: 0;
    font-size: 1.7rem;
    font-weight: 800;
    color: #101828;
}

.auth-login-retouch-subtitle {
    margin: 0;
    color: #667085;
    line-height: 1.8;
    font-size: 0.95rem;
}

.auth-login-retouch-form,
.seller-enable-grid {
    display: grid;
    gap: 0.95rem;
}

.auth-login-retouch-field,
.seller-enable-grid label {
    display: grid;
    gap: 0.45rem;
}

.auth-login-retouch-label,
.seller-enable-grid label>span {
    font-size: 0.92rem;
    font-weight: 700;
    color: #344054;
}

.auth-login-retouch-input,
.seller-enable-grid input {
    width: 100%;
    min-height: 50px;
    border: 1px solid #d0d5dd;
    border-radius: 14px;
    padding: 0.85rem 1rem;
    background: #fff;
    color: #101828;
    font-size: 0.96rem;
}

.auth-login-retouch-input::placeholder,
.seller-enable-grid input::placeholder {
    color: #98a2b3;
}

.auth-login-retouch-input:focus,
.seller-enable-grid input:focus {
    outline: 0;
    border-color: #2f8f6b;
    box-shadow: 0 0 0 4px rgba(47, 143, 107, 0.12);
}

.auth-login-retouch-submit,
.seller-verify-btn,
.auth-social-btn {
    min-height: 50px;
    border: 0;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.auth-login-retouch-submit {
    background: #2f8f6b;
    color: #fff;
}

.auth-login-retouch-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 32px rgba(47, 143, 107, 0.2);
}

.auth-social-btn {
    background: #f5f7fa;
    color: #101828;
}

.auth-helper-note,
.seller-helper-note {
    color: #166534;
    font-size: 0.92rem;
    text-align: center;
}

.auth-helper-error,
.seller-helper-error {
    color: #b42318;
    font-size: 0.92rem;
    text-align: center;
}

.auth-login-retouch-helper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    color: #667085;
    font-size: 0.92rem;
}

.auth-login-retouch-helper button,
.auth-login-retouch-helper .btn-link {
    border: 0;
    padding: 0;
    background: transparent;
    color: #2f8f6b;
    font-weight: 700;
    text-decoration: none;
}

.seller-enable-inline {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0.5rem;
}

.seller-verify-btn {
    background: #eaecf0;
    color: #101828;
}

.seller-enable-status {
    color: #667085;
    font-size: 0.85rem;
}

@media (max-width: 640px) {
    .auth-modal-shell {
        width: calc(100% - 1rem);
        margin: 0.5rem auto;
    }

    .auth-modal-card {
        border-radius: 18px;
        padding: 1.25rem;
    }

    .seller-enable-inline {
        grid-template-columns: 1fr;
    }
}