/*
 * Akora Links customer branding
 * Reference: Data page header
 * Scope: customer-facing logo only
 */

.akora-data-brand:not(.mobile-brand) {
    display: inline-flex;
}

.akora-data-brand {
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    flex-shrink: 0;
    text-decoration: none;
    line-height: normal;
}

.akora-data-brand .brand-mark {
    display: grid;
    box-sizing: border-box;
    width: 42px;
    height: 42px;
    min-width: 42px;
    flex: 0 0 42px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 12px;
    background: #078667;
    color: #ffffff;
    box-shadow: none;
}

.akora-data-brand .brand-mark svg {
    display: block;
    width: 29px;
    height: 29px;
    fill: none;
}

.akora-data-brand .brand-mark svg circle {
    fill: currentColor;
}

.akora-data-brand .brand-name {
    display: inline;
    margin: 0;
    color: #14231d;
    font-family: "Manrope", sans-serif;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.65px;
    line-height: 1.2;
    white-space: nowrap;
    text-transform: none;
}

.akora-data-brand .brand-name strong {
    color: #078667;
    font: inherit;
}

/*
 * Account dashboard mobile logo remains hidden
 * on desktop, matching existing dashboard behavior.
 */

.mobile-brand.akora-data-brand {
    display: none;
}

@media (max-width: 760px) {
    .mobile-brand.akora-data-brand {
        display: inline-flex;
    }
}

@media (max-width: 640px) {
    .akora-data-brand .brand-mark {
        width: 39px;
        height: 39px;
        min-width: 39px;
        flex-basis: 39px;
        border-radius: 11px;
    }

    .akora-data-brand .brand-mark svg {
        width: 26px;
        height: 26px;
    }

    .akora-data-brand .brand-name {
        font-size: 15px;
    }
}

/* Preserve readable text inside the dark account theme. */

html[data-theme="dark"] .akora-data-brand .brand-name {
    color: #eef7f2;
}