
/* SEARCH RESULTS PAGE */
.ps-search-page {
    padding-top: 30px;
}

/* Search Header */
.ps-search-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 26px;
    margin-bottom: 25px;
    background: #fff;
    border: 1px solid rgb(241 245 249);
    border-radius: 20px;
    box-shadow: 0 5px 18px rgba(15, 23, 42, 0.04);
}

.ps-search-overline {
    display: inline-block;
    margin-bottom: 9px;
    color: #0875e1;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 1px;
}

.ps-search-heading h1 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0;
    color: #0f172a;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.ps-search-heading h1 > i {
    color: #0875e1;
    font-size: 22px;
}

.ps-search-query {
    color: #0875e1;
}

.ps-search-heading p {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
}

/* Result Count */
.ps-search-result-count {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
    padding: 10px 15px;
    color: #0875e1;
    background: #eff6ff;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 650;
}

.ps-search-result-count strong {
    font-size: 16px;
    font-weight: 800;
}

/* Toolbar */
.ps-search-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 18px;
}

.ps-search-result-label {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #0f172a;
    font-size: 16px;
    font-weight: 750;
}

.ps-search-result-label i {
    color: #0875e1;
    font-size: 19px;
}

.ps-search-sort {
    display: flex;
    align-items: center;
    gap: 9px;
}

.ps-search-sort label {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    white-space: nowrap;
}

.ps-search-sort .form-select {
    width: auto;
    min-width: 125px;
    padding: 9px 32px 9px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: #334155;
    background-color: #fff;
    font-size: 13px;
    box-shadow: none;
}

.ps-search-sort .form-select:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px rgba(8, 117, 225, 0.08);
}

/* Empty State */
.ps-search-empty {
    padding: 55px 20px;
    text-align: center;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
}

.ps-search-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    margin: 0 auto 18px;
    color: #0875e1;
    background: #eff6ff;
    border-radius: 50%;
    font-size: 27px;
}

.ps-search-empty h3 {
    margin: 0 0 9px;
    color: #0f172a;
    font-size: 21px;
    font-weight: 750;
}

.ps-search-empty p {
    max-width: 450px;
    margin: 0 auto 20px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
}

.ps-search-home-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 17px;
    color: #fff;
    background: #0875e1;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
    transition: background .2s ease;
}

.ps-search-home-link:hover {
    color: #fff;
    background: #0563bd;
}

/* Mobile */
@media (max-width: 767px) {
    .ps-search-page {
        padding-top: 15px;
    }

    .ps-search-header {
        align-items: flex-start;
        padding: 17px;
        border-radius: 16px;
        gap: 12px;
    }

    .ps-search-heading h1 {
        font-size: 19px;
        gap: 6px;
    }

    .ps-search-heading h1 > i {
        font-size: 18px;
    }

    .ps-search-heading p {
        font-size: 12px;
    }

    .ps-search-result-count {
        padding: 7px 10px;
        gap: 4px;
        font-size: 10px;
    }

    .ps-search-result-count strong {
        font-size: 13px;
    }

    .ps-search-toolbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .ps-search-sort {
        width: 100%;
        justify-content: space-between;
    }

    .ps-search-sort .form-select {
        flex: 1;
        max-width: 180px;
    }

    .ps-search-empty {
        padding: 40px 15px;
    }

    .ps-search-empty h3 {
        font-size: 19px;
    }
}
