/* KDAIMS_DUAL_BRANDING_V100
   KDA = official institutional identity
   KDA-IMS = system/product identity
   The official KDA logo is never replaced by this stylesheet.
*/

.kdaims-system-mark{
    display:inline-block;
    object-fit:contain;
    background:#fff;
    border:1px solid rgba(17,44,29,.14);
    border-radius:10px;
    padding:3px;
    vertical-align:middle;
    box-shadow:0 2px 9px rgba(5,30,18,.08);
}

.sidebar-brand .kdaims-system-mark{
    width:78px;
    height:66px;
    margin-left:8px;
    flex:0 0 auto;
}

.public-brand .kdaims-system-mark,
.brand .kdaims-system-mark{
    width:68px;
    height:58px;
    margin-left:8px;
}

.sports-brand .kdaims-system-mark{
    width:66px;
    height:56px;
    margin-left:3px;
}

.sports-footer-brand .kdaims-system-mark{
    width:95px;
    height:75px;
    margin-right:4px;
}

.print-brand .kdaims-system-mark{
    display:none!important;
}

@media(max-width:900px){
    .sidebar-brand .kdaims-system-mark{
        width:66px;
        height:56px;
    }
}

@media(max-width:680px){
    .public-brand .kdaims-system-mark,
    .brand .kdaims-system-mark,
    .sports-brand .kdaims-system-mark{
        width:48px;
        height:42px;
        margin-left:4px;
    }

    .sports-footer-brand .kdaims-system-mark{
        width:74px;
        height:62px;
    }
}

/* KDAIMS_UI_CLEANUP_V111 */
.kdaims-auth-lockup{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:18px;
    margin:0 auto 26px;
    padding:14px 16px;
    max-width:430px;
    background:#fff;
    border:1px solid #e1e7e3;
    border-radius:14px;
    box-shadow:0 8px 24px rgba(7,42,27,.06);
}
.kdaims-auth-logo-cell{
    min-width:0;
    display:flex;
    flex:1 1 0;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    gap:7px;
}
.kdaims-auth-logo-cell span{
    color:#5f6e65;
    font-size:10px;
    font-weight:800;
    letter-spacing:.055em;
    text-transform:uppercase;
    line-height:1.25;
}
.kdaims-auth-kda{
    width:86px;
    height:72px;
    object-fit:contain;
}
.kdaims-auth-ims{
    width:128px;
    height:102px;
    object-fit:contain;
}
.kdaims-auth-divider{
    width:1px;
    height:78px;
    background:#dce4df;
    flex:0 0 1px;
}
@media(max-width:520px){
    .kdaims-auth-lockup{
        gap:11px;
        padding:12px;
    }
    .kdaims-auth-kda{
        width:70px;
        height:60px;
    }
    .kdaims-auth-ims{
        width:105px;
        height:86px;
    }
    .kdaims-auth-logo-cell span{
        font-size:9px;
        letter-spacing:.035em;
    }
    .kdaims-auth-divider{
        height:66px;
    }
}

/* KDAIMS_UI_REFINEMENTS_V120 */
.kdaims-login-help{
    width:100%;
    margin:12px 0 0;
    text-align:right;
}
.kdaims-login-help a{
    font-weight:700;
    text-decoration:none;
}

.sidebar-brand .kdaims-system-mark,
.kdaims-system-brand .kdaims-system-mark{
    width:112px;
    height:92px;
    display:block;
    object-fit:contain;
    margin:0 auto 8px;
    background:#fff;
    border-radius:12px;
    padding:4px;
    box-shadow:0 2px 10px rgba(0,0,0,.10);
}
.kdaims-system-brand{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:4px;
    width:100%;
    text-align:center;
}
.kdaims-system-brand-name{
    color:#d7efe1;
    font-size:12px;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
    line-height:1.25;
}
.kdaims-system-brand-sub{
    color:#a9d3bb;
    font-size:10px;
    font-weight:700;
    letter-spacing:.05em;
    text-transform:uppercase;
    line-height:1.2;
}

/* KDAIMS_LOGIN_ACTION_ROW_V121 */
.kdaims-login-actions{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    width:100%;
    margin-top:4px;
}

.kdaims-login-forgot{
    margin-left:auto;
    font-weight:750;
    text-decoration:none;
    white-space:nowrap;
}

@media(max-width:520px){
    .kdaims-login-actions{
        gap:12px;
    }

    .kdaims-login-forgot{
        font-size:13px;
    }
}
/* KDAIMS_SIDEBAR_BRAND_CLEAN_V121 */
.kdaims-system-brand{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    padding:4px 0 8px;
}

.kdaims-system-brand .kdaims-system-mark{
    width:132px;
    height:118px;
    margin:0 auto;
    object-fit:contain;
    display:block;
    background:#fff;
    border-radius:14px;
    padding:5px;
}

.kdaims-system-brand-name,
.kdaims-system-brand-sub{
    display:none !important;
}
/* KDAIMS_SIDEBAR_LOGO_ONLY_V127 */

.sidebar-brand{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:100% !important;
    padding:18px 12px 20px !important;
}

.kdaims-sidebar-logo-only{
    display:block;
    width:150px;
    max-width:88%;
    height:auto;
    object-fit:contain;
    margin:0 auto;
    background:#fff;
    border-radius:16px;
    padding:5px;
    box-shadow:0 3px 14px rgba(0,0,0,.12);
}

/* Suppress all legacy duplicate sidebar brand copy */
.sidebar-brand .brand-copy,
.sidebar-brand .brand-text,
.sidebar-brand .kdaims-system-brand-name,
.sidebar-brand .kdaims-system-brand-sub,
.sidebar-brand span,
.sidebar-brand strong,
.sidebar-brand small{
    display:none !important;
}
/* KDAIMS_LOGO_SIZE_V128 */
.kdaims-sidebar-logo-only{
    width:108px !important;
    max-width:78% !important;
    height:auto !important;
    padding:4px !important;
    border-radius:12px !important;
}

.sidebar-brand{
    padding:12px 10px 14px !important;
}