/* Skills System Styles - Uses theme variables from theme-config.css */

.skill-badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    margin: 0.25rem;
    background-color: var(--theme-secondary);
    color: var(--theme-text-primary);
    border: 1px solid var(--theme-border);
    border-radius: 1rem;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
}

.skill-badge:hover {
    background-color: var(--theme-accent);
    color: var(--theme-text-primary);
    transform: translateY(-1px);
    box-shadow: var(--theme-shadow);
    text-decoration: none;
}

.skill-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.skill-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--theme-shadow-lg);
}

.endorsement-badge {
    background: var(--theme-primary);
    color: white;
    border-radius: 50px;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.skill-search {
    position: relative;
}

.skill-search .search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--theme-bg-white);
    border: 1px solid var(--theme-border);
    border-radius: 0.375rem;
    box-shadow: var(--theme-shadow-lg);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
}

.search-suggestion-item {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--theme-bg-light);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.search-suggestion-item:hover {
    background-color: var(--theme-bg-light);
}

@media (max-width: 768px) {
    .skill-badge {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
        margin: 0.125rem;
    }
}