.phpb-family-filter {
    margin-bottom: 20px;

    background: #ffffff;

    border: 1px solid #e3e7ed;

    border-radius: 13px;

    box-shadow:
        0 4px 14px rgba(15, 23, 42, .035);
}

.phpb-family-filter-body {
    padding: 15px;
}

.phpb-family-filter-label {
    display: block;

    margin-bottom: 5px;

    color: #475569;

    font-size: .92rem;

    font-weight: 700;
}

.phpb-family-input-wrapper {
    position: relative;
}

.phpb-family-input-wrapper > i {
    position: absolute;

    top: 50%;
    left: 13px;

    z-index: 2;

    color: #64748b;

    transform: translateY(-50%);
}

.phpb-family-input {
    min-height: 42px;

    padding-left: 37px;

    color: #374151;

    border-color: #d7dce3;

    border-radius: 8px;

    font-size: .93rem;
}

.phpb-family-input:focus {
    border-color: #93c5fd;

    box-shadow:
        0 0 0 .2rem rgba(37, 99, 235, .08);
}

.phpb-family-select {
    min-height: 42px;

    color: #374151;

    border-color: #d7dce3;

    border-radius: 8px;

    font-size: .93rem;

    font-weight: 600;
}

.phpb-family-select:focus {
    border-color: #93c5fd;

    box-shadow:
        0 0 0 .2rem rgba(37, 99, 235, .08);
}

.phpb-family-search-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    width: 100%;

    min-height: 42px;

    padding: 7px 15px;

    color: #ffffff;

    background: #2563eb;

    border: 1px solid #2563eb;

    border-radius: 8px;

    font-size: .93rem;

    font-weight: 700;

    transition:
        background .2s ease,
        border-color .2s ease;
}

.phpb-family-search-button:hover {
    background: #1d4ed8;

    border-color: #1d4ed8;
}

.phpb-family-reset-button {
    width: 42px;

    min-height: 42px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #64748b;

    background: #ffffff;

    border: 1px solid #d7dce3;

    border-radius: 8px;

    font-size: 1.05rem;

    text-decoration: none;

    transition:
        color .2s ease,
        border-color .2s ease,
        background .2s ease;
}

.phpb-family-reset-button:hover {
    color: #dc2626;

    background: #fff;

    border-color: #fecaca;
}

.phpb-family-result-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 12px;
}

.phpb-family-result-header h2 {
    margin: 0;

    color: #172033;

    font-size: 1.05rem;

    font-weight: 750;
}

.phpb-family-result-header span {
    color: #64748b;

    font-size: .9rem;

    font-weight: 600;
}

.phpb-family-card {
    height: 100%;

    background: #ffffff;

    border: 1px solid #e3e7ed;

    border-radius: 13px;

    box-shadow:
        0 4px 14px rgba(15, 23, 42, .04);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.phpb-family-card:hover {
    transform: translateY(-2px);

    border-color: #cbdaf5;

    box-shadow:
        0 8px 22px rgba(15, 23, 42, .07);
}

.phpb-family-card-body {
    padding: 17px;
}


.phpb-family-name {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 13px;
}

.phpb-family-avatar {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #2563eb;

    background: #eff6ff;

    border-radius: 11px;

    font-size: 1.05rem;
}

.phpb-family-name h2 {
    margin: 0;

    color: #172033;

    font-size: 1.15rem;

    line-height: 1.35;

    font-weight: 750;
}

.phpb-family-information {
    display: flex;

    flex-direction: column;

    gap: 7px;
}

.phpb-family-info-item {
    display: flex;

    align-items: center;

    gap: 8px;

    color: #64748b;

    font-size: .91rem;

    line-height: 1.4;
}

.phpb-family-info-item i {
    width: 18px;

    flex-shrink: 0;

    color: #2563eb;

    font-size: .95rem;

    text-align: center;
}

.phpb-family-info-item span {
    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;
}


.phpb-family-pagination {
    margin-top: 25px;
}

.phpb-family-pagination .page-link {
    min-width: 39px;

    min-height: 39px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #475569;

    border-color: #dfe4eb;

    font-size: .9rem;

    font-weight: 650;
}

.phpb-family-pagination .page-link:hover {
    color: #2563eb;

    background: #eff6ff;

    border-color: #bfdbfe;
}

.phpb-family-pagination .page-item.active .page-link {
    color: #ffffff;

    background: #2563eb;

    border-color: #2563eb;
}

.phpb-family-pagination .page-item.disabled .page-link {
    color: #a0a7b2;

    background: #f8fafc;
}

@media (max-width: 991.98px) {

    .phpb-family-filter-body {
        padding: 14px;
    }

}

@media (max-width: 767.98px) {

    .phpb-family-filter-body {
        padding: 13px;
    }

    .phpb-family-result-header {
        align-items: flex-start;

        flex-direction: column;

        gap: 3px;
    }

    .phpb-family-result-header h2 {
        font-size: 1rem;
    }

    .phpb-family-result-header span {
        font-size: .86rem;
    }

    .phpb-family-card-body {
        padding: 16px;
    }

    .phpb-family-name h2 {
        font-size: 1.1rem;
    }

    .phpb-family-info-item {
        font-size: .92rem;
    }

}

@media (max-width: 420px) {

    .phpb-family-search-button {
        min-height: 43px;
    }

    .phpb-family-reset-button {
        min-height: 43px;
    }

    .phpb-family-card-body {
        padding: 15px;
    }

}