:root {
    --sidebar-width: 220px; /* Iets breder voor moderner gevoel */
    --sidebar-collapsed-width: 80px;
    --transition-speed: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --background-color: #ffffff; /* Main content is nu WIT */
    --sidebar-bg: #f5f5f7;       /* Sidebar is lichtgrijs */
    --text-color: #1a1a1a;       /* Harder zwart voor betere leesbaarheid */
    --text-muted: #64748b;       /* Grijs voor inactieve items */
    --border-color: #e2e8f0;
    --primary-color: #007bff;    /* Blijft alleen voor knoppen/logo */
    --font-family: 'Stack Sans Text', sans-serif;
}

body {
    font-family: var(--font-family);
    margin: 0;
    background: var(--background-color);
    color: var(--text-color);
}

/* ====================================================== */
/* === LOGIN SCREEN STYLING (Split Layout) === */
/* ====================================================== */

.login-split-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: 10000; /* Zorg dat het boven alles ligt */
    display: flex;
    overflow: hidden;
}

/* --- Linker Kant (Visual) --- */
.login-left-pane {
    flex: 0 0 40%; /* 40% breedte */
    background: linear-gradient(-45deg, #001932, #0c74ff, #0051b3, #001021);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: white;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.white-logo {
    height: 32px;
    filter: brightness(0) invert(1); /* Maakt logo wit */
    opacity: 0.95;
}

.login-pane-content h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
}

.login-pane-content p {
    font-size: 1.1rem;
    opacity: 0.85;
    line-height: 1.6;
    max-width: 80%;
    font-weight: 300;
}

.login-pane-footer {
    font-size: 0.9rem;
    opacity: 0.6;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

/* --- Rechter Kant (Formulier) --- */
.login-right-pane {
    flex: 1; /* Neemt de rest (60%) */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background-color: #ffffff;
    overflow-y: auto;
}

.login-form-wrapper {
    width: 100%;
    max-width: 420px;
}

.login-header {
    margin-bottom: 40px;
    text-align: left;
}

.login-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.login-header p {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

/* Formulier Elementen */
.login-form-group {
    margin-bottom: 24px;
}

.login-form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.forgot-pass-link {
    font-size: 0.85rem;
    color: var(--primary-color);
    text-decoration: none;
}

.input-icon-wrapper {
    position: relative;
}

.input-icon-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 1rem;
}

.input-icon-wrapper input {
    width: 100%;
    padding: 14px 16px 14px 44px; /* Ruimte voor icoon */
    border: 1px solid #e1e1e1;
    border-radius: 10px;
    font-size: 1rem;
    color: #333;
    transition: all 0.2s ease;
    background-color: #fcfcfc;
    box-sizing: border-box; /* Belangrijk voor padding */
}

.input-icon-wrapper input:focus {
    border-color: var(--primary-color);
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1);
}

/* Login Knop */
.btn-login {
    width: 100%;
    padding: 16px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.btn-login:hover {
    background-color: #0069d9; /* Iets donkerder blauw */
}

.btn-login:active {
    transform: scale(0.98);
}

/* Error Message */
.login-error-msg {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 16px;
    min-height: 20px;
    text-align: center;
}

/* Footer Link */
.login-footer-link {
    margin-top: 32px;
    text-align: center;
    font-size: 0.95rem;
    color: #666;
}

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

.login-footer-link a:hover {
    text-decoration: underline;
}

/* --- Responsive voor Mobiel --- */
@media (max-width: 900px) {
    .login-split-screen {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
    }

    .login-left-pane {
        flex: none;
        width: 100%;
        padding: 40px 30px;
        min-height: 250px;
    }

    .login-pane-content h1 { font-size: 2rem; }
    .login-pane-content p { display: none; } /* Bespaar ruimte op mobiel */
    .login-pane-footer { display: none; }

    .login-right-pane {
        flex: none;
        width: 100%;
        padding: 40px 20px;
    }
}

/* ====================================================== */
/* === HIDE THE MAIN DASHBOARD BY DEFAULT FOR LOGIN FLOW === */
/* ====================================================== */
.container {
    display: none; /* This is the key change - JS will show it after login */
}
/* ====================================================== */


/* ====================================================== */
/* === SIDEBAR (COMPACT & STRAK) - FINAL FIX === */
/* ====================================================== */

.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--sidebar-bg);
    border-right: 1px solid transparent;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transition: width var(--transition-speed);
}

/* Header Compact */
.sidebar-header {
    height: 56px;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.sidebar-logo {
    height: 24px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.2s;
}

#sidebarToggle {
    color: #64748b;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    display: flex; 
    align-items: center; 
    justify-content: center;
}

#sidebarToggle:hover {
    background-color: rgba(0,0,0,0.05);
    color: var(--text-color);
}

/* --- Navigatie Container --- */
.main-nav {
    flex: 1; /* Vult de resterende ruimte onder de header */
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.5rem 0.75rem;
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
}

.main-nav .nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    /* FIX: Zorg dat de lijst de volledige hoogte pakt zodat mt-auto werkt */
    flex: 1; 
    min-height: min-content; 
}

/* --- Navigatie Items --- */
.nav-item {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* FIX: Zorg dat mt-auto items naar beneden duwt */
.nav-item.mt-auto {
    margin-top: auto !important;
}

.nav-item a.nav-link {
    display: flex;
    align-items: center;
    padding: 0.6rem 0.75rem;
    text-decoration: none;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 400;
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
    border: 1px solid transparent;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

/* Iconen */
.nav-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #94a3b8;
    transition: color 0.2s;
    flex-shrink: 0;
}

.nav-text {
    flex-grow: 1;
    transition: opacity 0.2s;
}

/* Pijl */
.nav-arrow {
    font-size: 0.7rem;
    margin-left: auto;
    transition: transform 0.2s;
    color: #94a3b8;
}

/* --- Hover State --- */
.nav-item a.nav-link:hover {
    background-color: rgba(0,0,0,0.04);
    color: #1e293b;
}

.nav-item:hover .nav-icon {
    color: #475569;
}

/* --- Active State --- */
.nav-item.active > a.nav-link {
    background-color: #ffffff;
    color: #0f172a;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.nav-item.active .nav-icon {
    color: #2563eb;
}

.nav-item.active .nav-arrow {
    transform: rotate(180deg);
}

/* --- Submenu --- */
.sub-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: transparent;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, margin 0.3s ease;
    width: 100%;
    opacity: 0;
}

