.bcbc-auth-flex {
    display: flex;
    justify-items: stretch;
    gap: 1rem;
}
.bcbc-auth-flex-grow {
    flex: 1;
}
.bcbc-auth-iam-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 0px;
    height: 0px;
    opacity: 0;
    overflow: hidden;
    z-index: 1;
}
.bcbc-auth-popup {
    display: none;
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
}
.bcbc-auth-popup .bcbc-auth-content {
    position: absolute;
    width: 400px;
    padding: 1rem;
    left: calc(50% - 200px);
    top: clamp(50px, calc(30% - 200px), 100vh);
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 0 19px -10px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    transition: all ease-in-out 0.25s;
}
.bcbc-auth-popup .bcbc-auth-content .bcbc-auth-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2)
        url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAKQ2lDQ1BJQ0MgcHJvZmlsZQAAeNqdU3dYk/cWPt/3ZQ9WQtjwsZdsgQAiI6wIyBBZohCSAGGEEBJAxYWIClYUFRGcSFXEgtUKSJ2I4qAouGdBiohai1VcOO4f3Ke1fXrv7e371/u855zn/M55zw+AERImkeaiagA5UoU8Otgfj09IxMm9gAIVSOAEIBDmy8JnBcUAAPADeXh+dLA//AGvbwACAHDVLiQSx+H/g7pQJlcAIJEA4CIS5wsBkFIAyC5UyBQAyBgAsFOzZAoAlAAAbHl8QiIAqg0A7PRJPgUA2KmT3BcA2KIcqQgAjQEAmShHJAJAuwBgVYFSLALAwgCgrEAiLgTArgGAWbYyRwKAvQUAdo5YkA9AYACAmUIszAAgOAIAQx4TzQMgTAOgMNK/4KlfcIW4SAEAwMuVzZdL0jMUuJXQGnfy8ODiIeLCbLF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JkyJAhQ4YMGTJkyHZeevI4Nof5V8c3AAAAAElFTkSuQmCC');
    z-index: 1;
    border-radius: 0.5rem;
    display: none;
    transition: all ease-in-out 0.25s;
}
.bcbc-auth-popup .bcbc-auth-content .bcbc-auth-loading > div {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.bcbc-auth-popup .bcbc-auth-content .bcbc-auth-loading > div > div {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.bcbc-auth-popup .bcbc-auth-content .bcbc-auth-loading > div > div > div {
    animation: bcbc-auth-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    transform-origin: 40px 40px;
}
.bcbc-auth-popup .bcbc-auth-content .bcbc-auth-loading > div > div > div:after {
    content: ' ';
    display: block;
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #8a56fd;
    margin: -4px 0 0 -4px;
}
.bcbc-auth-popup .bcbc-auth-content .bcbc-auth-loading > div > div > div:nth-child(1) {
    animation-delay: -0.036s;
}
.bcbc-auth-popup .bcbc-auth-content .bcbc-auth-loading > div > div > div:nth-child(1):after {
    top: 63px;
    left: 63px;
}
.bcbc-auth-popup .bcbc-auth-content .bcbc-auth-loading > div > div > div:nth-child(2) {
    animation-delay: -0.072s;
}
.bcbc-auth-popup .bcbc-auth-content .bcbc-auth-loading > div > div > div:nth-child(2):after {
    top: 68px;
    left: 56px;
}
.bcbc-auth-popup .bcbc-auth-content .bcbc-auth-loading > div > div > div:nth-child(3) {
    animation-delay: -0.108s;
}
.bcbc-auth-popup .bcbc-auth-content .bcbc-auth-loading > div > div > div:nth-child(3):after {
    top: 71px;
    left: 48px;
}
.bcbc-auth-popup .bcbc-auth-content .bcbc-auth-loading > div > div > div:nth-child(4) {
    animation-delay: -0.144s;
}
.bcbc-auth-popup .bcbc-auth-content .bcbc-auth-loading > div > div > div:nth-child(4):after {
    top: 72px;
    left: 40px;
}
.bcbc-auth-popup .bcbc-auth-content .bcbc-auth-loading > div > div > div:nth-child(5) {
    animation-delay: -0.18s;
}
.bcbc-auth-popup .bcbc-auth-content .bcbc-auth-loading > div > div > div:nth-child(5):after {
    top: 71px;
    left: 32px;
}
.bcbc-auth-popup .bcbc-auth-content .bcbc-auth-loading > div > div > div:nth-child(6) {
    animation-delay: -0.216s;
}
.bcbc-auth-popup .bcbc-auth-content .bcbc-auth-loading > div > div > div:nth-child(6):after {
    top: 68px;
    left: 24px;
}
.bcbc-auth-popup .bcbc-auth-content .bcbc-auth-loading > div > div > div:nth-child(7) {
    animation-delay: -0.252s;
}
.bcbc-auth-popup .bcbc-auth-content .bcbc-auth-loading > div > div > div:nth-child(7):after {
    top: 63px;
    left: 17px;
}
.bcbc-auth-popup .bcbc-auth-content .bcbc-auth-loading > div > div > div:nth-child(8) {
    animation-delay: -0.288s;
}
.bcbc-auth-popup .bcbc-auth-content .bcbc-auth-loading > div > div > div:nth-child(8):after {
    top: 56px;
    left: 12px;
}

@keyframes bcbc-auth-roller {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.bcbc-auth-popup .bcbc-auth-content .bcbc-auth-header {
    display: flex;
    justify-content: space-between;
}
.bcbc-auth-popup .bcbc-auth-content .bcbc-auth-header img {
    width: 100px;
}

/* ----- HEADER BUTTONS ----- */
.bcbc-auth-popup .bcbc-auth-header > div {
    display: flex;
    align-items: center;
}

.bcbc-auth-popup .bcbc-auth-header .bcbc-auth-close-button {
    background-color: #f55e5e;
    color: #fff;
    border: 1px solid #f55e5e;
    border-radius: 50%;
    transition: all ease-in-out 0.3s;
    width: 28px;
    height: 28px;
    margin-left: 0.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.bcbc-auth-popup .bcbc-auth-header .bcbc-auth-close-button:hover {
    background-color: #d42424;
    color: #fff;
    cursor: pointer;
}

.bcbc-auth-popup .bcbc-auth-content h2 {
    font-size: 18px;
    margin-top: 1rem;
    padding-top: 1rem;
    text-align: center;
    border-top: 1px solid #ccc;
    position: relative;
}

.bcbc-auth-popup .bcbc-auth-content h2 > a {
    position: absolute;
    top: 18px;
    right: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 12px;
    height: 20px;
}
.bcbc-auth-popup .bcbc-auth-content h2 > a > i {
    font-size: 20px;
    margin-right: 0.25rem;
}

.bcbc-auth-popup .bcbc-auth-content .bcbc-auth-errors {
    border-radius: 0.5rem;
    padding: 0.25rem 0.5rem;
    text-align: center;
    line-height: 20px;
    font-size: 14px;
    margin-bottom: 1rem;
    display: none;
}
.bcbc-auth-popup .bcbc-auth-content .bcbc-auth-errors.error {
    background: #fdf1f1;
    color: #ff0000;
}
.bcbc-auth-popup .bcbc-auth-content .bcbc-auth-errors.warning {
    background: #fdf9f1;
    color: #ff7b00;
}
.bcbc-auth-popup .bcbc-auth-content .bcbc-auth-errors.info {
    background: #f1f5fd;
    color: #008df5;
}
.bcbc-auth-popup .bcbc-auth-content .bcbc-auth-errors.success {
    background: #ecf9ef;
    color: #49b34d;
}
.bcbc-auth-popup .bcbc-auth-content .bcbc-auth-signin {
    flex: 1;
}

.bcbc-auth-popup .bcbc-auth-content form {
    display: flex;
    flex-direction: column;
    position: relative;
}

.bcbc-auth-popup .bcbc-auth-content .bcbc-auth-qrcode-area {
    display: none;
    position: relative;
}

.bcbc-auth-popup .bcbc-auth-content form > div:last-of-type {
    flex: 1;
}

.bcbc-auth-popup .bcbc-auth-content .bcbc-auth-qrcode-area p {
    text-align: center;
    padding-top: 1rem;
}
.bcbc-auth-popup .bcbc-auth-content .bcbc-auth-qrcode-area .bcbc-auth-qrcode {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    display: flex;
    justify-content: center;
}
.bcbc-auth-popup .bcbc-auth-content .bcbc-auth-qrcode-area .bcbc-auth-qrcode.expired canvas {
    opacity: 0.2;
}
.bcbc-auth-popup .bcbc-auth-content .bcbc-auth-qrcode-area .bcbc-auth-qrcode > i {
    display: none;
    width: 80px;
    height: 80px;
    position: absolute;
    top: 50%;
    left: 50%;
    color: #ccc;
    background: #fff;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    margin-left: -40px;
    margin-top: -40px;
    text-align: center;
    line-height: 80px;
    font-size: 48px;
}
.bcbc-auth-popup .bcbc-auth-content .bcbc-auth-qrcode-area ul {
    padding: 0;
    margin: 0;
    padding-left: 1rem;
}
.bcbc-auth-popup .bcbc-auth-content .bcbc-auth-qrcode-area ul li {
    list-style-type: decimal;
    color: #000;
    font-size: 14px;
}

.bcbc-auth-field {
    display: block;
    margin-bottom: 0.5rem;
}
.bcbc-auth-field > label + div:not(.iti) {
    display: block;
    margin-bottom: 0.5rem;
}
.bcbc-auth-field > label + div.iti {
    display: block;
}

.bcbc-auth-field label > sub {
    color: #f55e5e;
    margin-left: 0.125rem;
    vertical-align: super;
    font-size: 18px;
}

.bcbc-auth-input {
    display: block;
    margin-bottom: 2px;
    width: 100%;
    border-radius: 0.5rem;
    padding: 0.125rem 0.5rem;
    border: 1px solid #ccc;
    height: 38px;
}

.bcbc-auth-popup .bcbc-auth-content form button {
    border-radius: 0.5rem;
    color: #fff;
    background-color: #8a56fd;
    border: 1px solid #8a56fd;
    width: 100%;
    border-radius: 0.5rem;
    padding: 0.125rem 0.5rem;
    height: 38px;
    transition: all ease-in-out 0.3s;
}

.bcbc-auth-popup .bcbc-auth-content form button:hover {
    background-color: #723aeb;
    cursor: pointer;
}

.bcbc-auth-popup .bcbc-auth-content form .bcbc-auth-buttons-wrapper {
    margin-top: 2rem;
}

.bcbc-auth-popup .bcbc-auth-content .bcbc-auth-footer {
    font-size: 12px;
    line-height: 16px;
    color: #888;
    text-align: center;
    margin-top: 2rem;
}

.bcbc-auth-popup .bcbc-auth-content .bcbc-auth-footer > div {
    margin-bottom: 1rem;
}
