
/* BPP FIREBASE PHONE-FIRST REGISTRATION V1 */
#bpp-phone-register-v1[hidden],
#bpp-register-details-v1[hidden] {
    display: none !important;
}

#bpp-phone-register-v1 {
    margin-bottom: 24px;
}

.bpp-phone-reg-card {
    border: 1px solid rgba(17, 24, 39, .10);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .07);
    overflow: hidden;
}

.bpp-phone-reg-head {
    padding: 22px 22px 16px;
    border-bottom: 1px solid rgba(17, 24, 39, .07);
}

.bpp-phone-reg-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #16803a;
}

.bpp-phone-reg-head h3 {
    margin: 0;
    font-size: clamp(21px, 2vw, 27px);
    line-height: 1.18;
    font-weight: 750;
    color: #111827;
}

.bpp-phone-reg-head p {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.55;
    color: #64748b;
}

.bpp-phone-reg-body {
    padding: 22px;
}

.bpp-phone-field-label {
    display: block;
    margin-bottom: 8px;
    color: #1f2937;
    font-size: 13px;
    font-weight: 700;
}

.bpp-phone-input-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.bpp-phone-input,
.bpp-phone-otp-input {
    width: 100%;
    min-height: 48px;
    border: 1px solid #d9e0e8;
    border-radius: 11px;
    background: #fff;
    color: #111827;
    font: inherit;
    padding: 0 14px;
    outline: 0;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.bpp-phone-input:focus,
.bpp-phone-otp-input:focus {
    border-color: #238636;
    box-shadow: 0 0 0 3px rgba(35, 134, 54, .10);
}

.bpp-phone-action {
    min-height: 48px;
    border: 0;
    border-radius: 11px;
    padding: 0 18px;
    background: #1f7a3d;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: transform .15s ease, opacity .15s ease;
}

.bpp-phone-action:hover {
    transform: translateY(-1px);
}

.bpp-phone-action:disabled {
    cursor: wait;
    opacity: .62;
    transform: none;
}

.bpp-phone-action-secondary {
    background: #eef6f0;
    color: #17652f;
}

.bpp-phone-reg-message {
    display: none;
    margin-top: 12px;
    border-radius: 10px;
    padding: 11px 12px;
    font-size: 13px;
    line-height: 1.45;
}

.bpp-phone-reg-message.is-visible {
    display: block;
}

.bpp-phone-reg-message.is-error {
    background: #fff1f2;
    color: #9f1239;
}

.bpp-phone-reg-message.is-info {
    background: #eff6ff;
    color: #1d4ed8;
}

.bpp-phone-reg-message.is-success {
    background: #ecfdf3;
    color: #166534;
}

.bpp-phone-otp-step {
    display: none;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(17, 24, 39, .08);
}

.bpp-phone-otp-step.is-visible {
    display: block;
}

.bpp-phone-otp-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.bpp-phone-otp-input {
    letter-spacing: .25em;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
}

.bpp-phone-reg-help {
    margin-top: 10px;
    color: #768397;
    font-size: 12px;
    line-height: 1.5;
}

.bpp-phone-verified-banner {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    padding: 13px 14px;
    border: 1px solid #b8e4c5;
    border-radius: 12px;
    background: #f1fbf4;
    color: #166534;
}

.bpp-phone-verified-banner.is-visible {
    display: flex;
}

.bpp-phone-verified-banner strong {
    display: block;
    font-size: 14px;
}

.bpp-phone-verified-banner small {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    opacity: .85;
}

.bpp-phone-change {
    border: 0;
    padding: 7px 10px;
    border-radius: 8px;
    background: #dff4e5;
    color: #166534;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

#bpp-phone-recaptcha-v1 {
    min-height: 1px;
}

@media (max-width: 575.98px) {
    .bpp-phone-reg-head,
    .bpp-phone-reg-body {
        padding-left: 16px;
        padding-right: 16px;
    }

    .bpp-phone-input-row,
    .bpp-phone-otp-row {
        grid-template-columns: 1fr;
    }

    .bpp-phone-action {
        width: 100%;
    }
}
