/* Login renders before the protected bundle decrypts the full application CSS. */
.ec-myec-brand {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 16px;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.ec-myec-brand__lockup {
    display: inline-flex;
    align-items: center;
}

.ec-myec-brand__logo-crop {
    position: relative;
    display: block;
    flex: 0 0 auto;
    width: 132px;
    height: 28px;
    overflow: hidden;
}

.ec-myec-brand__easecation-logo {
    position: absolute;
    top: -10px;
    left: 0;
    display: block;
    width: 132px;
    height: auto;
    object-fit: contain;
    user-select: none;
}

.ec-myec-brand__divider {
    align-self: stretch;
    width: 2px;
    margin-left: 12px;
    background: linear-gradient(180deg, #f3b71b 0 48%, #68b92e 52% 100%);
    border-radius: 9999px;
}

.ec-myec-brand__copy {
    display: inline-flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    margin-left: 12px;
}

.ec-myec-brand__name {
    font-weight: 900;
    color: #1f1f1f;
}

.ec-myec-brand__slogan {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.15;
    color: #666666;
}

html[data-theme='dark'] .ec-myec-brand__name {
    color: #f5f5f5;
}

html[data-theme='dark'] .ec-myec-brand__slogan {
    color: #8c8c8c;
}

@media (max-width: 575px) {
    .ec-myec-brand {
        max-width: 100%;
        font-size: 14px;
    }

    .ec-myec-brand__logo-crop {
        width: 108px;
        height: 24px;
    }

    .ec-myec-brand__easecation-logo {
        top: -8px;
        width: 108px;
    }

    .ec-myec-brand__divider,
    .ec-myec-brand__copy {
        margin-left: 8px;
    }

    .ec-myec-brand__copy {
        flex: 1 1 auto;
    }

    .ec-myec-brand__slogan {
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
