/* Estilos específicos para el Portal de Búsqueda */
.portal-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

.portal-container {
    width: 100%;
    max-width: 1200px;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.portal-header {
    text-align: center;
    margin-bottom: 4rem;
    width: 100%;
    max-width: 800px;
}

.search-box {
    margin-top: 2rem;
    padding: 0.5rem;
    border-radius: 50px;
    display: flex;
}

.search-box input {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.2rem 2rem;
    font-size: 1.2rem;
    color: var(--text-main);
    font-family: var(--font-body);
}

.search-box input:focus {
    outline: none;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
    font-family: var(--font-body);
}

.chip:hover {
    border-color: var(--primary);
    color: var(--text-main);
}

.chip.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.search-stats {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    width: 100%;
}

.profile-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.profile-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.profile-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.profile-role {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.tag {
    background: rgba(255,255,255,0.05);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem;
    color: var(--text-muted);
    background: var(--bg-surface);
    border-radius: 16px;
    border: 1px dashed var(--border);
}
