.brand-mark img,
.brand > span img {
    width: 100%;
    height: 100%;
    display: block;
}

.identity-top strong,
.identity-top small {
    display: block;
}

.identity-top strong {
    font-size: 18px;
}

.identity-top small {
    margin-top: 1px;
    color: rgba(255, 255, 255, .68);
    font: 500 10px "Tajawal", sans-serif;
}

.identity-top .brand-mark {
    width: 46px;
    height: 46px;
    padding: 0;
    overflow: hidden;
    background: transparent;
}

.topbar .brand > span {
    width: 42px;
    height: 42px;
    padding: 0;
    overflow: hidden;
    background: transparent;
}

.sidebar .brand-mark {
    width: 45px;
    height: 45px;
    padding: 0;
    overflow: hidden;
    background: transparent;
}

.identity:has(.meham-login-brand) {
    min-height: 290px;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.meham-login-brand {
    position: relative;
    z-index: 2;
}

.meham-login-brand img {
    width: 220px;
    height: 220px;
    display: block;
    margin: 0 auto;
    border-radius: 22px;
}

.meham-login-brand p {
    margin: 16px 0 0;
    color: rgba(255, 255, 255, .88);
    font: 700 17px "Cairo", sans-serif;
    word-spacing: 5px;
}

.edu-login-name {
    display: block;
    color: #fff;
    font: 900 clamp(32px, 6vw, 48px)/1 "Cairo", sans-serif;
    direction: ltr;
    letter-spacing: 1px;
}

.edu-wordmark {
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    color: #1677d2 !important;
    background: transparent !important;
    font: 900 12px/1 "Cairo", sans-serif;
    direction: ltr;
    white-space: nowrap;
}

.sidebar .edu-wordmark {
    color: #fff !important;
}

.es-box {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 44px;
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(135deg, #123b86, #168cf4);
    box-shadow: 0 8px 18px rgba(16, 86, 174, .22);
    font: 900 16px/1 "Cairo", sans-serif;
    letter-spacing: -2px;
    direction: ltr;
}

.es-box-large {
    width: 116px;
    height: 116px;
    margin: 0 auto 18px;
    border-radius: 29px;
    font-size: 42px;
    letter-spacing: 2px;
    box-shadow: 0 18px 38px rgba(16, 86, 174, .3);
}

.login-panel .login-head h2 {
    margin-bottom: 25px;
}

@media (min-width: 760px) {
    .identity:has(.meham-login-brand) {
        min-height: auto;
    }

    .meham-login-brand img {
        width: 280px;
        height: 280px;
    }

    .meham-login-brand p {
        font-size: 19px;
    }
}
