@charset "UTF-8";
/* CSS Document */

html{
height: 100%!important;
}
body {
    background-image: url(/amserver/RUI/img/WCTO_Background.png) !important;
    background-size: cover !important;
    background-repeat: no-repeat;
    background-position: bottom left!important;
    max-height: none!important;
    flex-direction: column;
    justify-content: flex-start;
    margin-bottom: 0px;
    padding-bottom: 0px;
display: flex; 
}

.app-view.new-index-ui .main-view{
    margin: 0px !important;
}

.app-view.new-index-ui .main-view .login-section{
margin-bottom:20px;
}



#cognition-ui.app-view.new-index-ui #footer.footer {
    position: static;   
    max-width: 100%;
    background-color: #582831;
    color: #ce9ca5;
    padding-bottom: 0px;
    padding-top:0px;
    display: block;
    padding-right: 0px;
    padding-left:0px;
}
.app-view.new-index-ui .footer .footerbox {
padding-bottom: 16px;
    width: 75%;
    font-size: 14px;
    margin-left: auto;
    margin-right: auto;
    }
    
#cognition-ui.app-view.new-index-ui{
width:100%;
}
#cognition-ui.app-view.new-index-ui .main-view{
width:100%;
}
#cognition-ui.app-view.new-index-ui .main-view .center.logo{
width:100%;
text-align: left;
}   
    
@media (max-width: 768px){
img.main-logo{
width: 75%;
height: auto;

}
.app-view.new-index-ui .center.logo{
width: 100%;
height: auto;
text-align: center;
}
#cognition-ui.app-view.new-index-ui .main-view .login-section{
margin-top: 0px;
max-width: 350px;
margin-bottom:0px;
}
#cognition-ui.app-view.new-index-ui .main-view .center.logo{
    text-align: center;
}
}

@charset "UTF-8";

html,
body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    min-height: 100vh !important;
    height: auto !important;
}

body {
    background-image: url(/amserver/RUI/img/WCTO_Background.png) !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: bottom left !important;
}

/* Full page wrapper */
#cognition-ui.app-view.new-index-ui {
    width: 100% !important;
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Main content must take leftover space above footer */
#cognition-ui.app-view.new-index-ui .main-view {
    width: 100% !important;
    margin: 0 !important;

    flex: 1 0 auto !important;
    min-height: calc(100vh - 180px) !important;

    display: flex !important;
    flex-direction: column !important;
}

/* Logo */
#cognition-ui.app-view.new-index-ui .main-view .center.logo {
    width: 100% !important;
    text-align: left !important;
}

/* Login card spacing */
#cognition-ui.app-view.new-index-ui .main-view .login-section {
    margin-bottom: 20px !important;
}

/* Footer */
#cognition-ui.app-view.new-index-ui #footer.footer {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;

    width: 100% !important;
    max-width: 100% !important;
    max-height: 100%!important;
    min-height: 180px !important;

    margin-top: auto !important;

    background-color: #582831 !important;
    color: #ce9ca5 !important;

    padding: 0 !important;
    display: block !important;

    flex-shrink: 0 !important;
}

#cognition-ui.app-view.new-index-ui .footer .footerbox {
    width: 75% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-bottom: 16px !important;
    font-size: 14px !important;
}

@media (max-width: 768px) {
.body{
max-height:none!important;
}
    img.main-logo {
        width: 75% !important;
        height: auto !important;
    }

    #cognition-ui.app-view.new-index-ui .main-view .center.logo {
        width: 100% !important;
        height: auto !important;
        text-align: center !important;
    }

    #cognition-ui.app-view.new-index-ui .main-view .login-section {
        margin-top: 0 !important;
        max-width: 350px !important;
        margin-bottom: 0 !important;
    }
}
/* =========================================
   FIRST TIME LOGIN SECTION
========================================= */

.first-time-login-section {
        margin-top: 0;
    margin-bottom: 10px !important;
    max-width: 100%;
    width: auto;
    padding: 0;
    order: 6;
}

.first-time-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.first-time-divider span {
    flex: 1;
    height: 1px;
    background: rgba(31, 42, 82, 0.45);
}

.first-time-divider strong {
    color: #1f2a52;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* =========================================
   CARD LAYOUT
========================================= */

.first-time-login-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    text-align: left;
    margin-bottom: 0px;
}

/* =========================================
   PDF ICON
========================================= */

.first-time-pdf-icon {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.first-time-pdf-icon img {
    width: 44px !important;
    height: 44px !important;
    display: block !important;
    object-fit: contain !important;
}
/* =========================================
   TEXT CONTENT
========================================= */

.first-time-login-content h2 {
    margin: 0 0 6px;
    color: #1B2645;

    font-size: 24px;
    font-weight: 700;
    line-height: 1.1;

    letter-spacing: 0.3px;
}

.first-time-login-link {
    color: #1f2a52;

    font-size: 15px;
    font-weight: 500;

    text-decoration: underline;
    text-underline-offset: 3px;

    transition: color 0.2s ease;
}

.first-time-login-link:hover,
.first-time-login-link:focus {
    color: #582831;
}

.first-time-login-link span {
    font-size: 14px;
    margin-left: 4px;
}

/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media screen and (max-width: 768px) {

    .first-time-login-section {
        margin-top: 20px;
        padding: 0 14px;
    }

    .first-time-login-card {
        justify-content: flex-start;
        align-items: flex-start;
        gap: 14px;
    }

    .first-time-login-content h2 {
        font-size: 20px;
    }

    .first-time-login-link {
        font-size: 14px;
        line-height: 1.4;
    }

    .first-time-pdf-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 12px;
    }
}
.external-link-icon {
    display: inline-flex;
    align-items: center;
    margin-left: 4px;
    vertical-align: middle;
}

.external-link-icon img {
    width: 12px;
    height: 12px;
    display: block;
    object-fit: contain;
}