/* Champion Info Styles */
.champion-info-link {
    text-decoration: none;
    color: inherit;
}

.champion-info {
    display: flex;
    align-items: center;
    margin: 10px 0;
    padding: 8px;
    border: 1px solid #444;
    border-radius: 6px;
    background-color: #2a2a2a;
    transition: all 0.2s ease;
    text-decoration: none;
    color: #e0e0e0;
}

.champion-info:hover {
    transform: scale(1.02);
    background-color: #3a3a3a;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    border-color: #555;
}

.champion-image {
    margin-right: 10px;
    flex-shrink: 0;
}

.champion-image img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #444;
}

.champion-details {
    flex: 1;
    min-width: 0;
}

.champion-name {
    margin: 0;
    font-size: 1em;
    color: #f0f0f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Champions Container */
.champions-container {
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #333;
}

/* Champions Toolbar */
.champions-toolbar {
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

/* Search Styles */
.champions-search {
    flex: 1;
    min-width: 250px;
}

.champions-search-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #444;
    border-radius: 6px;
    font-size: 16px;
    background-color: #2a2a2a;
    color: #e0e0e0;
    box-sizing: border-box;
}

.champions-search-input::placeholder {
    color: #888;
}

.champions-search-input:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 5px rgba(0, 124, 186, 0.3);
}

/* Filter Styles */
.champions-filter {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 12px;
    border: 1px solid #444;
    background: #2a2a2a;
    color: #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s;
}

.filter-btn:hover {
    background: #3a3a3a;
    border-color: #555;
}

.filter-btn.active {
    background: #007cba;
    color: white;
    border-color: #007cba;
}

/* Champions Grid */
.all-champions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
    margin: 15px 0;
}

/* Champion Card */
.champion-card-link {
    text-decoration: none;
    color: #e0e0e0;
}

.champion-card-link:hover {
    color: #f0f0f0;
}

.champion-card {
    display: flex;
    align-items: center;
    border: 1px solid #444;
    border-radius: 6px;
    padding: 8px;
    background: #2a2a2a;
    transition: all 0.2s ease;
    cursor: pointer;
}

.champion-card:hover {
    transform: scale(1.02);
    background-color: #3a3a3a;
    border-color: #555;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.champion-card .champion-image {
    margin-right: 8px;
    flex-shrink: 0;
}

.champion-card .champion-image img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #444;
}

.champion-card .champion-name {
    flex: 1;
    font-size: 0.9em;
    color: #f0f0f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Count Text */
.champions-count {
    text-align: center;
    margin-top: 10px;
    color: #aaa;
    font-size: 0.85em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .champions-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .champions-search {
        min-width: auto;
        max-width: none;
    }
    
    .champions-filter {
        justify-content: center;
    }
    
    .filter-btn {
        font-size: 10px;
        padding: 5px 8px;
    }
    
    .all-champions-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 6px;
    }
    
    .champion-card {
        padding: 6px;
    }
    
    .champion-card .champion-image img {
        width: 32px;
        height: 32px;
    }
    
    .champion-card .champion-name {
        font-size: 0.8em;
    }
}