/* =========================================
   Phase-2 Skills – AJAX Search UI
   ========================================= */

.rr-skill-results {
    position: relative;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    max-height: 220px;
    overflow-y: auto;
    z-index: 999;
    margin-bottom: 8px;
}

.rr-skill-item {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    border-bottom: 1px solid #f1f1f1;
}

.rr-skill-item:last-child {
    border-bottom: none;
}

.rr-skill-item:hover {
    background-color: #f5f7fa;
}

/* Selected skills (chips) */
.rr-skill-selected {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 15px;
}

.rr-skill-chip {
    background: #eef3ff;
    color: #1d3fd1;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.rr-skill-chip b {
    font-weight: bold;
    cursor: pointer;
}

.rr-skill-chip:hover {
    background: #dfe7ff;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .rr-skill-item {
        font-size: 15px;
        padding: 10px;
    }

    .rr-skill-chip {
        font-size: 14px;
    }
}