.nav-item.active > .sub-nav-list {
    max-height: 300px;
    margin-top: 4px;
    margin-bottom: 8px;
    opacity: 1;
}

.sub-nav-item {
    width: 100%;
}

.sub-nav-item a {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.5rem 0.5rem 36px;
    color: #64748b;
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s, background-color 0.2s;
    border-radius: 6px;
    margin-left: 4px;
    width: calc(100% - 4px);
    box-sizing: border-box;
    position: relative;
}

.sub-nav-item a::before {
    content: '';
    position: absolute;
    left: 22px;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #e2e8f0;
}

.sub-nav-item a:hover {
    color: #0f172a;
    background-color: rgba(0,0,0,0.02);
}

.sub-nav-item.active a {
    color: #2563eb;
    font-weight: 500;
    background-color: #eff6ff;
}

.sub-nav-item.active a::before {
    background-color: #2563eb;
    width: 2px;
}

/* --- Dividers (HERSTELD) --- */
.nav-divider {
    height: 1px;
    background-color: #e2e8f0; /* Zichtbaar grijs */
    margin: 0.75rem 0; /* Ruimte boven en onder */
    width: 100%;
    flex-shrink: 0; /* Voorkomt dat flexbox hem platdrukt */
    list-style: none;
}

/* --- Collapsed State Aanpassingen --- */
body.sidebar-collapsed .sidebar {
    width: var(--sidebar-collapsed-width);
}

body.sidebar-collapsed .main-content, 
body.sidebar-collapsed .content-wrapper {
    margin-left: var(--sidebar-collapsed-width);
}

body.sidebar-collapsed .sidebar-header {
    padding: 0;
    justify-content: center;
}

body.sidebar-collapsed .sidebar-logo {
    display: none;
}

body.sidebar-collapsed .main-nav {
    padding: 0.5rem 0.5rem;
}

body.sidebar-collapsed .nav-item a.nav-link {
    justify-content: center;
    padding: 0.75rem 0;
}

body.sidebar-collapsed .nav-icon {
    margin-right: 0;
    font-size: 1.2rem;
}

body.sidebar-collapsed .nav-text,
body.sidebar-collapsed .nav-arrow,
body.sidebar-collapsed .sub-nav-list,
body.sidebar-collapsed .notification-badge {
    display: none !important;
}

body.sidebar-collapsed .nav-dots {
    display: flex;
    gap: 4px;
    margin-top: 4px;
    justify-content: center;
}

body.sidebar-collapsed .nav-item[data-tooltip="Activiteit"] .nav-link {
    flex-direction: column;
    gap: 2px;
}

body.sidebar-collapsed .nav-dots .dot {
    width: 5px;
    height: 5px;
    background-color: #cbd5e1;
    border-radius: 50%;
}

body.sidebar-collapsed .nav-dots .dot.active {
    background-color: #2563eb;
}

/* Styling van de bolletjes */
.nav-dots .dot {
    width: 6px;
    height: 6px;
    background-color: #cbd5e1; /* Inactief grijs */
    border-radius: 50%;
    transition: all 0.2s ease;
}

/* Actief bolletje */
.nav-dots .dot.active {
    background-color: #334155; /* donkergrijs */
    transform: scale(1.2);
}

.feature-lock-wrapper.locked > a.nav-link {
    color: #9ca3af;
    cursor: not-allowed;
    background-color: transparent !important;
}

.feature-lock-wrapper.locked > a.nav-link .nav-icon {
    color: #9ca3af;
}

.nav-count {
    font-size: 0.75rem;
    color: #64748b;        /* Grijs */
    background: #e2e8f0;   /* Lichtgrijs achtergrondje voor leesbaarheid */
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
    margin-left: auto;     /* Duwt hem naar rechts */
    margin-right: 8px;     /* Ruimte voor het pijltje */
}

/* Zorg dat het pijltje niet meer zelf naar rechts duwt, anders staat het gek */
.nav-item .nav-link .nav-arrow {
    margin-left: 0; 
}

/* Verberg de teller als hij 0 is (optioneel, class toggle via JS) */
.nav-count.hidden {
    display: none;
}

body.sidebar-collapsed .nav-count {
    display: none !important;
}

/* --- Tooltip for Upgrade --- */
.upgrade-tooltip {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    background-color: #262626;
    color: #f5f5f5;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 10;
    text-align: center;
}

.upgrade-tooltip::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: #262626 transparent transparent transparent;
}

.feature-lock-wrapper.locked:hover .upgrade-tooltip {
    display: block;
}

