/* Reserve the exact same space for both spinner & button */
#fbLoginWrapper {
    position: relative;
    display: inline-block;
    width: 280px;
    height: 40px;
}

#fbSpinner .spinner {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    /* space between spinner and “Loading” */
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

#fbSpinner,
#fbLoginBtn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* hide real button until it’s ready */
#fbLoginBtn {
    visibility: hidden;
}

#googleLoginWrapper {
    position: relative;
    display: inline-block;
    width: 280px;
    height: 40px;
}

#googleSpinner,
#googleBtn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

#googleBtn>div {
    width: 100%;
}

/* Google’s brand blue for the spinner background */
#googleSpinner {
    background: #4285f4;
    color: white;
}

#googleSpinner .spinner {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

#socialOptions {
    position: relative;
}

#socialOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99;
    background: transparent;
    cursor: pointer;
}

#tcModal {
    padding-right: 0 !important;
}

#tcModal .tc {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
}

#tcModal .tc input {
    width: 25px;

}

#tcModal .tc p {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 300;
}

.social-btns-info span {
    white-space: normal !important;
    font-size: 8px !important;
    font-weight: 600 !important;
    font-family: "Inter", sans-serif !important;
    color: var(--text-grey) !important;
    font-style: italic !important;
}
