.main-footer.ecas-panel-footer {
    padding-top: 8px;
    padding-bottom: 8px;
}

.ecas-brand-row {
    display: flex;
    flex-direction: row;
    direction: ltr;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
    min-height: 28px;
}

.ecas-brand-row.ecas-brand-row-ar {
    flex-direction: row-reverse;
}

.ecas-brand {
    display: inline-flex;
    direction: ltr;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.ecas-brand-link {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.ecas-brand img {
    display: block;
    width: auto;
    height: 22px;
    max-width: 148px;
    object-fit: contain;
}

.ecas-brand-by {
    color: inherit;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
}

.ecas-brand-copyright {
    white-space: nowrap;
    direction: ltr;
    unicode-bidi: isolate;
}

.loginbg .ecas-login-brand {
    margin: 12px 0 0;
    text-align: center;
}

.loginbg .ecas-login-brand .ecas-brand {
    justify-content: center;
}

.loginbg .ecas-brand img {
    height: 26px;
    max-width: 160px;
}

.loginbg .ecas-brand-by {
    color: #666;
}

@media (max-width: 767px) {
    .ecas-brand-row,
    .ecas-brand-row.ecas-brand-row-ar {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .ecas-brand img,
    .loginbg .ecas-brand img {
        height: 20px;
        max-width: 120px;
    }
}
