th {
    white-space: nowrap;
}
.img-logo {
    width: 54px;
}
.tombol-toggler .rectanguler {
    width: 32px;
    height: 6px;
    border-radius: 3px;
    border: 0.1px solid #ffffff5f;
    background: linear-gradient(180deg, #3c94ff 0%, #7885b0 100%);
}
mark {
    background-color: #ffe066;
    padding: 0 2px;
    border-radius: 3px;
}
.chat-highlight-active {
    background-color: rgba(255, 255, 0, 0.097) !important;
    /* outline: 2px solid orange; */
}

.text-logo {
    font-size: 28px;
    margin-top: 24px;
    font-weight: 800 !important;
    margin-left: 5px;
    /* line-height: 100%; */
    margin-bottom: 20px;
}

.btn-cari {
    width: 20px;
    height: 20px;
    font-size: 9px;
    padding: 0;
    /* margin: 2px; */
    border-radius: 5px;
    border: 1px solid #6c757d;
    background-color: transparent;
    color: #6c757d;
    cursor: pointer;
}

.matchCount {
    position: absolute;
    right: 10px;
    bottom: -35px;
    background: #ffffff;
    padding: 8px 12px;
    border-radius: 10px;
}

.btn-cari:hover {
    background-color: #6c757d;
    color: white;
}

.floating-faq {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 1000;
    display: none;
    flex-direction: column;
    border-radius: 20px;
    background: var(--background-primary, #edf0f2);
    box-shadow: 0px 70px 20px 0px rgba(17, 19, 11, 0),
        0px 45px 18px 0px rgba(17, 19, 11, 0.01),
        0px 0px 30px 0px rgba(17, 19, 11, 0.09);
    width: 450px;
    height: 600px;
    overflow: hidden;
}

.floating-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1001;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--Primary, #11130b);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #ddd; /* opsional: beri border tipis agar tidak flat */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
}

.floating-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.floating-btn img {
    /* width: 60%; */
    height: 45%;
    object-fit: contain;
}
.bottom-chat {
}

.parent-chat-instant {
    display: flex;
    /* flex-direction: column; supaya konten tersusun ke bawah */
    width: 450px;
    max-height: 400px; /* atur tinggi maksimal sesuai kebutuhan */
    overflow-y: auto;
    gap: 10px;
    padding-right: 5px; /* beri ruang agar scroll tidak menutupi konten */
    padding: 15px 30px;
    border-top: 1px solid rgba(66, 66, 66, 0.3);
    background: var(--White, #fff);
}
.parent-chat-instant {
    display: flex;
    width: 450px;
    align-items: flex-start;
    gap: 10px;

    overflow-y: auto; /* tetap bisa scroll */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer dan Edge lama */
}

.parent-chat-instant::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}
.chat-instant {
    border-radius: 50px;
    border: 1px solid #3c94ff;
    background: rgba(168, 198, 159, 0.05);
    color: #3c94ff;
    font-feature-settings: "liga" off, "clig" off;
    font-family: Nunito;
    white-space: nowrap;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 135%; /* 16.2px */
    letter-spacing: -0.5px;
    display: flex;
    padding: 8px 12px;
    align-items: center;
    gap: 20px;
    width: fit-content;
}

.landing-sendImg {
    width: fit-content;
    position: relative;
}

.ImgLanding{
    transition: all 0.2s ease-in-out;
    border-radius: 10px;
    border: 1px solid #3c94ff;
    background: rgba(168, 198, 159, 0.05);
    color: #3c94ff;
    font-feature-settings: "liga" off, "clig" off;
    font-family: Nunito;
    white-space: nowrap;

    align-items: center;
    width: 100px;
    height: 100px;
    object-fit: cover;

    width: 100px;
    height: 100px;
    object-fit: cover;
}
.hapus-gmbr-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 16px;
    cursor: pointer;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;
}
.img-chat-u{
    max-width: 100%;
    height: auto;
    cursor: pointer;
    max-height: 260px;
}
.active-plh-gmbr{
    border: 3px solid #3c94ff;
    border-radius: 10px;
}

