.search-hero {
    padding: 4rem 0 2rem;
    text-align: center;
    position: relative;
}

.search-hero-inner {
    max-width: 600px;
    margin: 0 auto;
}

.search-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.search-subtitle {
    color: rgba(255,255,255,0.5);
    margin-bottom: 1.5rem;
}

.search-bar-wrap {
    position: relative;
    margin-bottom: 1.25rem;
}

.search-bar-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.3);
    font-size: 1rem;
    pointer-events: none;
}

.search-bar {
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 2.8rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.search-bar:focus {
    border-color: rgba(99,102,241,0.5);
    background: rgba(255,255,255,0.08);
}

.search-filters {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.search-filter {
    padding: 0.4rem 1.2rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.search-filter:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.search-filter.active {
    background: linear-gradient(135deg, rgba(99,102,241,0.3), rgba(168,85,247,0.3));
    border-color: rgba(99,102,241,0.5);
    color: #fff;
}

.search-results-section {
    padding: 1rem 0 4rem;
}

.search-results-header {
    margin-bottom: 1.5rem;
}

.search-results-count {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    min-height: 300px;
}

.search-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: rgba(255,255,255,0.4);
}

.search-empty i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.1);
}

.search-empty h3 {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.5rem;
}

.search-empty p {
    font-size: 0.9rem;
}

.search-loading {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
}

.search-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: #6366f1;
    border-radius: 50%;
    animation: searchSpin 0.8s linear infinite;
}

@keyframes searchSpin {
    to { transform: rotate(360deg); }
}

.search-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.search-page-btn {
    padding: 0.6rem 1.2rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.search-page-btn:hover:not(:disabled) {
    background: rgba(255,255,255,0.12);
    color: #fff;
}

.search-page-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.search-page-info {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

@media (max-width: 480px) {
    .search-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .search-title {
        font-size: 1.5rem;
    }
}
