body {
    background-color: #000;
    background-image: var(--login-bg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto;
    min-height: 100vh;
}

.bsa-login {
    padding-top: 14vh;
}

.bsa-login-header {
    text-align: center;
    margin-bottom: 18px;
}

.bsa-login-header img {
    width: clamp(136px, 11vw, 160px);
}

.bsa-login-box {
    max-width: 450px;
    padding: 20px;
    margin: 0 auto;
    width: 90%;
    position: relative;
    background: #23262F;
    border-radius: 12px;
    box-shadow: 0px 0px 10px 0px #00000070;
}

.bsa-login-box .bsa-loading {
    border-radius: 12px;
}

.bsa-login-box-header {
    text-align: center;
    margin-bottom: 18px;
}

.bsa-login-box-header-error {
    background: #dc3232;
    color: #fff;
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    text-align: left;
    position: relative;
}

.bsa-login-box-header-error-close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
    line-height: 1;
}

.bsa-login-box-header-error-close:hover {
    opacity: 0.8;
}

.bsa-field.misc {
    display: flex;
    align-items: center;
}

.bsa-field.misc > div {
    flex: 1
}

.bsa-field label.desc {
    display: block;
    margin-bottom: 7px;
}

.bsa-remember-me label {
    display: flex;
    gap: 7px;
}

.bsa-login-actions {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 10px;
}

.bsa-login-actions .button {
    width: 100%;
    padding: 12px;
}

.cbs-show-password-field {
    position: relative;
}

.cbs-show-password {
    position: absolute;
    right: 0;
    height: 100%;
    width: 30px;
    background: none;
    border: 0;
    color: var(--green);
    cursor: pointer;
}

.bsa-login-link-container {
    margin-top: 22px;
    text-align: center;
}

.bsa-login-link,
.bsa-set-password-error a {
    color: var(--green);
    text-decoration: underline;
}

.bsa-set-password-error {
    background: var(--gray-dark);
    padding: 10px;
    border-left: 4px solid #dc3232;
    margin-bottom: 10px;
}

/* Microsoft / company SSO on login */
.bsa-login-divider {
    text-align: center;
    margin: 18px 0 14px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.bsa-saml-login {
    margin-top: 4px;
}

.bsa-saml-trigger {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
}

.bsa-saml-trigger:hover {
    border-color: var(--green);
    color: var(--green);
}

/* Two-step login: password block slides down right under email */
.bsa-login-step-password {
    margin-top: 0;
    padding-top: 0;
}

.bsa-login-step-password .bsa-field {
    margin-top: 12px;
}