/*
 * BRITIXO_MYACCOUNT_INSTALLED_APP_TABS_CSS_V1
 *
 * Strict scope:
 * - My Apps / Software > Installed Apps only.
 * - Appears only when more than one application exists.
 */

#tenancies .myapps-installed-app-tabs {
    align-items: center;
    border-bottom: 1px solid #e5ebf3;
    display: flex;
    gap: 6px;
    margin: 0 16px 14px;
    overflow-x: auto;
    padding: 2px 0 10px;
    scrollbar-width: thin;
}

#tenancies .myapps-installed-app-tab {
    align-items: center;
    appearance: none;
    background: #f7f9fc;
    border: 1px solid #dce4ef;
    border-radius: 9px;
    color: #536176;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 auto;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    gap: 7px;
    line-height: 1.25;
    max-width: 260px;
    min-height: 36px;
    padding: 9px 13px;
    transition:
        background-color .15s ease,
        border-color .15s ease,
        box-shadow .15s ease,
        color .15s ease;
}

#tenancies .myapps-installed-app-tab:hover {
    background: #ffffff;
    border-color: #b9c9df;
    color: #24446f;
}

#tenancies .myapps-installed-app-tab.is-active {
    background: #ffffff;
    border-color: #2670ff;
    box-shadow:
        0 0 0 1px rgba(38, 112, 255, .08),
        0 4px 12px rgba(31, 82, 160, .08);
    color: #0d51bd;
}

#tenancies .myapps-installed-app-tab__icon {
    align-items: center;
    background: #edf4ff;
    border-radius: 6px;
    display: inline-flex;
    flex: 0 0 auto;
    height: 22px;
    justify-content: center;
    width: 22px;
}

#tenancies .myapps-installed-app-tab.is-active
.myapps-installed-app-tab__icon {
    background: #e4efff;
}

#tenancies .myapps-installed-app-tab__icon svg {
    height: 13px;
    width: 13px;
}

#tenancies .myapps-installed-app-tab__label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#tenancies .myapps-installed-card[hidden] {
    display: none !important;
}

@media (max-width: 700px) {
    #tenancies .myapps-installed-app-tabs {
        margin-left: 10px;
        margin-right: 10px;
    }

    #tenancies .myapps-installed-app-tab {
        max-width: 210px;
    }
}
