/*Mobile first*/
.bloop_h0,
.bloop_h1,
.bloop_h2 {
    font-family: inherit;
    text-align: center;
    font-style: normal;
    font-weight: 600;
    word-break: break-word;
}

.bloop_h0 {
    font-size: 4rem;
}

.bloop_h1 {
    font-size: 3rem;
}

.bloop_h2 {
    font-size: 2rem;
}

.bloop__image {
    display: none;
}

.bloop__referral {
    display: flex;
    text-align: center;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.bloop__referral > div {
    width: 100%;
}

.bloop__referral bloop-main {
    width: 100%;
}

.bloop__referral--header {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bloop__referral--header-share {
    display: none;
}

bloop-button,
bloop-button-3603{
    width: 100%;
    padding: 12px 24px;
    height: 48px;
    text-align: center;
    background-color: var(--bb-page-primary-color);
    border: none;
    outline: none;
    color: #FFFFFF;
    font-size: 16px;
    line-height: 20px;
    cursor: pointer;
    display: flex;
        justify-content: center;
        align-items: center;
}

bloop-button:hover,
bloop-button-3603:hover {
    background-image: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3));
}

bloop-button:active,
bloop-button-3603:active {
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
}

bloop-button.bl-loading,
bloop-button-3603.bl-loading {
    background-color: #807D87 !important;
}

bloop-button.bl-loading svg,
bloop-button-3603.loading svg {
    animation: bb-spinner 1s linear infinite;
}

bloop-block-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

bloop-block-email:not([init]) {
    display: flex;
    position: fixed;
    height: 100%;
    width: 100vw;
    z-index: 99999999;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0, 0.3);
    overflow-x: hidden;
    justify-content: center;
    align-items: center;
}

.bloop__referral-email {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 auto;
    text-align: center;
    background-color: white;
    padding: 24px;
    width: 500px;
    max-width: 90%;
    border-radius: 2px;
    box-shadow:
            0 0 5px 0 rgba(0, 0, 0, 0.5),
            0 1px 15px 0 rgba(0, 0, 0, 0.2);
    animation: scalePopup 0.2s ease-in-out;
}

bloop-block-email textarea {
    padding: 12px 8px 12px 12px;
    width: 100%;
    border: 1px solid #616161;
    resize: none;
}

@keyframes scalePopup {
    from {
        transform: scale(0.5);
    }
    to {
        transform: scale(1);
    }
}

.bloop__referral-close {
    position: absolute;
    top: 12px;
    right: 12px;
    cursor: pointer;
}

.bloop__referral-close svg {
    width: 16px;
    height: 16px;
}

bloop-block-email textarea:focus-visible {
    outline-offset: unset;
    box-shadow: none;
    border: 1px solid transparent;
    outline: 2px solid #616161;
}

bloop-block-email .bloop-email-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.error {
    display: block;
    color: #ff5454;
    text-align: center;
    width: 100%;
}

.success {
    display: block;
    color: #006400;
    text-align: center;
    width: 100%;
}

bloop-block-code {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bloop__referral--code {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 44px;
}

.bloop__referral--code input:focus-visible {
    outline: none;
    border: 1px solid #616161;
}

.bloop__referral--social {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4px;
}

.bloop__referral--social bloop-social-item {
    cursor: pointer;
}

bloop-block-code input {
    height: 44px;
    flex: 1;
}

bloop-block-code bloop-button[type="copy"] {
    display: flex;
    width: 44px;
    height: 44px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: unset;
}

bloop-main input {
    width: 100%;
    outline: none;
    display: flex;
    color: var(--bb-page-text-color);
    padding: 12px 8px 12px 12px;
    border: 1px solid #616161;
}

bloop-main input::placeholder,
bloop-main input::-ms-input-placeholder {
    color: #616161 !important;
    opacity: 1;
}

bloop-main input:focus-visible {
    outline-offset: unset;
    box-shadow: none;
    border: 1px solid transparent;
    outline: 2px solid #000000;
}


.bloop__referral--footer {
    text-align: center;
    color: var(--bb-page-primary-color);
    padding: 8px 20px;
    font-size: 18px;
    font-weight: 600;
    line-height: 20px;
    background-color: #E8ECFF;
    width: max-content !important;
    margin: 0 auto;
}

/*Desktop*/
@media only screen and (min-width: 750px) {
    .bloop_h0 {
        font-size: 5.2rem;
    }
    .bloop_h1 {
        font-size: 4rem;
    }
    .bloop_h2 {
        font-size: 2.4rem;
    }
    .bloop__referral {
        padding: 0 40px;
    }
    .bloop__referral--main {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .bloop__image {
        width: 50%;
        display: flex;
    }
    .bloop__image img {
        width: 100%;
    }

    .bloop__subHeading--content,
    .bloop-email-form label,
    bloop-block-email textarea,
    bloop-main input {
        font-size: 16px;
    }
}

.bloop__referral--share-code {
    display: none;
}

.share-code-dropdown {
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    width: 100%;
}

.share-code-dropdown.isOpen {
    max-height: 80px;
    opacity: 1;
    margin-top: 8px;
}

.share-code-label {
    width: 100%;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: start;
    cursor: pointer;
}

.share-code-label span {
    color: #00527C !important;
}

.share-code-label>span:last-child {
    transform: tran;
    margin-left: 8px;
    transform: translateY(-1px);
}
/*keyframes*/
@keyframes bb-spinner {
    100% {
        transform: rotate(1turn);
    }
}