/**
 * Experts Page Styles
 */

.page-header {
    background: var(--bg-primary);
    padding: var(--space-12) 0;
    text-align: center;
    margin-top: -80px;
    padding-top: calc(80px + var(--space-12));
    border-bottom: 1px solid var(--border-light);
}

.page-header h1 {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-4);
}

.page-header p {
    color: var(--text-secondary);
    font-size: var(--text-lg);
}

.filter-section {
    padding: var(--space-6) 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-light);
}

.spec-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.spec-filter {
    padding: var(--space-2) var(--space-4);
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    color: var(--text-secondary);
    text-decoration: none;
}

.spec-filter:hover,
.spec-filter.active {
    background: var(--primary-100);
    border-color: var(--primary-300);
    color: var(--primary-700);
}

/* Search Box */
.search-container {
    max-width: 500px;
    margin: 0 auto var(--space-6);
}

.search-box {
    position: relative;
}

.search-box input {
    width: 100%;
    padding: var(--space-4) var(--space-5);
    padding-left: 3rem;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-full);
    font-size: var(--text-base);
    background: var(--bg-primary);
    transition: all var(--transition-fast);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-400);
    box-shadow: 0 0 0 4px var(--primary-100);
}

.search-box input::placeholder {
    color: var(--text-tertiary);
}

.search-box i {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-tertiary);
    font-size: 1.1rem;
}

.no-results {
    text-align: center;
    padding: var(--space-10);
    color: var(--text-tertiary);
}

.no-results.hidden,
.experts-grid.hidden {
    display: none;
}

.expert-card.hidden {
    display: none;
}

.experts-section {
    padding: var(--space-10) 0;
    background: var(--bg-primary);
}

.experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-6);
}

.expert-card {
    background: var(--bg-primary);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.expert-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.expert-cover {
    height: 100px;
    background: var(--gradient-primary);
}

.expert-body {
    padding: var(--space-5);
    text-align: center;
    margin-top: -50px;
}

.expert-avatar {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-full);
    border: 4px solid var(--bg-primary);
    object-fit: cover;
    margin-bottom: var(--space-4);
}

.expert-avatar-placeholder {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-full);
    border: 4px solid var(--bg-primary);
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-inverse);
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    margin: 0 auto var(--space-4);
}

.expert-name {
    font-size: var(--text-xl);
    margin-bottom: var(--space-1);
}

.expert-title {
    color: var(--text-tertiary);
    font-size: var(--text-sm);
    margin-bottom: var(--space-3);
}

.expert-rating {
    color: var(--warning);
    margin-bottom: var(--space-4);
}

.expert-specs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-2);
    margin-bottom: var(--space-5);
}

.spec-badge {
    padding: var(--space-1) var(--space-3);
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
}
