/* Keep the CUI v2 email step distinct from the regular Rainier login page. */
body.cui-v2-mode .carousel-inner .carousel-item {
    position: relative;
    overflow: hidden;
    background-position: center;
}

body.cui-v2-mode .carousel-inner .carousel-item.lazy:nth-child(1) {
    background-image: none;
}

body.cui-v2-mode .carousel-inner .carousel-item.lazy:nth-child(1)::before {
    content: "";
    position: absolute;
    inset: -12px;
    z-index: 0;
    background-image: url("../img/cv-sea-bg-page.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: blur(8px);
    transform: scale(1.03);
    pointer-events: none;
}

body.cui-v2-mode .carousel-inner .carousel-item .content {
    z-index: 1;
    background-color: transparent;
}

body.cui-v2-mode .slide-content,
body.cui-v2-mode .slide-learn-more-link {
    display: none;
}

body.cui-v2-mode #kc-form-login,
body.cui-v2-mode #kc-social-providers {
    display: none;
}

#cui-v2-login-form[hidden] {
    display: none;
}