.upgrade-tooltip p {
    margin: 0 0 12px 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.upgrade-tooltip b {
    color: #ffffff;
}

.button-upgrade {
    width: 100%;
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    background-color: #2563eb;
    color: white;
    font-family: var(--font-family);
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.button-upgrade:hover {
    background-color: #1d4ed8;
}

/* --- Main Content --- */
.main-content {
    margin-left: var(--sidebar-width);
    flex-grow: 1;
    padding: 0 2rem;
    background-color: #ffffff; /* Wit */
    min-height: 100vh;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* Uitlijnen op onderkant */
    margin: 2rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

h1 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.panel {
    background: var(--panel-background);
    padding: 1.5rem;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 1rem;
}

/* --- Filters & Grids --- */
.filter-select {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: #fff;
    font-size: 0.9rem;
}
.filter-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
    padding: 1rem;
    background: #fdfdff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
}
.filter-group-modal > div {
    flex-wrap: nowrap;
}
.filter-group > div {
    display: flex;
    align-items: center;
}
.filter-group strong {
    font-weight: 500;
}
.date-range-inputs {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 0.5rem;
}

.date-range-inputs input[type="date"] {
    width: 100%;
    padding: 7px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: var(--font-family);
    font-size: 0.9rem;
}

.grid {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

/* --- UI Elements --- */
button, .button-primary {
    cursor: pointer;
    padding: 8px 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
    background-color: #f0f0f0;
    font-family: var(--font-family);
    font-weight: 500;
}
.button-primary {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.list-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    margin-bottom: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    position: relative;
    background: var(--panel-background);
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.list-item.follow-up::before,
.list-item.solved::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 8px;
    bottom: 0;
    width: 8px;
    height: 8px;
    border-radius: 8px;
}

.list-item.follow-up::before {
    background-color: #007bff;
}

.list-item:hover {
    border-color: #c0c0c0;
}
.list-item:last-child { border-bottom: none; }

/* --- Master-Detail Layout --- */
.content-wrapper {
    margin-left: var(--sidebar-width);
    display: grid;
    grid-template-columns: 1fr;
}

main.main-content {
    margin-left: 0;
    min-width: 0;
}

.activity-view-active {
    grid-template-columns: minmax(450px, 1fr) 5px 1fr; 
}

.detail-panel {
    background-color: var(--panel-background);
    border-left: 1px solid var(--border-color);
    height: 100vh;
    position: sticky;
    top: 0;
    overflow-y: auto;
    display: none;
}

.activity-view-active .detail-panel {
    display: block;
}

.detail-panel h3 {
    padding: 1rem 1.5rem;
    margin: 0;
    background: #f7f7f7;
    border-bottom: 1px solid #ddd;
    font-size: 1.1rem;
    position: sticky;
    top: 0;
    z-index: 10;
}

.resizer {
    background-color: var(--border-color);
    cursor: col-resize;
    display: none;
    transition: background-color 0.2s ease;
}

.activity-view-active .resizer {
    display: block;
}

.resizer:hover {
    background-color: var(--primary-color);
}

.no-select {
    user-select: none;
    -webkit-user-select: none;
}

/* --- Geselecteerde staat voor lijstitems --- */
.list-item.selected {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2);
    background-color: #f8fbff;
}
.list-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
}
.list-item-icon i, .list-item-icon svg {
    color: #555;
    stroke: #555;
}
.list-item-content {
    min-width: 0;
}
.list-item-title, .list-item-subtitle {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.list-item-title {
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 2px 0;
}

.list-item-subtitle {
    font-size: 0.9em;
    color: #666;
    margin: 0;
}

.list-item-timestamp {
    font-size: 0.85em;
    color: #888;
    white-space: nowrap;
    font-weight: 200;
}
.list-item button.openSession {
    padding: 0;
    border: none;
    background: none;
    font-weight: inherit;
    color: inherit;
    font-size: inherit;
    text-align: left;
    cursor: inherit;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 0.75rem;
}

.button-modern-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;  /* Vaste breedte */
    height: 42px; /* Vaste hoogte (matcht met home widgets) */
    background-color: #ffffff;
    border: 1px solid #e2e8f0; /* Zelfde border als home widgets */
    border-radius: 10px;       /* Iets rondere hoeken */
    color: #64748b;            /* Muted grijs, zelfde als iconen op home */
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05); /* Subtiele schaduw */
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover effect */
.button-modern-icon:hover {
    background-color: #f8fafc; /* Heel lichtgrijs bij hover */
    border-color: #cbd5e1;     /* Iets donkerdere rand */
    color: #334155;            /* Icoon wordt donkerder */
    transform: translateY(-2px); /* Komt iets omhoog */
    box-shadow: 0 4px 6px rgba(0,0,0,0.05); /* Meer schaduw */
}

/* Active / Klik effect */
.button-modern-icon:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    background-color: #f1f5f9;
}

button.button-secondary {
    background-color: #f0f0f0;
    border-color: #ccc;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.button-tertiary {
    background-color: transparent;
    border-color: transparent;
    color: #555;
    font-weight: 500;
    margin-right: auto;
}

.button-tertiary:hover {
    background-color: #f0f2f5;
}

