.lmia-statistics {
    padding: 15px 0 55px;
    background: #fff;
}

.lmia-statistics__header {
    margin: 28px 0 24px;
}

.lmia-statistics__header h1 {
    margin: 0;
    color: #252525;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
}

.lmia-statistics__header p {
    margin: 10px 0 0;
    color: #838a95;
    font-size: 16px;
}

.lmia-statistics__controls {
    display: grid;
    gap: 14px;
    padding: 0 0 22px;
    border-bottom: 1px solid #e4e7ec;
}

.lmia-statistics__search {
    position: relative;
    display: block;
    box-sizing: border-box;
    width: 100%;
}

.lmia-statistics__search .icon {
    position: absolute;
    top: 18px;
    left: 17px;
    color: #a9b0b9;
    font-size: 14px;
}

.lmia-statistics__search input {
    box-sizing: border-box;
    width: 100%;
    height: 46px;
    padding: 0 18px 0 47px;
    border: 1px solid #dfe3e8;
    border-radius: 7px;
    color: #242a35;
    background: #fff;
    box-shadow: 0 2px 8px rgba(16, 24, 40, .04);
    font-size: 14px;
    font-weight: 400;
    transition: border-color .15s linear, background .15s linear;
}

.lmia-statistics__search input:focus {
    border-color: #8eb5ef;
    box-shadow: 0 0 0 3px rgba(52, 120, 246, .08);
    background: #fff;
}

.lmia-statistics__filters {
    display: flex;
    align-items: flex-end;
    gap: 15px;
}

.lmia-statistics__filter {
    display: block;
    flex: 1 1 0;
    min-width: 0;
}

.lmia-statistics__filter--province {
    flex-grow: 1.35;
}

.lmia-statistics__filter > span {
    display: block;
    margin-bottom: 8px;
    color: #667085;
    font-size: 12px;
    font-weight: 400;
}

.lmia-statistics__filter select {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 40px;
    padding: 0 36px 0 13px;
    border: 1px solid #dfe3e8;
    border-radius: 7px;
    color: #344054;
    background: #fff;
    font-size: 14px;
}

.lmia-statistics__reset {
    height: 40px;
    padding: 0 19px;
    border: 1px solid #dfe3e8;
    border-radius: 7px;
    color: #475467;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
}

.lmia-statistics__reset:hover {
    border-color: #98a2b3;
    color: #101828;
    cursor: pointer;
}

.lmia-statistics__result,
.lmia-statistics__controls + .ui-alert {
    margin-top: 22px;
}

.lmia-statistics__results--loading {
    opacity: 0.55;
    pointer-events: none;
}

.lmia-statistics__summary {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 15px;
    padding: 0 2px;
}

.lmia-statistics__summary span,
.lmia-statistics__summary small {
    color: #838a95;
}

.lmia-statistics__summary strong {
    color: #101828;
    font-size: 18px;
    font-weight: 600;
}

.lmia-statistics__period {
    margin-left: 8px;
    padding-left: 18px;
    border-left: 1px solid #dfe3e8;
}

.lmia-statistics__period b {
    color: #344054;
    font-weight: 500;
}

.lmia-statistics__list {
    overflow: hidden;
    border: 1px solid #dfe3e8;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(16, 24, 40, .04);
}

.lmia-statistics__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    min-height: 80px;
    padding: 14px 17px;
    border-bottom: 1px solid #e4e7ec;
    transition: background .12s ease;
}

.lmia-statistics__item:last-child {
    border-bottom: 0;
}

.lmia-statistics__item:hover {
    background: #f8faff;
}

.lmia-statistics__item-main {
    flex: 1 1 auto;
    min-width: 0;
}

.lmia-statistics__noc {
    display: flex;
    align-items: baseline;
    gap: 9px;
    color: #101828;
}

.lmia-statistics__noc strong {
    flex: 0 0 auto;
    min-width: 51px;
    padding: 4px 7px;
    border: 1px solid #d8e6fa;
    border-radius: 5px;
    color: #2868c7;
    background: #f2f7ff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
}

.lmia-statistics__noc span {
    overflow: hidden;
    font-size: 14px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lmia-statistics__employer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 7px;
}

.lmia-statistics__employer strong {
    overflow: hidden;
    color: #344054;
    font-size: 12px;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lmia-statistics__employer small {
    overflow: hidden;
    color: #98a2b3;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lmia-statistics__employer small:before {
    margin-right: 8px;
    color: #d0d5dd;
    content: "·";
}

.lmia-statistics__item-meta {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    margin-left: auto;
}

.lmia-statistics__tag,
.lmia-statistics__count {
    padding: 5px 8px;
    border-radius: 4px;
    color: #667085;
    border: 1px solid #eaecf0;
    background: #f8f9fb;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
}

.lmia-statistics__tag--province {
    max-width: 165px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lmia-statistics__tag--stream {
    border-color: #dce8f8;
    color: #35689b;
    background: #f3f7fc;
}

.lmia-statistics__count {
    border-color: #f4d6aa;
    border-left: 3px solid #e9a23b;
    color: #7a4b08;
    background: #fff4e5;
}

.lmia-statistics__count b {
    margin-right: 2px;
    font-weight: 700;
}

.lmia-statistics__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 18px;
    color: #838a95;
    font-size: 13px;
}

.lmia-statistics__pagination a {
    padding: 10px 17px;
    border: 1px solid #d0d5dd;
    border-radius: 7px;
    color: #344054;
    background: #fff;
    text-decoration: none;
    font-weight: 500;
}

.lmia-statistics__pagination a:hover {
    border-color: #98a2b3;
    background: #f9fafb;
}

.lmia-statistics__empty {
    padding: 25px;
    border-radius: 10px;
    color: #56606e;
    background: #fff;
    text-align: center;
}

.lmia-statistics__source {
    margin: 24px 0 0;
    color: #667085;
    font-size: 13px;
}

@media (max-width: 600px) {
    .lmia-statistics {
        padding: 18px 0 35px;
    }

    .lmia-statistics__header h1 {
        font-size: 27px;
    }

    .lmia-statistics__controls {
        padding-bottom: 18px;
    }

    .lmia-statistics__filters {
        display: grid;
        grid-template-columns: 1fr;
    }

    .lmia-statistics__filter {
        width: 100%;
    }

    .lmia-statistics__summary {
        display: grid;
        gap: 3px;
    }

    .lmia-statistics__period {
        margin-left: 0;
        padding-left: 0;
        border-left: 0;
    }

    .lmia-statistics__item {
        display: grid;
        gap: 13px;
        padding: 15px;
    }


    .lmia-statistics__employer {
        display: grid;
        gap: 3px;
    }

    .lmia-statistics__employer small:before {
        display: none;
    }

    .lmia-statistics__noc {
        display: grid;
        gap: 4px;
    }

    .lmia-statistics__noc span {
        overflow: visible;
        white-space: normal;
    }

    .lmia-statistics__item-meta {
        flex-wrap: wrap;
    }

    .lmia-statistics__tag--province {
        max-width: 145px;
    }
}
