.b2bpa-body-locked {
    overflow: hidden;
}

.b2bpa-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(4px);
}

.b2bpa-modal {
    width: 100%;
    max-width: 460px;
    border-radius: 18px;
    background: #ffffff;
    padding: 30px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
    font-family: inherit;
    text-align: center;
}

.b2bpa-lock {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #f1f5f9;
    font-size: 25px;
}

.b2bpa-modal h2 {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.25;
    color: #0f172a;
}

.b2bpa-intro {
    margin: 0 0 22px;
    color: #475569;
    font-size: 15px;
}

.b2bpa-form {
    text-align: left;
}

.b2bpa-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #0f172a;
}

.b2bpa-form input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 13px 14px;
    font-size: 16px;
    outline: none;
}

.b2bpa-form input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.b2bpa-form button {
    width: 100%;
    margin-top: 14px;
    border: 0;
    border-radius: 10px;
    padding: 14px 16px;
    background: #0f172a;
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
}

.b2bpa-form button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.b2bpa-message {
    min-height: 22px;
    margin-top: 14px;
    font-size: 14px;
    text-align: center;
}

.b2bpa-message.error {
    color: #b91c1c;
}

.b2bpa-message.success {
    color: #15803d;
}

.b2bpa-help {
    margin: 16px 0 0;
    font-size: 14px;
    color: #64748b;
}

.b2bpa-help a {
    color: #0f172a;
    font-weight: 700;
    text-decoration: underline;
}

.b2bpa-login-required {
    display: inline-block;
    font-weight: 600;
    color: #334155;
}

@media (max-width: 480px) {
    .b2bpa-modal {
        padding: 24px 18px;
        border-radius: 14px;
    }

    .b2bpa-modal h2 {
        font-size: 21px;
    }
}
