#build-search-tab {
    padding: 20px;
    color: #e2e8f0;
}

.build-filter-controls {
    display: flex;
    gap: 15px;
    align-items: flex-end;
    margin-bottom: 30px;
    background: #1a1a1a;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 200px;
}

.control-group label {
    font-size: 14px;
    font-weight: 600;
    color: #94a3b8;
}

.control-group select {
    padding: 10px 15px;
    background: #2d3748;
    border: 1px solid #4a5568;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.control-group select:focus {
    border-color: #63b3ed;
}

.search-btn {
    padding: 10px 25px;
    background: #3182ce;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    height: 41px;
}

.search-btn:hover {
    background: #2b6cb0;
}

.results-header {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #cbd5e0;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.match-card {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 15px;
    border: 1px solid #2d3748;
    transition: transform 0.2s, box-shadow 0.2s;
}

.match-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border-color: #4a5568;
}

.match-card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 12px;
    color: #94a3b8;
    font-weight: 600;
}

.match-teams {
    margin-bottom: 15px;
}

.team-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
}

.team-row.winner .team-name {
    color: #fff;
    font-weight: bold;
}

.team-row.winner::after {
    content: '★';
    color: #f6e05e;
    font-size: 12px;
}

.side {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
}

.side.radiant {
    background: rgba(72, 187, 120, 0.2);
    color: #68d391;
}

.side.dire {
    background: rgba(245, 101, 101, 0.2);
    color: #fc8181;
}

.team-name {
    font-size: 14px;
    color: #cbd5e0;
}

.match-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #2d3748;
}

.match-info {
    font-size: 12px;
    color: #718096;
}

.view-btn {
    padding: 6px 15px;
    background: #4a5568;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.view-btn:hover {
    background: #718096;
}

.loading-message,
.no-results,
.error-message {
    text-align: center;
    padding: 40px;
    background: #1a1a1a;
    border-radius: 12px;
    color: #94a3b8;
    font-style: italic;
}

.error-message {
    color: #fc8181;
}