.column-chat-pesan {
    display: flex;
    /* flex-direction: column;         <== Tambahan agar isi bertumpuk vertikal */
    align-items: center; /* Pusat secara horizontal */
    justify-content: center; /* Pusat secara vertikal */
    text-align: center; /* Untuk teks agar rata tengah */
    width: 100%;
    padding: 20px 30px;
    gap: 10px;
    border-top: 1px solid rgba(66, 66, 66, 0.3);
    background: var(--White, #fff);
}

.column-chat-pesan {
}
.column-chat {
    display: flex;
    width: 100%;
    padding: 10px 20px;
    align-items: center;
    gap: 20px;
    border-radius: 50px;
    border: 1px solid rgba(66, 66, 66, 0.6);
    background: var(--White, #fff);
}
.sisipan-chat {
    border: none;
    background: none;
}
.kirim-chat {
    display: flex;
    /* width: 52.165px; */
    padding: 8px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 66px;
    background: #3c94ff;
    border: none;
}
.img-ico-histori {
    width: 60%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.case-label-histori {
    display: flex;
    flex-direction: column;
    min-width: 0; /* ✅ WAJIB untuk truncate bekerja */
}
.case-label-histori .subhead .blt {
    height: 5px;
    width: 5px;
    border-radius: 999px;
    background: #424242;
}
.case-label-histori .subhead span {
    color: var(--Text, #424242);
    text-align: justify;
    font-feature-settings: "liga" off, "clig" off;
    font-family: Nunito;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 135%; /* 18.9px */
    letter-spacing: -0.5px;
}
.case-label-histori .subhead {
    display: flex;
    align-items: center; /* vertikal tengah */
    gap: 10px;
    height: 100%; /* pastikan punya tinggi yang cukup */
}

.case-label-histori .head {
    color: var(--Text, #424242);
    font-feature-settings: "liga" off, "clig" off;
    font-family: Nunito;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 135%;
    letter-spacing: -0.5px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.base-show-histori {
    cursor: pointer;
}
.img-histori-1 {
    width: 40px;
}
.parent-icon-histori-flowkita {
    background: #5d6e7b;
    stroke-width: 5px;
    border: 4px solid #d2e8ff;
    width: 45px;
    height: 45px;
    display: flex;
    /* flex-direction: column;         <== Tambahan agar isi bertumpuk vertikal */
    align-items: center; /* Pusat secara horizontal */
    justify-content: center; /* Pusat secara vertikal */
    text-align: center; /* Untuk teks agar rata tengah */
    border-radius: 999px;
    flex-shrink: 0;
}
.parent-icon-chat-flowkita {
    background: #5d6e7b;
    stroke-width: 5px;
    border: 5px solid #dfe5e2;
    width: 50px;
    height: 50px;
    display: flex;
    /* flex-direction: column;         <== Tambahan agar isi bertumpuk vertikal */
    align-items: center; /* Pusat secara horizontal */
    justify-content: center; /* Pusat secara vertikal */
    text-align: center; /* Untuk teks agar rata tengah */
    border-radius: 999px;
    flex-shrink: 0;
}
.top-chat-flowkita {
    display: flex;
    position: relative;
    width: 100%;
    z-index: 2;
    flex-shrink: 0;
    padding: 15px 25px;
    justify-content: space-between;
    align-items: center;
    background: #3c94ff;
}
/* .bottom-chat{
    position: absolute;
    bottom: 0px;
} */
.bottom-chat {
    flex-shrink: 0;
    padding: 10px;
    background: white;
    border-top: 1px solid #ccc;
}

.chat-flowkita {
    z-index: 1;
    padding: 10px 10px 10px 10px;

    position: relative;
    width: 100%;
    /* height: 50vh; */
    max-height: 700px;
    overflow-y: auto !important; /* Aktifkan scroll vertikal */
    scroll-behavior: smooth; /* Scroll halus */
}
.chat-flowkita {
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}
.chat-flowkita::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

.parent-chat-instant {
    -webkit-tap-highlight-color: transparent; /* Safari iOS */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Modern browser */
}

.chat-instant {
    user-select: none;
}

.opsi-chat span {
    cursor: pointer;
    padding: 10px;
}
.name-avatar-nav {
    color: var(--Primary, #11130b);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px; /* 125% */
}
.avatar_nav {
    max-height: 30px;
    top: 0;
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 99999px;
    overflow: hidden;
    border: #11130b 1px solid;
}
.flag_nav {
    max-height: 30px;
    top: 0;
    position: relative;
    width: 30px;
    border-radius: 5px;
    overflow: hidden;
    border: #11130b 1px solid;
}
.name-flag-nav {
    color: var(--Primary, #11130b);
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    line-height: 20px; /* 125% */
}
.opsi-chat .active {
    border-radius: 18px;
    color: var(--White, #fff);
    font-feature-settings: "liga" off, "clig" off;
    font-family: Nunito;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 135%; /* 16.2px */
    letter-spacing: -0.5px;
    padding: 10px;
    background: #3c94ff;
}
.cari_chat {
    border: none;
    margin-left: -5px;
    width: 110px;
}

.cari-isi-chat span {
    cursor: pointer;
    padding: 10px;
}
.cari-isi-chat {
    border-radius: 66px;
    background: var(--White, #fff);
    box-shadow: 0px 70px 20px 0px rgba(17, 19, 11, 0),
        0px 45px 18px 0px rgba(17, 19, 11, 0.01),
        0px 0px 30px 0px rgba(17, 19, 11, 0.09);
    color: var(--Text, #424242);
    font-feature-settings: "liga" off, "clig" off;
    font-family: Nunito;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    bottom: -60px;
    right: 10px;
    line-height: 135%; /* 16.2px */
    letter-spacing: -0.5px;
    position: absolute;
    width: fit-content;
    padding: 12px 8px;
}
.opsi-chat {
    border-radius: 66px;
    background: var(--White, #fff);
    box-shadow: 0px 70px 20px 0px rgba(17, 19, 11, 0),
        0px 45px 18px 0px rgba(17, 19, 11, 0.01),
        0px 0px 30px 0px rgba(17, 19, 11, 0.09);
    color: var(--Text, #424242);
    font-feature-settings: "liga" off, "clig" off;
    font-family: Nunito;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    bottom: -60px;
    left: 10px;
    line-height: 135%; /* 16.2px */
    letter-spacing: -0.5px;
    position: absolute;
    width: fit-content;
    padding: 15px 8px;
}
.case-base-chat {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}
.chat-histori {
    width: 450px;
    /* display: none; */
    height: 484px;
}
.base-histori {
    display: flex;
    align-items: center;
    flex: 1; /* supaya isi kiri bisa ambil sisa space */
    gap: 15px;
    flex: 1; /* ✅ supaya isi kiri ambil space maksimal */
    min-width: 0; /* ✅ penting */
}
.parent-histori {
    max-height: 530px;
    overflow: hidden;
    position: relative;
}

.card-histori {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(66, 66, 66, 0.3);
    justify-content: space-between;
    width: 100%;
    padding: 20px 30px;
    min-width: 0; /* ✅ penting agar truncation bekerja */
}
.card-histori:hover {
    background: #3c94ff17;
}

.name-chat-flowkita {
    color: var(--White, #fff);
    font-feature-settings: "liga" off, "clig" off;
    font-family: Nunito;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 135%; /* 27px */
    letter-spacing: -0.5px;
}
.status-chat-flowkita {
    color: var(--White, #fff);
    text-align: justify;
    font-feature-settings: "liga" off, "clig" off;
    font-family: Nunito;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 135%; /* 21.6px */
    letter-spacing: -0.5px;
}
.chat-from-support {
    color: var(--Text, #424242);
    font-feature-settings: "liga" off, "clig" off;
    font-family: Nunito;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 135%; /* 18.9px */
    letter-spacing: -0.5px;
    display: inline-flex;
    padding: 15px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    border-radius: 20px 20px 20px 5px;
    background: rgba(66, 66, 66, 0.1);
    max-width: 300px;
}
.chat-from-user {
    color: var(--Text, #424242);
    font-feature-settings: "liga" off, "clig" off;
    font-family: Nunito;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 135%; /* 18.9px */
    letter-spacing: -0.5px;
    display: inline-flex;
    padding: 15px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    border-radius: 20px 20px 5px 20px;
    background: rgba(128, 208, 255, 0.4);
    max-width: 300px;
}
.parent-chat {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.required::after {
    content: " *";
    color: red;
    font-weight: bold;
  }

/* FlowKita di kiri */
.chat-from-support {
    align-self: flex-start;
}

/* User di kanan */
.chat-from-user {
    align-self: flex-end;
}

.parent-chat {
}
.double-check-icon {
    position: relative;
    display: inline-block;
    width: 16px;
    height: 16px;
  }

  .double-check-icon.msg-unread .check {
      border-color: #424242;
  }

  .double-check-icon.msg-read .check {
      border-color: #34b7f1;
  }
    .double-check-icon .check {
    position: absolute;
    width: 6px;
    height: 10px;
    border: solid ;
    /* border: solid #34b7f1; */
    border-width: 0 2px 2px 0;
    display: inline-block;
    transform: rotate(45deg);
  }
  .chat-msg-r-a{
    display: flex;
        flex-direction: column;
  }

  .double-check-icon .check:first-child {
      left: 0;
      top: 4px;
}

  .double-check-icon .check:last-child {

    left: 6px;
    top: 5px;
    width: 4px;


  }
.tmp-waktu-p{
 display: flex;gap:5px;margin-top:10px
}
.text-max {
    display: inline-block;
    max-width: 150px;   /* batas panjang teks */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.text-max-tooltip {
    max-width: 180px; /* sesuaikan panjang maksimal */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    cursor: pointer;
}

.text-max-tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%; /* posisi tooltip di atas elemen */
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 99;
}

.text-max-tooltip::after {
    content: '';
    position: absolute;
    bottom: 115%; /* sedikit di bawah tooltip */
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.text-max-tooltip:hover::before,
.text-max-tooltip:hover::after {
    opacity: 1;
}

.text-max-copy {
    display: inline-block;
    max-width: 150px;   /* batas panjang teks */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    color: #007bff; /* biru biar kelihatan bisa diklik */
}
.text-max-copy:hover {
    text-decoration: underline;
}
.tooltip-copy {
    position: absolute;
    background: #333;
    color: #fff;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 4px;
    display: none;
    z-index: 9999;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  }
.img-clickable{
    max-width: 100px;
    max-height: 100px;
}
.modal-confirm-alert {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.1rem; /* jarak antara icon dan teks */
    width: 100%;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 1rem 0;
    padding-bottom: 2rem;
}

.modal-confirm-alert i {
    font-size: 3rem;
    margin-bottom: 0.3rem;
    animation: popIn 0.3s ease;
}
/* Animasi lembut muncul */
@keyframes popIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.layout-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    backdrop-filter: blur(3px);
    z-index: 1050;

    display: none; /* default mati */
    align-items: center;
    justify-content: center;

    transition: opacity .3s ease;
    opacity: 0;
}
.layout-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.35);
    display: none; /* tampilkan via JS */
    align-items: center;
    justify-content: center;
    z-index: 0;
}

.overlay-content{
    color: #fff;
    font-weight: 600;
    font-size: 16px;
}

.dots::after{
    content: '';
    animation: dots 1.5s steps(3, end) infinite;
}

@keyframes dots {
    0%   { content: ''; }
    33%  { content: '.'; }
    66%  { content: '..'; }
    100% { content: '...'; }
}
.layout-menu-toggle{
    z-index: 1;

}
.like-testi ,.komen-testi {
    margin-top: 5px;
}
.like-testi i,.komen-testi i{
    cursor: pointer;
}
.like-testi span,.komen-testi span{
    margin-top: 1px;
    margin-left: 3px;
}


/* =========================
   CARD
========================= */
.comment-card-mdl-WFL {
    background: #ffffff;
    border: 1px solid #ced1d5;
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 14px;
}

/* =========================
   BODY
========================= */
.comment-body-mdl-WFL {
    display: flex;
    gap: 12px;
}

/* =========================
   AVATAR
========================= */
.comment-avatar-mdl-WFL {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e9ecef;
    background: #f1f5f9;
    flex-shrink: 0;
}

/* =========================
   CONTENT
========================= */
.comment-content-mdl-WFL {
    flex: 1;
}

/* =========================
   HEADER
========================= */
.comment-header-mdl-WFL {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.comment-name-mdl-WFL {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.comment-time-mdl-WFL {
    font-size: 12px;
    color: #9ca3af;
}

/* =========================
   PESAN
========================= */
.comment-text-mdl-WFL {
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
    margin: 4px 0 6px;
}

/* =========================
   IMAGE
========================= */
.comment-image-mdl-WFL-wrapper-mdl-WFL {
    margin-top: 6px;
    max-width: 260px;
}

.comment-image-mdl-WFL {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: transform .2s ease, box-shadow .2s ease;
}

.comment-image-mdl-WFL:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 14px rgba(0,0,0,.12);
}

/* =========================
   RESPONSIVE TIME
========================= */
.desktop-only-mdl-WFL {
    display: inline;
}

.mobile-only-mdl-WFL {
    display: none;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 576px) {
    .comment-card-mdl-WFL {
        padding: 12px;
    }

    .comment-avatar-mdl-WFL {
        width: 40px;
        height: 40px;
    }

    .comment-header-mdl-WFL {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .desktop-only-mdl-WFL {
        display: none;
    }

    .mobile-only-mdl-WFL {
        display: block;
        margin-bottom: 4px;
    }

    .comment-image-mdl-WFL-wrapper-mdl-WFL {
        max-width: 100%;
    }
}



/* ===============================
   MODAL KOMENTAR ULASAN
================================ */

/* Header */
.modal-komen-header-mdl-WFL {
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

/* Body */
.modal-komen-body-mdl-WFL {
    background: #f9fafb;
    padding: 16px;
}

/* List komentar */
.comment-list-mdl-WFL {
    max-height: 320px;
    overflow-y: auto;
    padding-right: 4px;
}

/* Scrollbar halus */
.comment-list-mdl-WFL::-webkit-scrollbar {
    width: 6px;
}
.comment-list-mdl-WFL::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 6px;
}

/* Footer */
.modal-komen-footer-mdl-WFL {
    /* border-top: 1px solid #e5e7eb; */
    background: #ffffff;
}

/* ===============================
   MOBILE FULLSCREEN BEHAVIOR
================================ */
@media (max-width: 576px) {

    .modal-komen {
        border-radius: 0;
    }

    .modal-komen-body-mdl-WFL {
        padding: 12px;
    }

    .comment-list-mdl-WFL {
        max-height: calc(100vh - 220px);
    }

    .modal-komen-footer-mdl-WFL {
        position: sticky;
        bottom: 0;
        z-index: 10;
    }
}