button.button-icon {
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
button.button-icon i, button.button-icon svg {
    color: #555;
    stroke: #555;
}

/* --- Modal Stijlen --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 2000;
    display: none;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    z-index: 2001;
    width: 90%;
    max-width: 600px;
    display: none;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}
.modal-header h2 {
    margin: 0;
    font-size: 1.1rem;
}
.modal-header .button-icon {
    font-size: 1.5rem;
    line-height: 1;
    border: none;
    background: none;
}

.modal-content {
    padding: 1.5rem;
}

.filter-group-modal {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.filter-group-modal > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}
.filter-group-modal strong {
    font-weight: 500;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    background: #f9f9f9;
    border-radius: 0 0 12px 12px;
}

/* --- KPI Panelen --- */
.kpi-panel {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.kpi-circle-container {
    position: relative;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.kpi-circle-svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.kpi-circle-track,
.kpi-circle-fill {
    fill: none;
    stroke-width: 10;
}

.kpi-circle-track {
    stroke: #f0f2f5;
}

.kpi-circle-fill {
    stroke: var(--primary-color);
    stroke-linecap: round;
    transition: stroke-dashoffset 0.5s ease-out;
}
.kpi-circle-fill.green {
    stroke: #22c55e;
}

.kpi-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.kpi-text strong {
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.2;
}
.kpi-text span {
    font-size: 0.9rem;
    color: #666;
}

.kpi-description {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.kpi-title {
    font-weight: 500;
}

/* --- Clickable KPI Cards --- */
.clickable-kpi {
    cursor: pointer;
    position: relative; /* Nodig voor absolute positionering van pijl */
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.clickable-kpi:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border-color: #b0b0b0;
}

/* Het pijltje (FontAwesome unicode) */
.clickable-kpi::after {
    content: "\f061"; /* Pijl icoon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0;
    transform: rotate(-45deg);
    transition: all 0.2s ease;
}

/* Toon pijltje bij hover */
.clickable-kpi:hover::after {
    opacity: 1;
}

/* --- NIEUWE KPI STIJLEN --- */

/* 1. Linear Progress Bar Styles */
.kpi-panel-linear {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 140px;
}

.linear-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.linear-title {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1rem;
}

.linear-progress-container {
    margin-bottom: 15px;
}

.linear-progress-track {
    width: 100%;
    height: 12px;
    background-color: #f0f2f5;
    border-radius: 6px;
    overflow: hidden;
}

.linear-progress-fill {
    height: 100%;
    background-color: var(--primary-color); /* Gebruikt je Bytechat blauw */
    width: 0%;
    border-radius: 6px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Als limiet bijna bereikt is, maak rood/oranje */
.linear-progress-fill.warning {
    background-color: #f59e0b;
}
.linear-progress-fill.danger {
    background-color: #dc3545;
}

.linear-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.linear-stats {
    font-size: 0.9rem;
    color: #666;
}

.linear-stats strong {
    font-size: 1.2rem;
    color: var(--text-color);
}

.button-small {
    padding: 4px 10px;
    font-size: 0.8rem;
}

/* --- Compacte Limiet Widget in Header --- */
.limit-header-widget {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.limit-info-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.limit-label {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.limit-values {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
}

.limit-bar-wrapper {
    width: 140px; /* Vaste breedte voor de balk */
    height: 8px;
    background-color: #f1f5f9;
    border-radius: 4px;
    overflow: hidden;
}

.limit-bar-fill {
    height: 100%;
    background-color: var(--primary-color);
    width: 0%;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Kleuren voor de balk (deze classes worden al door je JS toegevoegd) */
.limit-bar-fill.warning { background-color: #f59e0b; }
.limit-bar-fill.danger { background-color: #dc3545; }

/* Upgrade knop in widget */
.limit-header-widget .button-upgrade-small {
    padding: 6px 12px;
    font-size: 0.8rem;
    background-color: #ebf5ff;
    color: #007bff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.limit-header-widget .button-upgrade-small:hover {
    background-color: #dbeafe;
}

.header-left-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* --- Datum Selector Widget --- */
.date-selector-widget {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    height: 42px; /* Zelfde hoogte als limiet widget match */
}

.selector-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

#globalDateFilter {
    border: none;
    background: transparent;
    font-family: var(--font-family);
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    outline: none;
    padding-right: 10px;
}

/* Custom Date Inputs */
.custom-date-inputs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-left: 0.75rem;
    border-left: 1px solid #e2e8f0;
    animation: fadeIn 0.3s ease;
}

.custom-date-inputs input[type="date"] {
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 4px;
    font-family: var(--font-family);
    font-size: 0.85rem;
    color: #333;
}

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

/* 2. Gauge (Halve Cirkel) Styles */
.kpi-panel-gauge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.gauge-wrapper {
    position: relative;
    width: 200px; /* Groter gemaakt (was 160px) */
    height: 80px; 
    margin-top: -5px;
    margin-bottom: 5px;
}

.gauge-svg {
    width: 100%;
    height: auto;
    overflow: visible;
}

#solveArc {
    transition: stroke-dashoffset 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.gauge-percentage {
    position: absolute;
    bottom: 0px; /* Tekst helemaal naar beneden gezet */
    left: 0;
    width: 100%;
    text-align: center;
}

.gauge-percentage strong {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1;
}

.gauge-footer {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* --- NIEUWE KPI CARD STYLING (Zoals voorbeeld) --- */
.kpi-card-new {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 140px;
    padding: 1.25rem;
    position: relative;
}

.kpi-header-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.kpi-icon-wrapper {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background-color: #f3f4f6; /* Lichtgrijs/wit */
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #374151;
}

.kpi-title-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: #374151;
}

.kpi-main-number {
    font-size: 2.25rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.1;
    margin-bottom: 4px;
}

.kpi-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
}

.kpi-trend-container {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
}

.trend-badge {
    color: #059669; /* Groen */
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 2px;
}

.trend-badge.negative {
    color: #dc2626; /* Rood */
}

.trend-label {
    color: #6b7280; /* Grijs */
}

/* Placeholder Sparkline Graph */
.kpi-mini-chart-placeholder {
    width: 80px;
    height: 35px;
    display: flex;
    align-items: flex-end;
}

.kpi-mini-chart-placeholder svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.sparkline-path {
    fill: none;
    stroke: #10b981; /* Groen */
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 4px 6px rgba(16, 185, 129, 0.2));
}

/* --- Info Icon & Tooltip --- */
.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.5rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #e0e0e0;
    color: #666;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    position: relative;
}

.info-tooltip {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 400;
    width: max-content;
    max-width: 250px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 10;
}

.info-icon:hover .info-tooltip {
    opacity: 1;
    visibility: visible;
}

/* --- AI Inzichten Overzicht --- */
.insights-summary {
    background-color: #f8f9fa;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}

.insights-summary p {
    margin-top: 0;
    color: #555;
    font-size: 0.9rem;
}

.summary-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 0.75rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.stat-item strong {
    font-size: 1.75rem;
    font-weight: 600;
}

.stat-item span {
    font-size: 0.9rem;
    color: #666;
}

.chart-container {
    position: relative;
    height: 450px;
    width: 100%;
}

/* --- Modern Chart Styling --- */
.chart-panel-wrapper {
    background: #fff;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    padding: 1.5rem 2rem;
    border-radius: 16px; /* Iets ronder zoals voorbeeld */
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.chart-header h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
}

.chart-badge {
    background-color: #f3f4f6;
    color: #374151;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 20px;
}

.chart-container-modern {
    position: relative;
    height: 350px; /* Vaste hoogte voor mooie verhouding */
    width: 100%;
}

/* --- AI Chat Interface Stijlen --- */
.ai-chat-panel {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 10rem); 
    padding: 0;
}

.ai-chat-history {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ai-bubble, .user-bubble {
    max-width: 80%;
    padding: 12px 18px;
    border-radius: 20px;
    line-height: 1.5;
    word-wrap: break-word;
}

.user-bubble {
    background-color: var(--primary-color);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.ai-bubble {
    background-color: #f0f2f5;
    color: var(--text-color);
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.ai-bubble.thinking {
    display: flex;
    gap: 5px;
    align-items: center;
}
.ai-bubble.thinking .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #999;
    animation: bounce 1.4s infinite ease-in-out both;
}
.ai-bubble.thinking .dot:nth-child(1) { animation-delay: -0.32s; }
.ai-bubble.thinking .dot:nth-child(2) { animation-delay: -0.16s; }
@keyframes bounce { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1.0); } }

.ai-chat-input-container {
    border-top: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    background: var(--panel-background);
    border-radius: 0 0 12px 12px;
}

.suggestion-chips-container {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.suggestion-chip {
    padding: 6px 12px;
    font-size: 0.8rem;
    background-color: #f0f2f5;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    cursor: pointer;
}
.suggestion-chip:hover {
    background-color: #e5e8ec;
}

.ai-chat-form {
    display: flex;
    gap: 0.5rem;
}
#aiChatInput {
    flex-grow: 1;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 10px;
    font-size: 1rem;
}
#aiChatInput:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2);
}
.ai-chat-form button {
    padding: 8px 10px;
}

/* Chat bubbles styling (from original) */
.chat-container { padding: 1rem 1.5rem; display: flex; flex-direction: column; gap: 12px; }
.chat-bubble { max-width: 85%; padding: 10px 15px; border-radius: 18px; line-height: 1.4; word-wrap: break-word; }
.chat-bubble.user { background-color: #007bff; color: white; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-bubble.bot { background-color: #e9e9eb; color: #333; align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-timestamp { font-size: 0.75em; color: #888; margin-bottom: 5px; }
.chat-bubble.user .chat-timestamp { color: #cce4ff; }
.form-table { width: 100%; margin-top: 10px; border-collapse: collapse; background: #fff; border: 1px solid #ccc; border-radius: 8px; overflow: hidden; }
.form-table th, .form-table td { border-bottom: 1px solid #ddd; padding: 10px; text-align: left; }
.form-table tr:last-child th, .form-table tr:last-child td { border-bottom: none; }
.form-table th { font-weight: bold; color: #555; }

/* Add these styles for locked navigation items */
.nav-item.locked .nav-link {
    opacity: 0.5;
    pointer-events: none;
    position: relative;
}

.nav-item.locked .nav-link::after {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
}

.nav-item.feature-lock-wrapper:hover .upgrade-tooltip {
    display: block;
}


/* Language dropdown styling */
.language-dropdown {
    position: relative;
    display: inline-block;
}

.language-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 140px;
    z-index: 1000;
    display: none;
}

.language-dropdown-menu.visible {
    display: block;
}

.language-option {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background-color: #f3f4f6;
}

.language-option.selected {
    background-color: #2563eb;
    color: white;
}

.dropdown-arrow {
    margin-left: 4px;
    transition: transform 0.2s ease;
}

.language-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

/* --- Account Tab Specifieke Stijlen --- */
.account-info-text {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #555;
    font-size: 0.95rem;
}

.account-note-text {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #777;
    border-top: 1px solid var(--border-color);
    padding-top: 0.75rem;
}

.account-field-display {
    background-color: #f9f9fb;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap; /* Zorgt voor omslag op kleinere schermen */
}

.account-field-display .account-label {
    font-weight: 500;
    color: #444;
    white-space: nowrap; /* Voorkomt afbreken van labels */
}

.account-field-display .account-value {
    flex-grow: 1; /* Zorgt dat de waarde de overige ruimte vult */
    font-family: monospace; /* Voor API key/wachtwoord */
    background-color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    color: #333;
    font-size: 0.9rem;
    user-select: all; /* Maakt selecteren makkelijker */
    overflow-x: auto; /* Voorkomt overflow bij lange keys */
    white-space: nowrap; /* Houdt de key op één lijn */
}

.account-field-display.with-button .account-value {
    background-color: transparent; /* Geen achtergrond als er een knop is */
    border: none; /* Geen rand als er een knop is */
    padding: 0; /* Geen padding als er een knop is */
}

.account-field-display .button-secondary {
    padding: 6px 12px;
    font-size: 0.85rem;
    white-space: nowrap; /* Voorkomt afbreken van knoptekst */
}

.account-field-display.with-button {
    justify-content: space-between; /* Spreidt de items uit */
}

/* Specifieke aanpassing voor de wachtwoordregel */
#account-password + .button-secondary {
    margin-left: auto; /* Duwt de kopieerknop naar rechts */
}

/* --- NIEUW: Formulier Error Message Stijl --- */
.form-error-message {
    font-size: 0.9rem;
    color: #dc3545; /* Rood */
    margin-top: 0.5rem;
}

/* Aanpassing voor algemene form-group-modal om kolommen te stapelen */
.form-group-modal {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group-modal > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.form-group-modal strong {
    font-weight: 500;
}


/* Code block styling echt heel mooi*/
.code-block-container {
    position: relative;
    margin: 1rem 0;
}

.code-block {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.4;
    overflow-x: auto;
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.code-block code {
    background: none;
    padding: 0;
    font-size: inherit;
    color: #495057;
}

.copy-code-button {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    transition: background-color 0.2s;
}

.copy-code-button:hover {
    background: #0056b3;
}

.copy-code-button i, .copy-code-button svg {
    width: 14px;
    height: 14px;
}

#customer-id-placeholder {
    color: #007bff;
    font-weight: 600;
}


.lead-details {
    padding: 1rem;
}

.lead-field {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.lead-field:last-child {
    border-bottom: none;
}

.lead-field strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--text-color);
}

.lead-question {
    background-color: #f9f9f9;
    padding: 0.75rem;
    border-radius: 6px;
    margin-top: 0.5rem;
    line-height: 1.5;
    white-space: pre-wrap;
}

.list-item[data-type="form"] .list-item-icon {
    background-color: #e8f4fd;
}

.list-item[data-type="form"] .list-item-icon i, .list-item[data-type="form"] .list-item-icon svg {
    color: #1976d2;
    stroke: #1976d2;
}



/* Account Management Styling */
.account-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.account-actions {
    display: grid;
    gap: 1.5rem;
    margin-top: 1rem;
}

.account-action-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    border-left: 4px solid #007bff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.account-action-card.danger {
    border-left-color: #dc3545;
}

.action-header h3 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1.2rem;
}

.action-header p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.action-content {
    margin-top: 1rem;
}

.current-plan {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #e3f2fd;
    border-radius: 4px;
    color: #1976d2;
}

.plan-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 1rem;
    background: white;
}

.cancellation-info {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.info-item {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.button-danger {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s;
}

.button-danger:hover {
    background-color: #c82333;
}

.button-primary:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}

/* Modal styling voor confirmaties */
.confirmation-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}

.confirmation-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
}

.confirmation-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
}


.billing-cycle-options {
    margin-bottom: 1rem;
}

.billing-cycle-options label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.price-display {
    background: #e8f5e8;
    border: 1px solid #4caf50;
    border-radius: 4px;
    padding: 0.75rem;
    margin-bottom: 1rem;
    text-align: center;
}

.price-display #price-text {
    font-weight: 600;
    color: #2e7d32;
}

/* Update Account Management Styling voor binnen panel */
.panel .account-actions {
    display: grid;
    gap: 1.5rem;
    margin-top: 1rem;
}

.panel .account-action-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    border-left: 4px solid #007bff;
    border: 1px solid #e9ecef;
}

.panel .account-action-card.danger {
    border-left-color: #dc3545;
}

.panel .action-header h3 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1.1rem;
}

