/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Fallback variables */
    --primary-color: #4f46e5; 
    --primary-hover: #4338ca;
    --bg-body: #f9fafb;
    --text-main: #111827;
    --text-muted: #6b7280;
    --card-bg: #ffffff;
    --border-color: #e5e7eb;
    --input-focus: rgba(79, 70, 229, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    /* HAPUS/KOMENTARI BARIS BERIKUT:
    display: flex;
    justify-content: center;
    align-items: center;
    */
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5; /* Tambahan agar teks lebih enak dibaca */
}

/* Tambahkan class khusus untuk halaman Login agar tetap tengah */
body.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

.login-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-header a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.login-header h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.025em;
    margin-bottom: 8px;
}

.login-header p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-main);
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.2s;
    outline: none;
    font-family: inherit;
}

.form-group input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--input-focus);
}


.form-group-staff {
    margin-bottom: 20px;
}

.form-group-staff label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-main);
}

.form-group-staff input {
    /* width: 100%; */
    padding: 12px 16px;
    font-size: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.2s;
    outline: none;
    font-family: inherit;
}

.form-group-staff input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--input-focus);
}

.btn-primary {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 10px;
}

.btn-primary:hover {
    filter: brightness(90%);
}

.error-box {
    background-color: #fef2f2;
    border: 1px solid #fee2e2;
    color: #b91c1c;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.875rem;
    margin-bottom: 20px;
    text-align: center;
}

.lang-switch {
    margin-top: 24px;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.lang-switch a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin: 0 4px;
}

.lang-switch a:hover {
    text-decoration: underline;
}

/* Dashboard Layout */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* Sidebar */
.sidebar {
    width: 260px;
    background: #ffffff;
    border-right: 1px solid var(--border-color);
    padding: 24px;
    display: flex;
    flex-direction: column; /* Mengatur konten secara vertikal */
    position: fixed;
    height: 100vh;
    height: -webkit-fill-available; /* Fix untuk browser mobile */
    transition: all 0.3s;
    z-index: 100;
}


.sidebar-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Area Menu agar bisa di-scroll jika item terlalu banyak */
.nav-menu {
    list-style: none;
    flex-grow: 1; 
    overflow-y: auto; /* Menu akan scroll jika kepanjangan */
    overflow-x: hidden;
    margin-bottom: 20px;
    padding-right: 5px; /* Spasi untuk scrollbar */
}

/* Styling Scrollbar halus untuk Menu (Opsional) */
.nav-menu::-webkit-scrollbar {
    width: 4px;
}
.nav-menu::-webkit-scrollbar-thumb {
    background: #e5e7eb;
    border-radius: 10px;
}

.nav-item {
    margin-bottom: 4px;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
}

.nav-link:hover, .nav-link.active {
    background: var(--input-focus);
    color: var(--primary-color);
}

/* Sidebar Footer (Logout area) */
.sidebar-footer {
    margin-top: auto; /* Mendorong elemen ini ke paling bawah sidebar */
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    background: #ffffff;
}

.sidebar-footer .nav-link {
    color: #ef4444; /* Warna merah untuk tombol logout */
    font-weight: 600;
    transition: all 0.2s;
}

.sidebar-footer .nav-link:hover {
    background-color: #fef2f2; /* Background merah sangat muda saat di-hover */
    color: #dc2626; /* Merah sedikit lebih gelap */
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 260px;
    padding: 32px;
    background: var(--bg-body);
    min-width: 0; /* Penting: mencegah flex item meluap */
    width: 100%;
}

.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.stat-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.stat-card h4 {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.stat-card .value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

/* Responsive */

@media (max-width: 768px) {
    .sidebar { transform: translateX(-100%); width: 0; padding: 0; }
    .stats-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(24px, 1fr));
        gap: 10px;
        margin-bottom: 15px;
    }

    .sidebar.active { transform: translateX(0); width: 260px; padding: 24px; }
}

/* Update CSS untuk Hamburger */
.mobile-topbar {
    display: none;
    background: white;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 101;
}

