/* Shared by autocomplete results and search history. Explicit color pairs keep
   badge text readable in both light and dark themes. */
.item-val-right > .keterangan-terpilih {
    display: inline-block;
    margin: 0;
    padding: 0 5px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 20px;
    background-color: #FEE2E2;
    color: #B91C1C;
}

.keterangan-terpilih[data-suggestion-type="Alamat"] {
    background-color: #FEE2E2;
    color: #B91C1C;
}

.keterangan-terpilih[data-suggestion-type="Area"] {
    background-color: #DBEAFE;
    color: #1D4ED8;
}

.keterangan-terpilih[data-suggestion-type="Kota"],
.keterangan-terpilih[data-suggestion-type="Kabupaten"],
.keterangan-terpilih[data-suggestion-type="Kota/Kabupaten"] {
    background-color: #DCFCE7;
    color: #15803D;
}

.keterangan-terpilih[data-suggestion-type="Perumahan"],
.keterangan-terpilih[data-suggestion-type="Properti Baru"] {
    background-color: #F3E8FF;
    color: #7E22CE;
}

.keterangan-terpilih[data-suggestion-type="Tempat Populer"] {
    background-color: #FEF3C7;
    color: #92400E;
}
