/* =================================================================
                            ICON TOOLTIPS
================================================================= */
#info-icon
{
    cursor: pointer; font-size: 10px; opacity: 0.6;
    display: inline-flex; justify-content: center; align-items: center;
    width: 18px; height: 18px; border-radius: 50%;
    position: relative; top: -5px;
}
.tooltip-inner {
    text-align: left !important;
    max-width: 300px; /* Adjust width as needed */
}

/* =================================================================
          STYLE KOLOM FILTER DAN SEARCH DI INDEX
================================================================= */
/* Menyamaratakan tinggi kolom input dengan select */
.row .col-md-3 {
display: flex;
align-items: stretch;
}

/* Mengatur tinggi input dan select menjadi sama */
.row .col-md-3 .form-control,
.row .col-md-3 .select2-container {
height: 100% !important;
}

/* Agar lebar bubble menyesuaikan panjang teks */
.direct-chat-text {
    display: inline-block;
    max-width: 80%; /* Batasi lebar maksimal bubble */
    word-wrap: break-word; /* Pisahkan kata yang terlalu panjang */
    background-color: #dcf8c6; /* Sesuaikan dengan warna bubble */
    padding: 10px;
    border-radius: 10px;
}

/* Tambahkan ruang di bawah bubble untuk timestamp */
.direct-chat-msg .direct-chat-text + .direct-chat-timestamp {
    display: block;
    margin-top: 5px;
    font-size: 0.8em;
    color: #666; /* Sesuaikan warna timestamp */
}

/* Bubble chat untuk pengirim */
.direct-chat-msg.right .direct-chat-text {
    background-color: #007bff; /* Sesuaikan warna dengan tema pengirim */
    color: white;
}

/* Bubble chat untuk penerima */
.direct-chat-msg .direct-chat-text {
    background-color: #e1e1e1; /* Sesuaikan warna dengan tema penerima */
}

.direct-chat-msg.right {
    text-align: right;
    margin-right: 10px;
}

.direct-chat-name.right {
    float: right;
}

.direct-chat-timestamp.right {
    float: left;
}