.panel .action-header p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.panel .action-content {
    margin-top: 1rem;
}

/* Rest van de CSS blijft hetzelfde maar met .panel prefix */
.panel .current-plan {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #e3f2fd;
    border-radius: 4px;
    color: #1976d2;
}

.panel .plan-options,
.panel .billing-cycle-options {
    margin-bottom: 1rem;
}

.panel .billing-cycle-options label,
.panel .plan-options label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.panel .plan-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
}

.panel .price-display {
    background: #e8f5e8;
    border: 1px solid #4caf50;
    border-radius: 4px;
    padding: 0.75rem;
    margin-bottom: 1rem;
    text-align: center;
}

.panel .price-display #price-text {
    font-weight: 600;
    color: #2e7d32;
}

.panel .cancellation-info {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.panel .info-item {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.panel .info-item:last-child {
    margin-bottom: 0;
}

/* --- Nieuwe AI Model Styling --- */
.ai-model-container {
    max-width: 900px;
    margin: 0 auto;
}

.ai-model-intro {
    margin-bottom: 2rem;
    text-align: center;
}

.ai-model-intro h2 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.ai-model-intro p {
    color: #666;
    margin: 0;
}

.model-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Model Card Base */
.model-card {
    position: relative;
    cursor: pointer;
}

.model-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.model-card-content {
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

/* Hover State */
.model-card:hover .model-card-content {
    border-color: #b0b0b0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Selected State */
.model-card input:checked + .model-card-content {
    border-color: var(--primary-color);
    background-color: #f8fbff;
    box-shadow: 0 0 0 1px var(--primary-color);
}

/* Header Layout */
.model-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.icon-box.flash {
    background-color: #e6f4ea;
    color: #1e8e3e;
}

.icon-box.pro {
    background-color: #f3e8fd;
    color: #9333ea;
}

.model-title {
    flex-grow: 1;
}

.model-title h3 {
    margin: 0 0 4px 0;
    font-size: 1.1rem;
}

/* Badges */
.badge {
    display: inline-block;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
}

.badge-green {
    background-color: #e6f4ea;
    color: #137333;
}

.badge-purple {
    background-color: #f3e8fd;
    color: #7e22ce;
}

/* Check Indicator (Top Right) */
.check-indicator {
    color: var(--primary-color);
    font-size: 1.5rem;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s ease;
}

.model-card input:checked + .model-card-content .check-indicator {
    opacity: 1;
    transform: scale(1);
}

/* Description & Features */
.model-desc {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.model-features {
    list-style: none;
    padding: 0;
    margin: auto 0 0 0; /* Pushes list to bottom if card heights differ */
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.model-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #444;
}

.model-features li i {
    color: #22c55e; /* Green checkmark */
    font-size: 0.9rem;
}

.model-features li i.warning-icon {
    color: #f59e0b; /* Orange warning */
}

/* Footer Button */
.model-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}

.panel .cancellation-info {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.panel .info-item {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.panel .info-item:last-child {
    margin-bottom: 0;
}

/* --- Nieuwe AI Model Styling --- */
.ai-model-container {
    max-width: 900px;
    margin: 0 auto;
}

.ai-model-intro {
    margin-bottom: 2rem;
    text-align: center;
}

.ai-model-intro h2 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.ai-model-intro p {
    color: #666;
    margin: 0;
}

.model-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Model Card Base */
.model-card {
    position: relative;
    cursor: pointer;
}

.model-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.model-card-content {
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

/* Hover State */
.model-card:hover .model-card-content {
    border-color: #b0b0b0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Selected State */
.model-card input:checked + .model-card-content {
    border-color: var(--primary-color);
    background-color: #f8fbff;
    box-shadow: 0 0 0 1px var(--primary-color);
}

/* Header Layout */
.model-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.icon-box.flash {
    background-color: #e6f4ea;
    color: #1e8e3e;
}

.icon-box.pro {
    background-color: #f3e8fd;
    color: #9333ea;
}

.model-title {
    flex-grow: 1;
}

.model-title h3 {
    margin: 0 0 4px 0;
    font-size: 1.1rem;
}

/* Badges */
.badge {
    display: inline-block;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
}

.badge-green {
    background-color: #e6f4ea;
    color: #137333;
}

.badge-purple {
    background-color: #f3e8fd;
    color: #7e22ce;
}

/* Check Indicator (Top Right) */
.check-indicator {
    color: var(--primary-color);
    font-size: 1.5rem;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s ease;
}

.model-card input:checked + .model-card-content .check-indicator {
    opacity: 1;
    transform: scale(1);
}

/* Description & Features */
.model-desc {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.model-features {
    list-style: none;
    padding: 0;
    margin: auto 0 0 0; /* Pushes list to bottom if card heights differ */
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.model-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #444;
}

.model-features li i {
    color: #22c55e; /* Green checkmark */
    font-size: 0.9rem;
}

.model-features li i.warning-icon {
    color: #f59e0b; /* Orange warning */
}

/* Footer Button */
.model-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
    border-top: 1px solid #e0e0e0;
    padding-top: 1.5rem;
}

.button-large {
    padding: 12px 24px;
    font-size: 1rem;
}

/* ====================================================== */
/* === LIVE AGENT INBOX STYLING === */
/* ====================================================== */

.live-agent-container {
    display: flex;
    gap: 1.5rem;
    height: calc(100vh - 180px); /* Adjust based on header height */
    min-height: 500px;
}

.live-sidebar {
    flex: 0 0 350px;
    display: flex;
    flex-direction: column;
    padding: 0; /* Override default panel padding */
    overflow: hidden;
}

.live-sidebar h3 {
    padding: 1.5rem;
    margin: 0;
    border-bottom: 1px solid var(--border-color);
    background-color: #f9fafb;
    font-size: 1rem;
    font-weight: 600;
}

.live-list {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.live-chat-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0; /* Override default panel padding */
    overflow: hidden;
}

.live-chat-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.live-chat-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.live-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.live-chat-input-area {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    background-color: #fff;
    display: flex;
    gap: 1rem;
}

.live-chat-input-area input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-family: var(--font-family);
    font-size: 0.95rem;
}

.live-chat-input-area input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.live-note {
    margin: 0;
    padding: 0 1.5rem 1rem;
    color: #888;
    font-size: 0.8rem;
    text-align: center;
}

/* Status Indicators */
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 12px;
}

.status-indicator.online {
    background-color: #e6fffa;
    color: #047857;
}

.status-indicator.offline {
    background-color: #f3f4f6;
    color: #6b7280;
}

.status-indicator i {
    font-size: 0.6rem;
}

/* Empty States */
.empty-state {
    text-align: center;
    color: #6b7280;
    margin-top: 2rem;
    font-style: italic;
}

.empty-chat-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #9ca3af;
    gap: 1rem;
}

.empty-chat-placeholder i {
    font-size: 3rem;
}

/* Chat Bubbles (Reuse existing or refine) */
.live-message {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 12px;
    position: relative;
    line-height: 1.5;
    font-size: 0.95rem;
}

.live-message.user {
    align-self: flex-start;
    background-color: #eef2f6;
    color: #1f2937;
    border-bottom-left-radius: 2px;
}

.live-message.bot {
    align-self: flex-end;
    background-color: var(--primary-color);
    color: white;
    border-bottom-right-radius: 2px;
}

.live-message.agent {
    align-self: flex-end;
    background-color: var(--primary-color); /* Same as bot */
    color: white;
    border-bottom-right-radius: 2px;
    position: relative;
}

/* Green dot indicator to distinguish human agent from AI */
.live-message.agent::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 8px;
    width: 10px;
    height: 10px;
    background-color: #10b981;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.live-message-time {
    font-size: 0.7rem;
    margin-top: 4px;
    opacity: 0.7;
    text-align: right;
}

/* Message sending states */
.live-message.sending {
    opacity: 0.7;
}

.live-message.sending .live-message-time::after {
    content: ' ⏳';
}

.live-message.sent .live-message-time::after {
    content: ' ✓';
    color: rgba(255,255,255,0.7);
}

.live-message.delivered .live-message-time::after {
    content: ' ✓✓';
    color: rgba(255,255,255,0.7);
}

.live-message.failed {
    background-color: #ef4444 !important;
    cursor: pointer;
}

.live-message.failed:hover {
    opacity: 0.9;
}

.live-message.failed .live-message-time::after {
    content: ' ⚠️ Klik om opnieuw te proberen';
}

/* Typing indicator */
.typing-indicator {
    display: none;
    align-self: flex-start;
    background-color: #eef2f6;
    padding: 12px 16px;
    border-radius: 12px;
    border-bottom-left-radius: 2px;
    margin-top: 8px;
}

.typing-indicator.visible {
    display: flex;
    align-items: center;
    gap: 4px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background-color: #94a3b8;
    border-radius: 50%;
    animation: typing-bounce 1.4s infinite ease-in-out both;
}

.typing-indicator span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: -0.16s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0s;
}

@keyframes typing-bounce {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Notification Badge Styling */
.notification-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #dc3545; /* Red */
    color: white;
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 8px;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.notification-badge.hidden {
    display: none;
    transform: scale(0);
}

/* Animation for new notifications */
 @keyframes popIn {
    0% { transform: scale(0); }
    80% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.notification-badge:not(.hidden) {
    animation: popIn 0.3s ease-out forwards;
}

/* --- dashboard.css --- */

/* Pas de container aan zodat we elementen over elkaar kunnen leggen */
.list-item-actions {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 120px; /* Zorg voor genoeg ruimte */
    height: 100%;
}

/* 1. De Tijd: Zichtbaar, maar verdwijnt bij hover */
.list-item-timestamp {
    font-size: 0.85em;
    color: #888;
    white-space: nowrap;
    opacity: 1;
}

/* Bij hover over het hele item, verberg de tijd */
.list-item:hover .list-item-timestamp {
    opacity: 0;
    pointer-events: none;
}

/* 2. De Actie Container (Drie puntjes): Verborgen, verschijnt bij hover */
.item-hover-menu {
    position: absolute;
    right: 0;
    opacity: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
}

/* Bij hover, toon de menu knop */
.list-item:hover .item-hover-menu,
.item-hover-menu.active { /* Ook tonen als menu open is */
    opacity: 1;
    pointer-events: auto;
}

/* De knop met de 3 puntjes */
.menu-dots-btn {
    /* Layout */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;  /* Iets compacter dan de header (42px) voor in de lijst */
    height: 36px;
    
    /* Visual Style (Identiek aan header knoppen) */
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px; 
    color: #64748b;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* Hover & Active State (Identiek aan header knoppen) */
.menu-dots-btn:hover, 
.item-hover-menu.active .menu-dots-btn {
    background-color: #f8fafc;
    border-color: #cbd5e1;
    color: #334155;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.menu-dots-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    background-color: #f1f5f9;
}

/* 3. Het Dropdown Menu zelf */
.action-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 4px;
    z-index: 100;
    min-width: 180px;
    display: none; /* Standaard verborgen */
    margin-top: 4px;
}

.item-hover-menu.active .action-dropdown {
    display: block;
    animation: fadeInMenu 0.15s ease-out;
}

@keyframes fadeInMenu {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Items in de dropdown */
.dropdown-item-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 12px;
    border: none;
    background: none;
    text-align: left;
    font-family: var(--font-family);
    font-size: 0.9rem;
    color: #334155;
    cursor: pointer;
    border-radius: 4px;
}

.dropdown-item-btn:hover {
    background-color: #f1f5f9;
    color: #0f172a;
}

.dropdown-item-btn i {
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}

/* Kleur voor 'Los op' vs 'Markeer' */
.dropdown-item-btn.solve-action { color: #10b981; } /* Groen */
.dropdown-item-btn.unsolve-action { color: #f59e0b; } /* Oranje */

/* --- dashboard.css --- */

/* 1. Zorg dat de Activity tab de volledige hoogte pakt minus de padding van main-content */
#activity.active {
    display: flex;          /* Alleen flex als hij actief is */
    flex-direction: column;
    height: calc(100vh - 4rem); 
    overflow: hidden;
}

/* 2. Zorg dat de Header vast blijft staan en niet krimpt */
#activity .main-header {
    flex-shrink: 0;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem; /* Beetje ruimte voor de lijst begint */
}

/* 3. De lijst containers (Chats & Leads) styling strippen en scrollbaar maken */
#chatlogs, #leads {
    flex-grow: 1;      /* Vul de resterende ruimte tot de bodem */
    overflow-y: auto;  /* Maak alleen dit gedeelte scrollbaar */
    
    /* Reset de standaard .panel styling (zoals gevraagd) */
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 2px 5px 0 0 !important; /* Kleine padding rechts voor de scrollbar */
    margin-bottom: 0 !important;
    border-radius: 0 !important;
}

/* OPTIONEEL: Maak de scrollbar iets mooier/subtieler */
#chatlogs::-webkit-scrollbar,
#leads::-webkit-scrollbar {
    width: 6px;
}

#chatlogs::-webkit-scrollbar-track,
#leads::-webkit-scrollbar-track {
    background: transparent;
}

#chatlogs::-webkit-scrollbar-thumb,
#leads::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 10px;
}

/* User Management Styles */
.user-accounts-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.user-account-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.user-account-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.user-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.user-email {
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-email i {
    color: #64748b;
    font-size: 0.9rem;
}

.user-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: #64748b;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-blue {
    background: #dbeafe;
    color: #1e40af;
}

.badge-purple {
    background: #f3e8ff;
    color: #7c3aed;
}

.badge-gold {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    border: 1px solid #f59e0b;
}

.user-date {
    color: #94a3b8;
}

.admin-label {
    color: #64748b;
    font-size: 0.85rem;
    font-style: italic;
}

.owner-label {
    color: #92400e;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.role-select {
    padding: 0.35rem 0.5rem;
    font-size: 0.85rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: white;
    color: #334155;
    cursor: pointer;
    min-width: 100px;
}

.role-select:hover {
    border-color: #cbd5e1;
}

.role-select:focus {
    outline: none;
    border-color: var(--primary-color, #4f46e5);
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.1);
}

.role-select:disabled {
    background: #f8fafc;
    cursor: not-allowed;
    opacity: 0.7;
}

.form-hint {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 0.25rem;
    font-style: italic;
}

.button-danger {
    color: #dc2626;
    border-color: #dc2626;
}

.button-danger:hover {
    background: #dc2626;
    color: white;
}

/* User Management Loading States */
.button-primary:disabled,
.button-secondary:disabled,
.button-icon:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.fa-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Improved User Account Item Styling */
.user-account-item {
  margin-bottom: 0.75rem;
}

.user-email {
  margin-bottom: 0.25rem;
}

.user-email i {
  margin-right: 0.5rem;
}

/* Account form group styling */
.account-form-group {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.account-input {
  padding: 0.55rem 0.75rem;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  font-size: 0.95rem;
  outline: none;
}

.account-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.15);
}

.live-agent-preview {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: #f1f5f9;
}

.live-agent-preview img {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  object-fit: cover;
  background: #e2e8f0;
}