/* BPP_FIREBASE_PHONE_PHASE3C_LOGIN_UI_V1 */
#bpp-phone-login-v1[hidden],
.bpp-phone-login-v1-tabs[hidden] {
    display: none !important;
}

.bpp-phone-login-v1-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 5px;
    margin: 0 0 18px;
    border: 1px solid rgba(15, 109, 73, .14);
    border-radius: 16px;
    background: #f3f8f5;
}

.bpp-phone-login-v1-tab {
    min-height: 46px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #385148;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

.bpp-phone-login-v1-tab.is-active {
    background: #078b4f;
    color: #fff;
    box-shadow: 0 8px 22px rgba(7, 139, 79, .18);
}

#bpp-phone-login-v1 {
    margin-top: 0;
}

.bpp-phone-login-v1-card {
    border: 1px solid rgba(15, 109, 73, .13);
    border-radius: 18px;
    background: #fff;
    padding: 20px;
}

.bpp-phone-login-v1-head {
    margin-bottom: 16px;
}

.bpp-phone-login-v1-title {
    margin: 0 0 5px;
    color: #143d2f;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 800;
}

.bpp-phone-login-v1-subtitle {
    margin: 0;
    color: #6b7f77;
    font-size: 14px;
    line-height: 1.55;
}

.bpp-phone-login-v1-label {
    display: block;
    margin: 0 0 7px;
    color: #253d35;
    font-size: 14px;
    font-weight: 700;
}

.bpp-phone-login-v1-phone {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: stretch;
    min-height: 52px;
    border: 1px solid #d7e4de;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.bpp-phone-login-v1-prefix {
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    border-right: 1px solid #e1ebe6;
    background: #f7faf8;
    color: #1b513e;
    font-weight: 800;
    white-space: nowrap;
}

.bpp-phone-login-v1-input {
    width: 100%;
    min-width: 0;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 14px !important;
    color: #17392e !important;
    font: inherit;
}

.bpp-phone-login-v1-input::placeholder {
    color: #9aa9a3;
}

.bpp-phone-login-v1-field + .bpp-phone-login-v1-field {
    margin-top: 14px;
}

.bpp-phone-login-v1-otp {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 9px;
}

.bpp-phone-login-v1-otp .bpp-phone-login-v1-input {
    min-height: 52px;
    border: 1px solid #d7e4de !important;
    border-radius: 12px;
    text-align: center;
    letter-spacing: .22em;
    font-size: 19px;
    font-weight: 800;
}

.bpp-phone-login-v1-resend {
    border: 1px solid #d7e4de;
    border-radius: 12px;
    background: #fff;
    padding: 0 14px;
    color: #087d49;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
}

.bpp-phone-login-v1-actions {
    margin-top: 16px;
}

.bpp-phone-login-v1-primary {
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 12px;
    background: #078b4f;
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(7, 139, 79, .16);
}

.bpp-phone-login-v1-primary:hover {
    background: #067d47;
}

.bpp-phone-login-v1-primary:disabled,
.bpp-phone-login-v1-resend:disabled {
    cursor: not-allowed;
    opacity: .58;
}

.bpp-phone-login-v1-remember {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 14px;
    color: #51665e;
    font-size: 14px;
}

.bpp-phone-login-v1-remember input {
    width: 17px;
    height: 17px;
    accent-color: #078b4f;
}

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

.bpp-phone-login-v1-status.is-visible {
    display: block;
}

.bpp-phone-login-v1-status.is-info {
    background: #eef7f3;
    color: #245846;
}

.bpp-phone-login-v1-status.is-error {
    background: #fff1f1;
    color: #a92d2d;
}

.bpp-phone-login-v1-status.is-success {
    background: #edf9f0;
    color: #176b36;
}

.bpp-phone-login-v1-links {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-top: 16px;
    font-size: 13px;
}

.bpp-phone-login-v1-links a {
    color: #087d49;
    text-decoration: underline;
    text-underline-offset: 2px;
}

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

@media (max-width: 575px) {
    .bpp-phone-login-v1-tabs {
        margin-bottom: 14px;
        border-radius: 14px;
    }

    .bpp-phone-login-v1-tab {
        min-height: 44px;
        border-radius: 10px;
        font-size: 14px;
    }

    .bpp-phone-login-v1-card {
        padding: 16px;
        border-radius: 16px;
    }

    .bpp-phone-login-v1-title {
        font-size: 18px;
    }

    .bpp-phone-login-v1-phone,
    .bpp-phone-login-v1-primary {
        min-height: 50px;
    }

    .bpp-phone-login-v1-otp {
        grid-template-columns: 1fr;
    }

    .bpp-phone-login-v1-resend {
        min-height: 44px;
    }
}
