/*
 * Users Feature Styles
 * Styles for user profile and account management pages
 */

/* ===========================================
   SKILLS SELECTOR (Note: Similar to projects but kept separate for user profiles)
   =========================================== */

.skills-selector {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    padding: 0.375rem 0.75rem;
    min-height: calc(2.25rem + 2px);
    background: white;
}

.skills-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.skills-pills:empty {
    margin-bottom: 0;
}

.skill-pill {
    display: inline-flex;
    align-items: center;
    background-color: #007bff;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    gap: 0.25rem;
}

.skill-pill-remove {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 1rem;
    height: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.75rem;
    line-height: 1;
}

.skill-pill-remove:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.skills-dropdown {
    width: 100%;
    border: none;
    outline: none;
    background: none;
    font-size: 0.875rem;
}

.skills-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ced4da;
    border-top: none;
    border-radius: 0 0 0.25rem 0.25rem;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.skill-suggestion {
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    border-bottom: 1px solid #f8f9fa;
}

.skill-suggestion:hover {
    background-color: #f8f9fa;
}

.skill-suggestion:last-child {
    border-bottom: none;
}

.skills-selector-container {
    position: relative;
}

/* ===========================================
   COMPANY AUTOCOMPLETE
   =========================================== */

.company-autocomplete-container {
    position: relative;
}

.company-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ced4da;
    border-top: none;
    border-radius: 0 0 0.25rem 0.25rem;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.company-suggestion {
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    border-bottom: 1px solid #f8f9fa;
}

.company-suggestion:hover {
    background-color: #f8f9fa;
}

.company-suggestion:last-child {
    border-bottom: none;
}