#hamburger-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .mobile-topbar { display: flex; }
    .sidebar { 
        left: -260px; /* Standar sembunyi */
        transform: none; /* Hapus transform agar tidak konflik */
        width: 260px;
        transition: left 0.3s ease;
    }
    .sidebar.active { 
        left: 0; /* Munculkan */
        width: 260px;
    }
    .main-content { margin-left: 0; padding: 20px;}
    
    /* Overlay saat menu terbuka */
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 99;
    }
    .sidebar-overlay.active { display: block; }
    /* Memastikan body tidak bisa scroll horizontal saat sidebar muncul */
    body {
        overflow-x: hidden;
        display: block; /* Kembalikan dari flex ke block agar layout mengalir ke bawah */
    }
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99;
}
.sidebar-overlay.active { display: block; }


/* Submit ticket */
        .ticket-form { max-width: 800px; background: white; padding: 30px; border-radius: 12px; border: 1px solid var(--border-color); }
        .form-row { display: flex; gap: 20px; margin-bottom: 20px; }
        .form-col { flex: 1; }
        textarea { width: 100%; padding: 12px; border: 1px solid var(--border-color); border-radius: 8px; font-family: inherit; resize: vertical; min-height: 150px; }
        textarea:focus, select:focus { border-color: var(--primary-color); outline: none; box-shadow: 0 0 0 4px var(--input-focus); }
        select { width: 100%; padding: 12px; border: 1px solid var(--border-color); border-radius: 8px; background: white; }
        .upload-box { border: 2px dashed var(--border-color); padding: 20px; text-align: center; border-radius: 8px; background: #f9fafb; margin-bottom: 20px; }
        .upload-box input { display: none; }
        .upload-box label { display: inline-block; background: white; border: 1px solid #ccc; padding: 8px 15px; border-radius: 6px; cursor: pointer; font-size: 14px; }
        
        @media (max-width: 768px) { .form-row { flex-direction: column; gap: 0; } }

/* Button Secondary */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    margin-top:10px;
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #1e293b;
}

/* Button Danger Variant */
.btn-danger-outline {
    background: #fff1f2;
    color: #be123c;
    border: 1px solid #fecdd3;
}

.btn-danger-outline:hover {
    background: #ffe4e6;
    border-color: #fda4af;
}

/* Upload Box Consistency */
.upload-box {
    padding: 20px;
    background: #f8fafc;
    border: 2px dashed #e2e8f0;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
    margin-bottom: 20px;
}

.upload-box:hover {
    border-color: var(--primary-color);
    background: #f1f5f9;
}

.upload-box input[type="file"] {
    display: none;
}

.upload-box label {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.2s;
}

.upload-box label:hover {
    opacity: 0.9;
}

#file-name-display span {
    cursor: help;
    /* border-bottom: 1px dashed #999; */
}

/* Container untuk Tabel Responsive */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    /* Tambahkan bayangan halus */
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* Styling Tabel agar lebih profesional */
table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px; /* Kurangi sedikit agar scroll tidak terlalu jauh */
}

table th {
    background: #f8fafc;
    color: #64748b;
    font-weight: 600;
    text-align: left;
    padding: 12px 15px;
    font-size: 13px;
    border-bottom: 2px solid #e2e8f0;
    white-space: nowrap;
}

table td {
    padding: 12px 15px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    font-size: 14px;
    vertical-align: middle;
}

table tr:hover {
    background-color: #fbfcfe;
}

/* Badge di dalam tabel */
.priority-dot {
    height: 8px;
    width: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}
.priority-high { background: #ef4444; }
.priority-medium { background: #f59e0b; }
.priority-low { background: #10b981; }

/* Styling khusus untuk kolom TIKET / USER agar rapi */
.ticket-info-cell b {
    display: block;
    color: #333;
    margin-bottom: 2px;
}
.ticket-info-cell small {
    color: #999;
}

/* Badge Status agar konsisten dengan gambar */
.status-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
}

/* Modal Fix (untuk tampilan Edit Department di image_349d7d.png) */
.modal-content {
    max-width: 95%;
    width: 500px;
    margin: 30px auto;
}

/* Mobile Fixes */
@media (max-width: 768px) {
    .main-content {
        margin-left: 0;
        padding: 20px;
        padding-top: 20px;
    }
    
    .top-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 20px;
    }

    /* Mencegah teks meluap di cell tabel */
    table td {
        white-space: normal;
        word-wrap: break-word;
    }
    
    .header-actions {
        width: 100%;
        justify-content: space-between;
    }
}

/* Sidebar User Profile Section */
.sidebar-user-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 15px;
    background: rgba(0, 0, 0, 0.15); /* Memberi sedikit kontras dengan background sidebar */
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 10px;
}

