/* ==================================================
   Features – Tag-style Input (Pilbe child-theme)
   ================================================== */

/* Container for tag chips */
.pilbe-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin-bottom: 12px;
    min-height: 28px;
}

/* Individual tag chip */
.pilbe-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f0f4ff;
    color: #1a2b57;
    border: 1px solid #c9d4f0;
    border-radius: 20px;
    padding: 5px 10px 5px 14px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
    animation: pilbe-tag-in 0.2s ease;
}
.pilbe-tag:hover {
    background: #e2eaff;
    border-color: #a3b5e0;
}

@keyframes pilbe-tag-in {
    from { opacity: 0; transform: scale(0.85); }
    to   { opacity: 1; transform: scale(1); }
}

/* Remove button inside tag */
.pilbe-tag-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 50%;
    background: rgba(26, 43, 87, 0.12);
    color: #1a2b57;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.pilbe-tag-remove:hover {
    background: #e74c3c;
    color: #fff;
}

/* Input row */
.pilbe-features-add-row {
    display: flex;
    gap: 10px;
    align-items: center;
}
.pilbe-features-add-row .form-control {
    flex: 1;
    max-width: 400px;
}

/* Add button */
#pilbe-feature-add-btn {
    white-space: nowrap;
    border: 1px solid var(--houzez_primary, #0073e6);
    color: var(--houzez_primary, #0073e6);
    background: transparent;
    border-radius: 6px;
    padding: 7px 18px;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
}
#pilbe-feature-add-btn:hover {
    background: var(--houzez_primary, #0073e6);
    color: #fff;
}

/* Responsive */
@media (max-width: 575px) {
    .pilbe-features-add-row {
        flex-direction: column;
    }
    .pilbe-features-add-row .form-control {
        max-width: 100%;
    }
}