.profile-pic-container {
    position: relative;
    margin-bottom: 12px;
}

.profile-pic-container img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.profile-pic-container img:hover {
    transform: scale(1.05);
}

.user-details {
    text-align: center;
    width: 100%;
}

.user-details h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Agar nama panjang tidak merusak layout */
    max-width: 180px;
}

.user-details span {
    display: block;
    font-size: 10px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-top: 5px;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-block;
}

/* Sidebar Footer Adjustment */
.sidebar-footer {
    margin-top: auto;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Hover effect khusus link profil di sidebar */
.user-details a:hover h4 {
    color: var(--primary-color);
    transition: 0.2s;
}

/* Indikator Online (Opsional - jika ingin ditambahkan di pojok foto) */
.profile-pic-container::after {
    content: '';
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 12px;
    height: 12px;
    background: #22c55e; /* Warna hijau online */
    border: 2px solid #1e293b; /* Sesuaikan dengan warna background sidebar */
    border-radius: 50%;
}
/*
.notif-btn { position: relative; background: none; border: none; font-size: 20px; cursor: pointer; color: #64748b; }
.badge-count { 
    position: absolute; top: -5px; right: -5px; background: #ef4444; color: white; 
    font-size: 10px; padding: 2px 5px; border-radius: 10px; border: 2px solid #fff;
}
.notif-content { 
    position: absolute; right: 0; top: 40px; width: 300px; background: #fff; 
    border: 1px solid #e2e8f0; border-radius: 12px; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    display: none; z-index: 1000;
}
.notif-item { display: block; padding: 12px 16px; border-bottom: 1px solid #f1f5f9; text-decoration: none; color: #334155; transition: 0.2s; }
.notif-item:hover { background: #f8fafc; }
.notif-item.unread { background: #eff6ff; border-left: 3px solid var(--primary-color); }
.notif-item p { margin: 0; font-size: 13px; line-height: 1.4; }
.notif-item span { font-size: 11px; color: #94a3b8; }
*/

/* -------- end of Notifications ---------- */
/* Container Section */
.notif-section {
    display: flex;
    justify-content: center;
    padding: 10px 0 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.notif-dropdown-container {
    position: relative;
}

/* Tombol Lonceng Bulat */
.notif-toggle-btn {
    background: var(--primary-color);
    border: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: #cbd5e1;
    cursor: pointer;
    font-size: 0.7rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notif-toggle-btn:hover {
    background: var(--primary-hover);
    color: white;
    transform: translateY(-2px);
}

/* Badge Angka */
.notif-badge {
    position: absolute;
    top: -7px;
    right: -7px;
    background: #f43f5e;
    color: white;
    font-size: 10px;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 10px;
    border: 1px solid #1e293b; 
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Floating Card Notifikasi */
.notif-float-card {
    display: none;
    position: absolute;
    left: 55px; /* Muncul di kanan tombol */
    top: -10px;
    width: 300px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    overflow: hidden;
    animation: slideInRight 0.3s ease;
}

.notif-float-card.show {
    display: block;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(-15px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Header di dalam Card */
.notif-card-header {
    padding: 16px;
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notif-card-header h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
}

.notif-count-tag {
    background: #fff1f2;
    color: #e11d48;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

/* List Item */
.notif-scroll-area {
    max-height: 320px;
    overflow-y: auto;
}

.notif-row {
    display: flex;
    align-items: flex-start;
    padding: 14px 16px;
    gap: 12px;
    text-decoration: none;
    border-bottom: 1px solid #f8fafc;
    transition: background 0.2s;
    position: relative;
}

.notif-row:hover {
    background: #f1f5f9;
}

.notif-row.unread {
    background: #f0f9ff;
}

.notif-avatar {
    width: 36px;
    height: 36px;
    background: #e2e8f0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    flex-shrink: 0;
}

.notif-row.unread .notif-avatar {
    background: var(--primary-color);
    color: white;
}

.notif-body {
    flex-grow: 1;
}

.notif-msg {
    margin: 0;
    font-size: 13px;
    color: #334155;
    line-height: 1.4;
    font-weight: 500;
}

.notif-timestamp {
    font-size: 11px;
    color: #94a3b8;
    display: block;
    margin-top: 4px;
}

/* Titik Biru Unread */
.unread-indicator {
    width: 8px;
    height: 8px;
    background: #3b82f6;
    border-radius: 50%;
    margin-top: 6px;
}

/* Footer Card */
.notif-see-all {
    display: block;
    text-align: center;
    padding: 12px;
    background: #f8fafc;
    color: #64748b;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border-top: 1px solid #f1f5f9;
}

.notif-see-all:hover {
    color: var(--primary-color);
    background: #f1f5f9;
}

/* -------- end of Notifications ---------- */

/* Styling untuk Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
}
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 16px; width: 16px;
    left: 3px; bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
input:checked + .slider { background-color: var(--primary-color); }
input:checked + .slider:before { transform: translateX(18px); }

/* Status Labels */
.status-container { display: flex; align-items: center; gap: 10px; margin-bottom: 5px; }
.status-label { font-size: 12px; min-width: 60px; font-weight: 500; }

.session-card {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-top: 30px;
}
.session-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}
.session-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #1e293b;
}
.status-badge {
    background: #dcfce7;
    color: #166534;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}
.session-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}
.session-item {
    font-size: 14px;
}
.session-item label {
    display: block;
    color: #64748b;
    font-size: 12px;
    margin-bottom: 4px;
}
.session-item span {
    font-weight: 500;
    color: #334155;
}
/* Agent Badge Style */
.assigned-agent-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    padding: 5px 12px 5px 6px;
    border-radius: 30px;
    border: 1px solid #e2e8f0;
    margin-left: 5px;
}

.agent-mini-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    background: #cbd5e1;
}

.agent-label {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
}

.unassigned-label {
    font-size: 12px;
    color: #94a3b8;
    font-style: italic;
}

.management-card {
        background: #fefce8; /* Warna kuning muda tipis agar terlihat seperti 'area khusus' */
        border: 1px solid #fef08a;
        padding: 20px;
        border-radius: 12px;
        margin-bottom: 30px;
    }
    .management-title {
        font-size: 13px;
        font-weight: 700;
        text-transform: uppercase;
        color: #854d0e;
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .assign-form {
        display: flex;
        gap: 10px;
    }
    .select-modern {
        flex: 1;
        padding: 10px;
        border-radius: 8px;
        border: 1px solid #e2e8f0;
        font-size: 14px;
        background: white;
    }

.bubble-system {
    align-self: center;
    background: #f1f5f9;
    border: 1px dashed #cbd5e1;
    color: #475569;
    font-size: 12px;
    padding: 8px 20px;
    border-radius: 20px;
    margin: 10px 0;
    font-weight: 500;
}
.lock-overlay {
    background: #fff5f5;
    border: 1px solid #feb2b2;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    color: #c53030;
}

.bubble-private {
    align-self: stretch;
    background: #fffbeb; /* Warna kuning peringatan lembut */
    border: 1px solid #fef08a;
    border-radius: 12px;
    padding: 15px;
    margin: 10px 0;
}
.private-label {
    color: #92400e;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
}
.dept-handle-container {
        background: #f1f5f9;
        padding: 15px 20px;
        border-radius: 12px;
        margin-bottom: 25px;
        display: flex;
        align-items: center;
        gap: 12px;
        border: 1px solid #e2e8f0;
    }
    .dept-badge {
        background: #3b82f6;
        color: white;
        padding: 4px 12px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }
    .dept-label {
        font-size: 13px;
        font-weight: 700;
        color: #475569;
        text-transform: uppercase;
    }

    .viewer-badge {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: #ecfdf5;
        color: #059669;
        padding: 4px 10px;
        border-radius: 6px;
        font-size: 12px;
        font-weight: 600;
        border: 1px solid #10b981;
        animation: pulse 2s infinite;
    }

    @keyframes pulse {
        0% { opacity: 1; }
        50% { opacity: 0.6; }
        100% { opacity: 1; }
    }