/* Cal.com Inspired Styling for Ticket Systeem */

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: #f5f5f5;
    color: #1a1a1a;
    display: flex;
    min-height: 100vh;
}

/* ===== SIDEBAR ===== */
.sidebar {
    width: 240px;
    background: #ffffff;
    border-right: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 100;
}

.sidebar-logo {
    padding: 24px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.sidebar-logo h1 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.sidebar-logo span {
    font-size: 13px;
    color: #6b7280;
    font-weight: 400;
}

/* ===== NAVIGATION ===== */
.nav {
    flex: 1;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav a {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    color: #6b7280;
    text-decoration: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.15s ease;
}

.nav a:hover {
    background: #f3f4f6;
    color: #1a1a1a;
}

.nav a.active {
    background: #000000;
    color: #ffffff;
    font-weight: 600;
}

/* ===== SIDEBAR USER ===== */
.sidebar-user {
    padding: 16px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #333333;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.sidebar-user-info {
    flex: 1;
    min-width: 0;
}

.sidebar-user-name {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-user .logout {
    font-size: 12px;
    color: #dc2626;
    text-decoration: none;
    transition: color 0.15s ease;
}

.sidebar-user .logout:hover {
    color: #991b1b;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    margin-left: 240px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.top-bar {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 20px 32px;
}

.top-bar h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
}

.container {
    padding: 32px;
    max-width: 1400px;
    width: 100%;
}

/* ===== CARDS ===== */
.card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 24px;
    margin-bottom: 24px;
}

/* ===== PAGE HEADER ===== */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.page-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s ease;
    line-height: 1.5;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background: #333333;
    color: white;
}

.btn-primary:hover {
    background: #1a1a1a;
}

.btn-success {
    background: #10b981;
    color: white;
}

.btn-success:hover {
    background: #059669;
}

.btn-danger {
    background: #ef4444;
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-secondary {
    background: #666666;
    color: white;
}

.btn-secondary:hover {
    background: #4d4d4d;
}

.btn-small {
    padding: 6px 12px;
    font-size: 13px;
}

.btn-reset {
    background: #666666;
    color: white;
}

.btn-reset:hover {
    background: #4d4d4d;
}

.btn-info {
    background: #b3b3b3;
    color: #333333;
}

.btn-info:hover {
    background: #999999;
}

/* ===== ALERTS ===== */
.alert {
    padding: 16px;
    border-radius: 5px;
    margin-bottom: 24px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.alert-info {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #7dd3fc;
    padding: 12px 16px;
    border-radius: 5px;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
    margin-bottom: 20px;
    padding: 16px;
    border-radius: 5px;
    font-size: 14px;
}

/* ===== TABLES ===== */
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

th, td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

th {
        background: #f9fafb;
    font-weight: 600;
    color: #374151;
    font-size: 13px;
    text-transform: none;
    letter-spacing: 0px;
}

tbody tr:hover {
    background: #f9fafb;
}

tr:last-child td {
    border-bottom: none;
}

.actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
    font-size: 14px;
}

input, textarea, select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #333333;
    box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.1);
}

textarea {
    min-height: 100px;
    resize: vertical;
}

input[readonly] {
    background: #f3f4f6;
    cursor: not-allowed;
    color: #6b7280;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-row-three {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

small {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #6b7280;
}

/* ===== FILTER SECTION ===== */
.filter-section {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 24px;
    display: flex;
    gap: 16px;
    align-items: center;
}

.filter-section label {
    font-weight: 500;
    color: #374151;
    margin-bottom: 0;
    white-space: nowrap;
}

.filter-section select {
    flex: 1;
    max-width: 400px;
}

/* ===== KLANT BLOCKS (Dashboard & Emails) ===== */
.klant-block {
    background: white;
    margin-bottom: 32px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.klant-header {
    background: #ffffff;
    color: #000000;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.klant-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #252525;
    margin: 0;
}

.klant-totals {
    display: flex;
    gap: 16px;
    font-size: 14px;
    flex-wrap: wrap;
}

.klant-totals span {
   background: #d4edda;
    padding: 6px 12px;
    border-radius: 5px;
    white-space: nowrap;
    backdrop-filter: blur(10px);
}

.klant-totals .divider {
    border-left: 2px solid rgba(255, 255, 255, 0.3);
    padding-left: 16px;
}

/* Email variant - dark teal header */
.klant-header.email-header {
    background: linear-gradient(135deg, #0ea5e9 0%, #054d6d 100%);
}

.geen-tickets, .geen-emails {
    padding: 60px 20px;
    text-align: center;
    color: #6b7280;
}

.geen-tickets p, .geen-emails p {
    font-size: 16px;
    margin-bottom: 12px;
}

/* ===== BADGES ===== */
.status {
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.status-open {
    background: #fef3c7;
    color: #92400e;
}

.status-in_behandeling {
    background: #dbeafe;
    color: #1e40af;
}

.status-afgerond {
    background: #d1fae5;
    color: #065f46;
}

.status-gefactureerd {
    background: #cccccc;
    color: #333333;
}

.prioriteit {
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 500;
}

.prioriteit-laag {
    background: #dbeafe;
    color: #1e40af;
}

.prioriteit-normaal {
    background: #fef3c7;
    color: #92400e;
}

.prioriteit-hoog {
    background: #fee2e2;
    color: #991b1b;
}

.prioriteit-urgent {
    background: #ef4444;
    color: white;
}

.strippenkaart-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
}

.strippenkaart-active {
    background: #d1fae5;
    color: #065f46;
}

.strippenkaart-inactive {
    background: #fee2e2;
    color: #991b1b;
}

.strippenkaart-warning {
    background: #fef3c7;
    color: #92400e;
}

/* ===== STRIPPENKAART SECTION ===== */
.strippenkaart-section {
    background: #f9fafb;
    padding: 24px;
    border-radius: 5px;
    margin-bottom: 24px;
    border: 1px solid #e5e7eb;
}

.strippenkaart-section h3 {
    margin-top: 0;
    margin-bottom: 16px;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 600;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.checkbox-group label {
    margin-bottom: 0;
    cursor: pointer;
}

.strippenkaart-options {
    display: none;
}

.strippenkaart-options.active {
    display: block;
}

.strippenkaart-status {
    background: #e7f3ff;
    padding: 16px;
    border-radius: 5px;
    margin-top: 16px;
    border: 1px solid #bfdbfe;
}

.strippenkaart-status strong {
    color: #1f2937;
}

/* ===== INFO BOX ===== */
.info-box {
    background: #e7f3ff;
    padding: 16px;
    border-radius: 5px;
    margin-bottom: 24px;
    border: 1px solid #bfdbfe;
}

/* ===== EMAIL MODAL ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background: white;
    margin: 50px auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.modal-header {
    background: #d7d7d7;
    color: #333;
    padding: 24px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    transition: opacity 0.15s ease;
}

.modal-close:hover {
    opacity: 0.8;
}

.modal-body {
    padding: 24px;
    max-height: 500px;
    overflow-y: auto;
}

.email-content {
    background: #f9fafb;
    padding: 16px;
    border-radius: 5px;
    white-space: pre-wrap;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    border: 1px solid #e5e7eb;
}

/* ===== EMAIL BUTTON ===== */
.btn-email {
    padding: 6px 12px;
    background: #333333;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.15s ease;
}

.btn-email:hover {
    background: #0284c7;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.btn-email:disabled {
    background: #cccccc;
    cursor: not-allowed;
    opacity: 0.6;
}

/* ===== EMAILS PAGE SPECIFIC ===== */

/* Email klant header - teal variant */
.klant-block-emails .klant-header-emails {
    background: #ffffff;
	    color: #000000;
}
.klant-block-emails .klant-header-emails h2 {

	    color: #000000;
}

/* Ticket link badge */
.ticket-link {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: #10b981;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.15s ease;
}

.ticket-link:hover {
    background: #059669;
    transform: translateY(-1px);
}

.no-ticket {
    color: #9ca3af;
    font-size: 12px;
    font-weight: 500;
}

/* ===== AI ANALYSIS BADGES ===== */

/* Main AI badge - purple gradient inspired by Cal.com accents */
.ai-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 8px;
    box-shadow: 0 1px 2px rgba(139, 92, 246, 0.2);
}

/* AI info container */
.ai-info {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

/* AI time estimation badge - blue */
.ai-time {
    background: #dbeafe;
    color: #1e40af;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid #bfdbfe;
}

/* AI category badge - orange */
.ai-category {
    background: #fed7aa;
    color: #9a3412;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid #fdba74;
}

/* AI priority badges - color coded */
.ai-priority {
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid transparent;
}

.ai-priority-laag {
    background: #d1fae5;
    color: #065f46;
    border-color: #6ee7b7;
}

.ai-priority-normaal {
    background: #fef3c7;
    color: #92400e;
    border-color: #fde68a;
}

.ai-priority-hoog {
    background: #fee2e2;
    color: #991b1b;
    border-color: #fca5a5;
}

.ai-priority-urgent {
    background: #ef4444;
    color: white;
    border-color: #dc2626;
}

/* AI summary text below subject */
.ai-summary {
    font-size: 13px;
    color: #6b7280;
    font-style: italic;
    margin-top: 6px;
    line-height: 1.5;
	max-width: 350px;
}

/* Not analyzed state */
.no-ai {
    color: #9ca3af;
    font-size: 12px;
    font-weight: 500;
}

/* ===== LUCIDE ICONS STYLING ===== */

/* Base icon styling */
[data-lucide] {
    width: 18px;
    height: 18px;
    stroke-width: 2;
    vertical-align: middle;
}

/* Icon sizes */
.icon-sm {
    width: 14px;
    height: 14px;
}

.icon-md {
    width: 18px;
    height: 18px;
}

.icon-lg {
    width: 24px;
    height: 24px;
}

.icon-xl {
    width: 32px;
    height: 32px;
}

/* Icon in buttons */
.btn [data-lucide] {
    width: 16px;
    height: 16px;
    margin-right: 6px;
}

.btn-small [data-lucide] {
    width: 14px;
    height: 14px;
    margin-right: 4px;
}

/* Icon in sidebar nav */
.nav a [data-lucide] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
}

/* Icon in headers */
.sidebar-logo [data-lucide] {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.page-header [data-lucide] {
    width: 28px;
    height: 28px;
    margin-right: 10px;
    vertical-align: text-bottom;
}

/* Icon colors */
.icon-primary { color: #333333; }
.icon-success { color: #10b981; }
.icon-danger { color: #ef4444; }
.icon-warning { color: #f59e0b; }
.icon-info { color: #0ea5e9; }
.icon-muted { color: #9ca3af; }

/* Stat card icons */
.stat-icon [data-lucide] {
    width: 28px;
    height: 28px;
    stroke-width: 2.5;
    color: white;
}

/* AI badge icon */
.ai-badge [data-lucide] {
    width: 14px;
    height: 14px;
    margin-right: 4px;
}

/* Icons in labels */
label [data-lucide] {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    vertical-align: text-top;
}

/* Icons in alerts */
.alert [data-lucide] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    flex-shrink: 0;
}

/* Icons in tables */
td [data-lucide],
th [data-lucide] {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .sidebar {
        width: 200px;
    }
    
    .main-content {
        margin-left: 200px;
    }
    
    .container {
        padding: 20px;
    }
    
    .form-row,
    .form-row-three {
        grid-template-columns: 1fr;
    }
    
    .klant-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .klant-totals {
        width: 100%;
    }
    
    .filter-section {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-section select {
        max-width: 100%;
    }
    
    /* AI responsive */
    .ai-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .ai-badge {
        margin-right: 0;
        margin-bottom: 8px;
    }
}

@media (max-width: 480px) {
    .sidebar {
        display: none;
    }
    
    .main-content {
        margin-left: 0;
    }
}


/* ===== KLANTEN INDEX PAGE ===== */

/* Page header with actions */
.page-header-with-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.page-info {
    flex: 1;
}

.page-subtitle {
    color: #6b7280;
    margin-top: 8px;
    font-size: 14px;
}

/* Empty state styling */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}

.empty-state-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.empty-state-title {
    font-size: 18px;
    margin-bottom: 8px;
    color: #374151;
    font-weight: 500;
}

.empty-state-text {
    font-size: 14px;
    color: #6b7280;
}

.empty-state-text a {
    color: #1f2937;
    text-decoration: underline;
}

.empty-state-text a:hover {
    color: #111827;
}

/* Badge styling - general badges for various uses */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
}

.badge-success {
    background: #d1fae5;
    color: #065f46;
}

.badge-warning {
    background: #fef3c7;
    color: #92400e;
}

.badge-danger {
    background: #fee2e2;
    color: #991b1b;
}

/* Info button - blue variant */
.btn-info {
    background: #b3b3b3;
    color: #333333;
}

.btn-info:hover {
    background: #999999;
}

/* Text alignment utilities */
.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

/* Text color utilities */
.text-muted {
    color: #9ca3af;
}

/* Action buttons container */
.action-buttons {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

/* ===== END KLANTEN INDEX PAGE ===== */



/* ===== KLANTEN EDIT PAGE - TABS & MODALS ===== */

/* Tabs container and header */
.tabs-container {
    background: white;
    padding: 0 24px;
    border-radius: 12px 12px 0 0;
    margin-bottom: -1px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tabs-header {
    display: flex;
    gap: 8px;
    border-bottom: 2px solid #e5e7eb;
}

.tab-button {
    padding: 12px 20px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    transition: all 0.15s ease;
    border-radius: 5px 5px 0 0;
}

.tab-button:hover {
    color: #1a1a1a;
}

.tab-button.active {
    color: #1a1a1a;
    border-bottom-color: #1a1a1a;
}

/* Tab content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.card-tabs-content {
    border-radius: 0 0 12px 12px;
    margin-top: 0;
}

.tab-title {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}

.tab-title-secondary {
    margin-top: 30px;
}

/* Tab header with action button */
.tab-header-with-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.tab-header-with-action h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}

/* Form group flex variants for address fields */
.form-group-flex-1 {
    flex: 1;
}

.form-group-flex-2 {
    flex: 2;
}

/* Checkbox group with spacing */
.checkbox-group-spaced {
    margin-bottom: 20px;
}

/* Empty message for lists */
.empty-message {
    color: #6b7280;
    text-align: center;
    padding: 40px;
    margin: 0;
}

/* List grid layout */
.list-grid {
    display: grid;
    gap: 16px;
}

/* List item styling */
.list-item {
    background: #f9fafb;
    padding: 16px;
    border-radius: 5px;
    border: 1px solid #e5e7eb;
}

.list-item-content {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.list-item-body {
    flex: 1;
}

.list-item-title {
    margin: 0 0 8px 0;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 600;
}

.list-item-subtitle {
    color: #6b7280;
    font-weight: normal;
    font-size: 14px;
}

.list-item-details {
    display: grid;
    gap: 4px;
    font-size: 14px;
    color: #4b5563;
}

.list-item-details a {
    color: #1f2937;
    text-decoration: none;
}

.list-item-details a:hover {
    text-decoration: underline;
}

.list-item-notes {
    margin-top: 8px;
    padding: 8px;
    background: white;
    border-radius: 5px;
    font-size: 13px;
    color: #4b5563;
}

.list-item-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

/* Strippenkaart alert variants */
.strippenkaart-alert-danger {
    color: #dc2626;
    font-weight: bold;
}

.strippenkaart-alert-warning {
    color: #f59e0b;
    font-weight: bold;
}

/* Modal overlay */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.modal-content-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.modal-title {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
}

.modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

/* Responsive tabs */
@media (max-width: 768px) {
    .tabs-header {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .tab-button {
        white-space: nowrap;
    }
    
    .list-item-content {
        flex-direction: column;
        gap: 12px;
    }
    
    .list-item-actions {
        width: 100%;
    }
    
    .modal-content-box {
        width: 95%;
        padding: 20px;
    }
}

/* ===== END KLANTEN EDIT PAGE ===== */


/* ===== KLANTEN CREATE PAGE ===== */

/* Section titles in forms */
.section-title {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}

.section-title-spaced {
    margin-top: 30px;
}

/* Note: strippenkaart-section, checkbox-group, and strippenkaart-options 
   are already defined in the global styles from earlier pages */

/* ===== END KLANTEN CREATE PAGE ===== */


/* ===== KLANTEN CONVERTEER PAGE ===== */

/* Centered card for conversion flow */
.card-centered {
    max-width: 800px;
    margin: 0 auto;
}

/* Info boxes with colored backgrounds */
.info-box {
    padding: 16px;
    border-radius: 5px;
    margin-bottom: 24px;
}

.info-box-blue {
    background: #eff6ff;
    border-left: 4px solid #3b82f6;
}

.info-box-yellow {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
}

.info-box-title {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
}

.info-box-blue .info-box-title {
    color: #1e40af;
}

.info-box-yellow .info-box-title {
    color: #92400e;
}

.info-box-text {
    margin: 0;
    line-height: 1.6;
}

.info-box-blue .info-box-text {
    color: #1e3a8a;
}

/* Detail box for showing current data */
.detail-box {
    background: #f9fafb;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 24px;
}

.detail-box-title {
    margin: 0 0 16px 0;
    color: #374151;
    font-size: 16px;
    font-weight: 600;
}

.detail-grid {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 12px;
    color: #6b7280;
}

.detail-grid strong {
    color: #374151;
}

/* Impact list styling */
.impact-list {
    color: #78350f;
}

.impact-list p {
    margin: 0 0 8px 0;
}

.impact-list p:last-child {
    margin-bottom: 0;
}

/* Radio group styling */
.radio-group {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin-bottom: 0;
}

.radio-label input[type="radio"] {
    width: auto;
    cursor: pointer;
}

/* Label with spacing */
.label-spaced {
    margin-top: 15px;
}

/* Hidden form group */
.form-group-hidden {
    display: none;
}

/* Form actions with extra spacing */
.form-actions-spaced {
    margin-top: 32px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-centered {
        max-width: 100%;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .detail-grid strong {
        margin-top: 8px;
    }
    
    .detail-grid strong:first-child {
        margin-top: 0;
    }
    
    .radio-group {
        flex-direction: column;
    }
}

/* ===== END KLANTEN CONVERTEER PAGE ===== */


/* ===== CONTACTPERSONEN INDEX PAGE ===== */

/* Search bar styling */
.search-bar-card {
    margin-bottom: 20px;
}

.search-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-input-wrapper {
    flex: 1;
}

.search-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 5px;
    font-size: 15px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.search-input:focus {
    outline: none;
    border-color: #333333;
    box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.1);
}

/* Search results alert */
.search-results-alert {
    margin-bottom: 20px;
}

/* Contactpersonen grid */
.contactpersonen-grid {
    display: grid;
    gap: 16px;
}

/* Contactpersoon card */
.contactpersoon-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 20px;
    border-radius: 5px;
    transition: all 0.2s ease;
}

.contactpersoon-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-color: #d1d5db;
}

.contactpersoon-content {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 20px;
}

.contactpersoon-body {
    flex: 1;
}

/* Contactpersoon header */
.contactpersoon-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.contactpersoon-naam {
    margin: 0;
    color: #1a1a1a;
    font-size: 18px;
    font-weight: 600;
}

.contactpersoon-functie-badge {
    background: #e0f2fe;
    color: #0369a1;
    padding: 4px 12px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 500;
}

/* Organisatie link */
.contactpersoon-organisatie {
    margin-bottom: 12px;
}

.organisatie-link {
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.organisatie-link:hover {
    color: #1f2937;
}

/* Contact details */
.contact-details {
    display: grid;
    gap: 6px;
    font-size: 14px;
    color: #4b5563;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-item-werkdagen {
    margin-top: 4px;
    align-items: start;
}

.contact-icon {
    color: #9ca3af;
    flex-shrink: 0;
}

.contact-link {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.15s ease;
}

.contact-link:hover {
    color: #1e40af;
    text-decoration: underline;
}

.werkdagen-text {
    color: #16a34a;
    font-weight: 500;
}

/* Contactpersoon notities */
.contactpersoon-notities {
    margin-top: 12px;
    padding: 12px;
    background: #f9fafb;
    border-radius: 5px;
    border-left: 3px solid #e5e7eb;
}

.notities-text {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.6;
}

/* Contactpersoon actions */
.contactpersoon-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}

/* List footer (totals) */
.list-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}

.list-footer strong {
    color: #1a1a1a;
}

/* Responsive */
@media (max-width: 768px) {
    .search-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-input-wrapper {
        width: 100%;
    }
    
    .contactpersoon-content {
        flex-direction: column;
        gap: 16px;
    }
    
    .contactpersoon-actions {
        flex-direction: row;
        width: 100%;
    }
    
    .contactpersoon-actions .btn {
        flex: 1;
    }
    
    .contactpersoon-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* ===== END CONTACTPERSONEN INDEX PAGE ===== */


/* ===== CONTACTPERSONEN EDIT PAGE ===== */

/* Klant reference box */
.klant-reference-box {
    background: #f9fafb;
    padding: 16px;
    border-radius: 5px;
    margin-bottom: 24px;
    border-left: 4px solid #3b82f6;
}

.klant-reference-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.klant-reference-link:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* Werkdagen container */
.werkdagen-container {
    background: #f9fafb;
    padding: 20px;
    border-radius: 5px;
}

/* Werkdag row */
.werkdag-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    padding: 12px;
    background: white;
    border-radius: 5px;
}

.werkdag-row:last-child {
    margin-bottom: 0;
}

/* Werkdag label */
.werkdag-label {
    min-width: 120px;
}

.werkdag-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    cursor: pointer;
}

.werkdag-checkbox-label input[type="checkbox"] {
    cursor: pointer;
}

.werkdag-dag-naam {
    font-weight: 600;
    color: #1a1a1a;
}

/* Werktijd select wrapper */
.werktijd-select-wrapper {
    flex: 1;
    transition: opacity 0.2s ease;
}

.werktijd-disabled {
    opacity: 0.5;
    pointer-events: none;
}

.werktijd-select {
    padding: 8px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    width: 100%;
    max-width: 250px;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .werkdag-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .werkdag-label {
        min-width: auto;
        width: 100%;
    }
    
    .werktijd-select-wrapper {
        width: 100%;
    }
    
    .werktijd-select {
        max-width: 100%;
    }
}

/* ===== END CONTACTPERSONEN EDIT PAGE ===== */

/* ===== EMAILS INDEX PAGE ===== */

/* Email specific klant block styling */
.klant-block-emails {
    /* Inherits from global .klant-block */
}



.klant-header-emails h2 {
    color: white;
}

/* Geen emails state */
.geen-emails {
    padding: 60px 20px;
    text-align: center;
    color: #6b7280;
}

.geen-emails p {
    font-size: 16px;
    margin-bottom: 12px;
}

.geen-emails a {
    color: #1f2937;
    text-decoration: underline;
}

.geen-emails a:hover {
    color: #111827;
}

/* Note: AI badges and components are already defined in the global CSS
   from the earlier pages. These classes are used here:
   - .ai-info
   - .ai-badge
   - .ai-time
   - .ai-category
   - .ai-priority
   - .ai-priority-laag, .ai-priority-normaal, .ai-priority-hoog, .ai-priority-urgent
   - .ai-summary
   - .no-ai
   - .ticket-link
   - .no-ticket
*/

/* ===== END EMAILS INDEX PAGE ===== */

/* ===== TICKETS INDEX PAGE ===== */

/* Simple empty state (inline version) */
.empty-state-simple {
    padding: 40px 20px;
    text-align: center;
    color: #6b7280;
}

.empty-state-simple a {
    color: #1f2937;
    text-decoration: underline;
}

.empty-state-simple a:hover {
    color: #111827;
}

/* Note: Most styling is already defined globally:
   - .page-header (already defined)
   - .btn, .btn-success, .btn-small, .btn-primary, .btn-danger (already defined)
   - .alert, .alert-success (already defined)
   - .card (already defined)
   - table, th, td, tbody tr:hover (already defined)
   - .prioriteit, .prioriteit-* (already defined)
   - .status, .status-* (already defined)
   - .actions (already defined)
*/

/* ===== END TICKETS INDEX PAGE ===== */


/* ===== DASHBOARD PAGE ===== */

/* Statistics Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

/* Stat Card */
.stat-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Stat Icon */
.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.stat-icon-blue { 
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%); 
}

.stat-icon-green { 
    background: linear-gradient(135deg, #10b981 0%, #059669 100%); 
}

.stat-icon-orange { 
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); 
}

.stat-icon-purple { 
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%); 
}

.stat-icon-teal { 
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%); 
}

.stat-icon-indigo { 
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%); 
}

/* Stat Content */
.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

/* Card utilities */
.card-spaced {
    margin-top: 32px;
}

.card-title {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}

.card-title-warning {
    color: #dc2626;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Waarschuwingen (Warnings) */
.waarschuwingen-lijst {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.waarschuwing-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 5px;
    gap: 16px;
}

.waarschuwing-kritiek {
    background: #fee2e2;
    border-color: #ef4444;
}

.waarschuwing-klant {
    flex: 1;
    min-width: 0;
}

.waarschuwing-klant strong {
    color: #1a1a1a;
}

.waarschuwing-status {
    flex-shrink: 0;
}

.waarschuwing-actie {
    flex-shrink: 0;
}

/* Badge warning variant (extends existing badge) */
.badge-warning {
    background: #fbbf24;
    color: #78350f;
}

/* Table footer action */
.table-footer-action {
    text-align: center;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 20px;
        gap: 16px;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .stat-value {
        font-size: 28px;
    }
    
    .waarschuwing-item {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .waarschuwing-actie {
        width: 100%;
    }
    
    .waarschuwing-actie .btn {
        width: 100%;
    }
}

/* ===== END DASHBOARD PAGE ===== */

/* =========================================
   LUCIDE ICONS STYLING
   Plak deze code ONDERAAN je style-calcom.css
   ========================================= */

/* Sidebar navigatie icons */
.sidebar .nav a .lucide {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    vertical-align: middle;
    stroke-width: 2;
    display: inline-block;
}

/* Logout icon */
.sidebar-user .logout .lucide {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    vertical-align: middle;
}

/* Active menu icons (iets dikker) */
.sidebar .nav a.active .lucide {
    stroke-width: 2.5;
}

/* Hover effect voor navigatie icons */
.sidebar .nav a:hover .lucide {
    transform: translateX(2px);
    transition: transform 0.2s ease;
}

/* Dashboard statistiek cards */
.stat-card .lucide {
    width: 32px;
    height: 32px;
    margin-bottom: 0px; 
    display: block;
}

/* Buttons met icons */
.btn .lucide,
button .lucide,
a.btn .lucide {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    vertical-align: middle;
}

/* Table headers en cellen */
table thead th .lucide,
table tbody td .lucide {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    vertical-align: middle;
}

/* Badge icons */
.badge .lucide {
    width: 14px;
    height: 14px;
    margin-right: 4px;
    vertical-align: middle;
}

/* Alert icons */
.alert .lucide {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    vertical-align: middle;
}

/* Form labels met icons */
label .lucide {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    vertical-align: middle;
}

/* Algemene icon groottes (gebruik als class) */
.lucide-small { 
    width: 16px; 
    height: 16px; 
    margin-right: 5px;
}

.lucide-medium { 
    width: 20px; 
    height: 20px; 
    margin-right: 8px;
}

.lucide-large { 
    width: 24px; 
    height: 24px; 
    margin-right: 10px;
}

.lucide-xlarge { 
    width: 32px; 
    height: 32px; 
    margin-right: 12px;
}

/* Icon zonder margin (gebruik voor icon-only buttons) */
.lucide-only {
    margin-right: 0;
}

/* Icon kleuren (gebruik als class) */
.lucide-primary { color: #007bff; }
.lucide-success { color: #28a745; }
.lucide-danger { color: #dc3545; }
.lucide-warning { color: #ffc107; }
.lucide-info { color: #17a2b8; }
.lucide-muted { color: #6c757d; }

/* Loading spinner animatie */
.lucide-spin {
    animation: lucide-spin 2s linear infinite;
}

@keyframes lucide-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive aanpassingen */
@media (max-width: 768px) {
    .sidebar .nav a .lucide {
        width: 16px;
        height: 16px;
        margin-right: 8px;
    }
    
    .stat-card .lucide {
        width: 28px;
        height: 28px;
    }
}

/* =========================================
   DASHBOARD ICONS - Extra CSS
   Voeg toe aan style-calcom.css (onderaan)
   ========================================= */

/* Stat card icons in gekleurde cirkels */
.stat-icon .lucide {
    width: 28px;
    height: 28px;
    stroke-width: 2;
}

/* Card title icons */
.card-title .lucide {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
}

/* Badge icons in waarschuwingen */
.badge .lucide {
    width: 14px;
    height: 14px;
    margin-right: 5px;
    vertical-align: middle;
}

/* Button icons in dashboard */
.btn-small .lucide {
    width: 14px;
    height: 14px;
    margin-right: 5px;
    vertical-align: middle;
}

/* Arrow icon in "Bekijk Alle Tickets" button */
.btn .lucide[data-lucide="arrow-right"] {
    margin-left: 5px;
    margin-right: 0;
}


/* =========================================
   TICKETS OVERZICHT - Extra CSS
   Voeg toe aan style-calcom.css (onderaan)
   ========================================= */

/* Filter label icon */
.filter-section label .lucide {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    vertical-align: middle;
}

/* Reset button icon */
.btn-reset .lucide {
    width: 14px;
    height: 14px;
    margin-right: 5px;
    vertical-align: middle;
}

/* Klant header icon (organisatie) */
.klant-header h2 .lucide {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
}

/* Klant totals icons (inline spans) */
.klant-totals span .lucide {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    vertical-align: middle;
}

/* Email button icons */
.btn-email .lucide {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    vertical-align: middle;
}

/* Disabled email button icon (andere kleur) */
.btn-email:disabled .lucide {
    opacity: 0.5;
}

/* Modal header icon */
.modal-header h3 .lucide {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
}

/* Modal close button icon */
.modal-close .lucide {
    width: 20px;
    height: 20px;
    display: block;
}

/* =========================================
   KLANTEN OVERZICHT - Extra CSS
   Plak onderaan style-calcom.css
   ========================================= */

/* Alert success icon */
.alert-success .lucide {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
}

/* Page header button icon */
.page-header-with-actions .btn .lucide {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    vertical-align: middle;
}

/* Empty state icon */
.empty-state-icon .lucide {
    width: 64px;
    height: 64px;
    stroke-width: 1.5;
}

/* Table header icons */
table thead th .lucide {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    vertical-align: middle;
}

/* Action buttons icons */
.action-buttons .btn .lucide {
    width: 14px;
    height: 14px;
    margin-right: 5px;
    vertical-align: middle;
}

/* =========================================
   KLANT EDIT - Extra CSS
   Plak onderaan style-calcom.css
   ========================================= */

/* Tab buttons icons */
.tab-button .lucide {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    vertical-align: middle;
}

/* Tab title icons (h3 headers) */
.tab-title .lucide {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
}

/* Form label inline icons (telefoon, mobiel) */
label .lucide {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    vertical-align: middle;
}

/* Alert warning icon */
.alert-warning .lucide {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
}

/* Tab header with action - header icon */
.tab-header-with-action h3 .lucide {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
}

/* List item details icons (mail, phone, clock, message) */
.list-item-details .lucide {
    width: 14px;
    height: 14px;
    margin-right: 6px;
    vertical-align: middle;
}

/* List item title icon (lock icon bij credentials) */
.list-item-title .lucide {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    vertical-align: middle;
}

/* List item action buttons */
.list-item-actions .btn .lucide {
    width: 14px;
    height: 14px;
    margin-right: 5px;
    vertical-align: middle;
}

/* Strippenkaart status alert icons */
.strippenkaart-alert-danger .lucide,
.strippenkaart-alert-warning .lucide {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    vertical-align: middle;
}

/* Form actions buttons (save, terug) */
.form-actions .btn .lucide {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    vertical-align: middle;
}

/* Modal actions buttons */
.modal-actions .btn .lucide {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    vertical-align: middle;
}
/* =========================================
   KLANT CREATE - Extra CSS
   Plak onderaan style-calcom.css
   ========================================= */

/* Section title icons (h3 headers) */
.section-title .lucide {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
}

/* De rest van de CSS voor form labels en buttons is al toegevoegd bij klanten_edit_extra_css.css */

/* =========================================
   KLANT CONVERTEER - Extra CSS
   Plak onderaan style-calcom.css
   ========================================= */

/* Info box title icons */
.info-box-title .lucide {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
}

/* Detail box title icon */
.detail-box-title .lucide {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
}

/* Impact list icons (check marks) */
.impact-list p .lucide {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: middle;
    color: #28a745;
}

/* Radio label icon (plus-circle bij "Nieuwe organisatie") */
.radio-label span .lucide {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    vertical-align: middle;
}
/* =========================================
   CONTACTPERSONEN INDEX - Extra CSS
   Plak onderaan style-calcom.css
   ========================================= */

/* Search input icon (binnen input veld) */
.search-input-icon {
    width: 18px;
    height: 18px;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    pointer-events: none;
}

/* Search input met icon - padding aanpassen */
.search-input-wrapper {
    position: relative;
}

.search-input-wrapper .search-input {
    padding-left: 40px;
}

/* Search button icon */
.search-form .btn .lucide {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    vertical-align: middle;
}

/* Alert info icon */
.alert-info .lucide {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    vertical-align: middle;
}

/* Organisatie link icon */
.organisatie-link .lucide {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    vertical-align: middle;
}

/* Contact item icons (mail, phone, smartphone, calendar) */
.contact-icon-lucide {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Notities icon */
.notities-text .lucide {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    vertical-align: middle;
}

/* Action buttons icons */
.contactpersoon-actions .btn .lucide {
    width: 14px;
    height: 14px;
    margin-right: 5px;
    vertical-align: middle;
}

/* =========================================
   CONTACTPERSONEN EDIT - Extra CSS
   Plak onderaan style-calcom.css
   ========================================= */

/* Klant reference box icon */
.klant-reference-box .lucide {
    width: 18px;
    height: 18px;
    margin-right: 6px;
    vertical-align: middle;
}

/* Note: De rest van de label icons en section title icons zijn al toegevoegd in eerdere CSS bestanden */

/* =========================================
   EMAILS INDEX - Extra CSS
   Plak onderaan style-calcom.css
   ========================================= */

/* Klant header icons */
.klant-header-emails h2 .lucide {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
}

/* Klant totals icons (mail, clock) */
.klant-header-emails .klant-totals span .lucide {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    vertical-align: middle;
}

/* Table header AI icon (brain) */
table thead th .lucide[data-lucide="brain"] {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    vertical-align: middle;
}

/* AI summary icon */
.ai-summary .lucide {
    width: 14px;
    height: 14px;
    margin-right: 5px;
    vertical-align: middle;
}

/* AI badge icon (sparkles) */
.ai-badge .lucide {
    width: 14px;
    height: 14px;
    margin-right: 4px;
    vertical-align: middle;
}

/* AI info icons (clock, tag, flag) */
.ai-time .lucide,
.ai-category .lucide,
.ai-priority .lucide {
    width: 14px;
    height: 14px;
    margin-right: 4px;
    vertical-align: middle;
}

/* Ticket link icon */
.ticket-link .lucide {
    width: 14px;
    height: 14px;
    margin-right: 5px;
    vertical-align: middle;
}
/* Tickets overzicht styling */
.page-header h2 i,
.alert i {
    vertical-align: middle;
    margin-right: 8px;
}

.empty-state-simple i {
    display: block;
    margin: 0 auto 12px;
    width: 48px;
    height: 48px;
    color: #94a3b8;
}

/* Table header icons */
thead th i {
    margin-right: 6px;
    vertical-align: middle;
    opacity: 0.7;
}

/* Category badge */
.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: #f1f5f9;
    border-radius: 4px;
    font-size: 13px;
}

.category-badge i {
    width: 14px;
    height: 14px;
}

/* Prioriteit en Status badges met icons */
.prioriteit,
.status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
}

.prioriteit i,
.status i {
    width: 14px;
    height: 14px;
}

/* Prioriteit kleuren */
.prioriteit-laag {
    background: #dbeafe;
    color: #1e40af;
}

.prioriteit-normaal {
    background: #e0e7ff;
    color: #4338ca;
}

.prioriteit-hoog {
    background: #fed7aa;
    color: #c2410c;
}

.prioriteit-urgent {
    background: #fecaca;
    color: #991b1b;
}

/* Status kleuren */
.status-open {
    background: #dbeafe;
    color: #1e40af;
}

.status-in_behandeling {
    background: #fef3c7;
    color: #92400e;
}

.status-afgerond {
    background: #d1fae5;
    color: #065f46;
}

.status-gefactureerd {
    background: #e0e7ff;
    color: #4338ca;
}

/* Action buttons met icons */
.actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.actions .btn i {
    width: 16px;
    height: 16px;
}

/* Form styling met icons */
.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 500;
    color: #1e293b;
}

.form-group label i {
    width: 18px;
    height: 18px;
    color: #64748b;
}

/* Info box met icon */
.info-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #f1f5f9;
    border-radius: 6px;
    margin-bottom: 24px;
    font-size: 14px;
}

.info-box i {
    width: 18px;
    height: 18px;
    color: #64748b;
}

/* Form actions buttons met icons */
.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.form-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.form-actions .btn i {
    width: 18px;
    height: 18px;
}

/* Form row voor naast elkaar */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Dark button styling (zoals Nieuwe Klant) */
.btn-dark {
    background: #1e293b;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-dark:hover {
    background: #0f172a;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-dark:active {
    transform: translateY(0);
}

.btn-dark i {
    width: 18px;
    height: 18px;
}

/* =====================================================
   TELEFOONGESPREKKEN STYLING
   Voeg deze CSS toe aan je style-calcom.css bestand
   ===================================================== */

/* Gesprekken lijst styling */
.gesprekken-lijst {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gesprek-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: white;
    border: 1px solid #e0e0e0;
    border-left: 4px solid #16a34a;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.gesprek-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.gesprek-card.ongekoppeld {
    border-left: 4px solid #f59e0b;
    background: #fffef8;
}

/* Gesprek icoon */
.gesprek-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
}

.gesprek-card[data-richting="gemist"] .gesprek-icon {
    background: #fee2e2;
    color: #dc2626;
}

.gesprek-card.ongekoppeld .gesprek-icon {
    background: #fef3c7;
    color: #f59e0b;
}

/* Gesprek details */
.gesprek-details {
    flex: 1;
}

.gesprek-hoofd {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.gesprek-hoofd .klant-naam {
    font-size: 16px;
    color: #333;
}

.gesprek-hoofd .klant-naam.onbekend {
    color: #999;
    font-style: italic;
}

.gesprek-hoofd .contactpersoon {
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.gesprek-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #666;
}

.gesprek-meta > span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.gesprek-meta svg {
    width: 16px;
    height: 16px;
}

.gesprek-notities {
    margin-top: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.gesprek-notities svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* Gesprek actions */
.gesprek-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Dag groepering */
.gesprek-dag-groep {
    margin-bottom: 30px;
}

.dag-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    margin-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
    font-size: 18px;
    color: #333;
}

.dag-stats {
    font-size: 14px;
    color: #666;
    font-weight: normal;
}

/* Richting badges */
.richting-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.richting-badge.richting-inkomend {
    background: #d4edda;
    color: #28a745;
}

.richting-badge.richting-uitgaand {
    background: #d1ecf1;
    color: #0066cc;
}

.richting-badge.richting-gemist {
    background: #f8d7da;
    color: #dc3545;
}

/* Statistieken grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    gap: 15px;
    align-items: center;
    transition: all 0.2s ease;
}

.stat-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.stat-card.stat-success {
    border-left: 4px solid #28a745;
}

.stat-card.stat-info {
    border-left: 4px solid #0066cc;
}

.stat-card.stat-warning {
    border-left: 4px solid #ffc107;
}

.stat-card.stat-danger {
    border-left: 4px solid #dc3545;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    flex-shrink: 0;
}

.stat-icon svg {
    width: 24px;
    height: 24px;
    color: #666;
}

.stat-content {
    flex: 1;
}

.stat-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
    text-transform: none;
    letter-spacing: 0px;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    line-height: 1;
}

.stat-subtitle {
    font-size: 13px;
    color: #999;
    margin-top: 4px;
}

.stat-link {
    font-size: 13px;
    color: #007bff;
    text-decoration: none;
    margin-top: 4px;
    display: inline-block;
}

.stat-link:hover {
    text-decoration: underline;
}

/* Detail container */
.detail-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 992px) {
    .detail-container {
        grid-template-columns: 1fr 1fr;
    }
}

.detail-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
}

.detail-card h3 {
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-row {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row label {
    flex: 0 0 180px;
    font-weight: 600;
    color: #666;
}

.detail-row > div {
    flex: 1;
    color: #333;
}

/* Filter bar */
.filter-bar {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
}

.filter-form {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-group label {
    font-size: 13px;
    font-weight: 600;
    color: #666;
}

.filter-group select,
.filter-group input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    min-width: 200px;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.empty-state svg {
    width: 64px;
    height: 64px;
    color: #999;
    margin-bottom: 20px;
}

.empty-state h3 {
    color: #333;
    margin-bottom: 10px;
}

.empty-state p {
    color: #666;
    margin-bottom: 20px;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.badge-success {
    background: #d4edda;
    color: #28a745;
}

.badge-warning {
    background: #fff3cd;
    color: #856404;
}

.badge-secondary {
    background: #e2e3e5;
    color: #666;
}

/* Telefoon nummer link */
.telefoonnummer {
    font-family: 'Courier New', monospace;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .gesprek-card {
        flex-direction: column;
    }
    
    .gesprek-actions {
        width: 100%;
        justify-content: stretch;
    }
    
    .gesprek-actions .btn {
        flex: 1;
    }
    
    .dag-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .filter-form {
        flex-direction: column;
    }
    
    .filter-group select,
    .filter-group input {
        width: 100%;
    }
}
/* =========================================
   EMAIL TO TICKET CONVERSION MODAL
   Extra styling voor ticket conversie modal
   ========================================= */

/* Modal overlay - override/extend existing .modal */
#ticketModal.modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

/* Modal content box voor ticket conversie */
#ticketModal .modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Modal header */
#ticketModal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    border-bottom: 1px solid #e5e7eb;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border-radius: 12px 12px 0 0;
}

#ticketModal .modal-header h3 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 20px;
    font-weight: 600;
}

#ticketModal .modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    color: white;
    opacity: 0.9;
    transition: opacity 0.2s;
}

#ticketModal .modal-close:hover {
    opacity: 1;
}

#ticketModal .modal-close .lucide {
    width: 24px;
    height: 24px;
}

/* Modal body */
#ticketModal .modal-body {
    padding: 28px;
}

/* Modal onderwerp box */
.modal-onderwerp {
    background: #f3f4f6;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-weight: 500;
    color: #1f2937;
    border-left: 4px solid #3b82f6;
    font-size: 15px;
}

/* Form groups in modal - extend existing */
#ticketModal .form-group {
    margin-bottom: 20px;
}

#ticketModal .form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #374151;
    font-size: 15px;
}

#ticketModal .form-group input,
#ticketModal .form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

#ticketModal .form-group input:focus,
#ticketModal .form-group select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Modal footer */
#ticketModal .modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 24px 28px;
    border-top: 1px solid #e5e7eb;
}

/* Convert to ticket button */
.btn-convert-ticket {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    background: #333333;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-convert-ticket:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-convert-ticket .lucide {
    width: 18px;
    height: 18px;
}

/* Button variants for modal */
#ticketModal .btn-secondary {
    background: #e5e7eb;
    color: #374151;
    border: none;
    padding: 10px 20px;
    font-size: 15px;
}

#ticketModal .btn-secondary:hover {
    background: #d1d5db;
}

#ticketModal .btn-primary {
    background: #10b981;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 15px;
}

#ticketModal .btn-primary:hover {
    background: #059669;
}

/* Tooltip icon voor afgekorte tekst */
.tooltip-icon {
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
    cursor: help;
    color: #6b7280;
    transition: color 0.2s;
    position: relative;
}

.tooltip-icon:hover {
    color: #374151;
}

.tooltip-icon .lucide {
    width: 16px;
    height: 16px;
}

/* Custom tooltip bubble (created by JavaScript) */
.custom-tooltip {
    position: absolute;
    background: #1f2937;
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    white-space: normal;
    max-width: 400px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    font-weight: normal;
    pointer-events: none;
}

/* Tooltip arrow */
.custom-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #1f2937;
}

/* Responsive modal */
@media (max-width: 768px) {
    #ticketModal .modal-content {
        width: 95%;
        max-width: none;
    }
    
    #ticketModal .modal-header {
        padding: 20px;
    }
    
    #ticketModal .modal-body {
        padding: 20px;
    }
    
    #ticketModal .modal-footer {
        padding: 20px;
        flex-direction: column-reverse;
    }
    
    #ticketModal .modal-footer .btn {
        width: 100%;
    }
}

/* ===== END EMAIL TO TICKET CONVERSION MODAL ===== */


/* ========================================
   AI KOLOM - Minimale styling
   Voeg toe aan einde van style-calcom.css
   ======================================== */

/* AI cel styling */
.ai-cell {
    text-align: center;
}

.ai-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 13px;
}

.ai-info i {
    width: 16px;
    height: 16px;
    color: #0d6efd;
}

.ai-info small {
    color: #6c757d;
    font-size: 11px;
}

/* Custom tooltip styling */
.custom-tooltip {
    position: fixed;
    background: #1a1a1a;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    max-width: 300px;
    z-index: 10000;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    line-height: 1.4;
}

.tooltip-icon {
    cursor: help;
    display: inline-flex;
    align-items: center;
    margin-left: 4px;
    vertical-align: middle;
}

.tooltip-icon svg {
    width: 16px;
    height: 16px;
    color: #666;
}

.tooltip-icon:hover svg {
    color: #333;
}


/* =====================================================
   CONTACTPERSONEN 3-KOLOMMEN GRID (COMPACTE VERSIE)
   Voeg deze CSS toe aan het einde van style-calcom.css
   ===================================================== */

/* 3-kolommen grid voor contactpersonen */
.contactpersonen-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Contactpersoon card aanpassingen voor smaller layout */
.contactpersonen-grid-3col .contactpersoon-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 18px;
    border-radius: 8px;
    transition: all 0.2s ease;
    height: 100%;
}

.contactpersonen-grid-3col .contactpersoon-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-color: #d1d5db;
    transform: translateY(-2px);
}

/* Contactpersoon content - stack verticaal */
.contactpersonen-grid-3col .contactpersoon-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.contactpersonen-grid-3col .contactpersoon-body {
    flex: 1;
}

/* Header aanpassingen voor kleinere cards */
.contactpersonen-grid-3col .contactpersoon-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
}

.contactpersonen-grid-3col .contactpersoon-naam {
    margin: 0;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.contactpersonen-grid-3col .contactpersoon-functie-badge {
    background: #e0f2fe;
    color: #0369a1;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

/* Organisatie link kleiner */
.contactpersonen-grid-3col .contactpersoon-organisatie {
    margin-bottom: 12px;
}

.contactpersonen-grid-3col .organisatie-link {
    color: #6b7280;
    text-decoration: none;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.contactpersonen-grid-3col .organisatie-link:hover {
    color: #1f2937;
}

/* Contact details compacter */
.contactpersonen-grid-3col .contact-details {
    display: grid;
    gap: 6px;
    font-size: 13px;
    color: #4b5563;
}

.contactpersonen-grid-3col .contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.contactpersonen-grid-3col .contact-icon-lucide {
    width: 14px;
    height: 14px;
    color: #9ca3af;
    flex-shrink: 0;
}

.contactpersonen-grid-3col .contact-link {
    color: #000000;
    text-decoration: none;
    transition: color 0.15s ease;
    word-break: break-all;
}

.contactpersonen-grid-3col .contact-link:hover {
    color: #1e40af;
    text-decoration: underline;
}

.contactpersonen-grid-3col .werkdagen-text {
    color: #16a34a;
    font-weight: 500;
    font-size: 12px;
}

/* Notities kleiner */
.contactpersonen-grid-3col .contactpersoon-notities {
    margin-top: 10px;
    padding: 10px;
    background: #f9fafb;
    border-radius: 5px;
    border-left: 3px solid #e5e7eb;
}

.contactpersonen-grid-3col .notities-text {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.5;
}

/* Actions - HORIZONTAAL naast elkaar (compacter!) */
.contactpersonen-grid-3col .contactpersoon-actions {
    display: flex;
    flex-direction: row;
    gap: 8px;
    width: 100%;
    justify-content: flex-end;
}

.contactpersonen-grid-3col .contactpersoon-actions .btn {
  
    justify-content: center;
    font-size: 13px;
    padding: 8px 12px;
}

.contactpersonen-grid-3col .contactpersoon-actions .btn .lucide {
    width: 14px;
    height: 14px;
}

/* Responsive breakpoints */

/* 2 kolommen op tablets */
@media (max-width: 1200px) {
    .contactpersonen-grid-3col {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 1 kolom op mobiel - buttons onder elkaar op hele kleine schermen */
@media (max-width: 768px) {
    .contactpersonen-grid-3col {
        grid-template-columns: 1fr;
    }
}

/* Extra kleine schermen - buttons verticaal */
@media (max-width: 480px) {
    .contactpersonen-grid-3col .contactpersoon-actions {
        flex-direction: column;
    }
    
    .contactpersonen-grid-3col .contactpersoon-actions .btn {
        width: 100%;
    }
}

/* ===== END CONTACTPERSONEN 3-KOLOMMEN GRID ===== */

/* ================================
   TOOLS PAGE STYLING
   ================================ */

/* Quick Actions */
.quick-actions {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color, #e5e7eb);
}

.section-title {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted, #6b7280);
    margin-bottom: 1rem;
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

/* DNS Records Styling */
.dns-section {
    margin-bottom: 2.5rem;
}

.dns-section:last-child {
    margin-bottom: 0;
}

.dns-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary, #111827);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color, #3b82f6);
}

.dns-title i {
    width: 20px;
    height: 20px;
    color: var(--primary-color, #3b82f6);
}

.dns-records-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.dns-record {
    background: var(--bg-secondary, #f9fafb);
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.2s ease;
}

.dns-record:hover {
    border-color: var(--primary-light, #93c5fd);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.dns-record.highlight {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-color: var(--primary-color, #3b82f6);
}

.dns-record-main {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.dns-record-main:last-child {
    margin-bottom: 0;
}

.dns-record code {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.875rem;
    background: var(--bg-primary, #ffffff);
    color: var(--code-color, #dc2626);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    border: 1px solid var(--border-color, #e5e7eb);
}

.dns-record-meta {
    font-size: 0.875rem;
    color: var(--text-muted, #6b7280);
}

.txt-record {
    display: block;
    word-break: break-all;
    line-height: 1.6;
    max-width: 100%;
}

/* SOA Details */
.soa-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.75rem;
}

.soa-details > div {
    font-size: 0.875rem;
    padding: 0.5rem;
    background: var(--bg-primary, #ffffff);
    border-radius: 4px;
    border: 1px solid var(--border-color, #e5e7eb);
}

.soa-details strong {
    color: var(--text-primary, #111827);
    font-weight: 600;
}

/* Status Indicators */
.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-indicator i {
    width: 16px;
    height: 16px;
}

.status-indicator.status-success {
    background: #d1fae5;
    color: #065f46;
}

.status-indicator.status-success i {
    color: #059669;
}

.status-indicator.status-error {
    background: #fee2e2;
    color: #991b1b;
}

.status-indicator.status-error i {
    color: #dc2626;
}

.status-indicator.status-warning {
    background: #fef3c7;
    color: #92400e;
}

.status-indicator.status-warning i {
    color: #f59e0b;
}

/* Status Badge in Header */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-badge {
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.025em;
}

.status-badge.status-success {
    background: #d1fae5;
    color: #065f46;
}

.status-badge.status-error {
    background: #fee2e2;
    color: #991b1b;
}

/* Empty State */
.empty-state {
    color: var(--text-muted, #6b7280);
    font-style: italic;
    padding: 1rem;
    text-align: center;
    background: var(--bg-secondary, #f9fafb);
    border-radius: 6px;
    border: 1px dashed var(--border-color, #e5e7eb);
}

/* Button Group Spacing */
.button-group {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .action-buttons {
        grid-template-columns: 1fr;
    }
    
    .soa-details {
        grid-template-columns: 1fr;
    }
    
    .dns-record-main {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Dark Mode Support (optional) */
@media (prefers-color-scheme: dark) {
    .dns-record {
        background: #1f2937;
        border-color: #374151;
    }
    
    .dns-record:hover {
        border-color: #60a5fa;
        box-shadow: 0 2px 8px rgba(96, 165, 250, 0.2);
    }
    
    .dns-record.highlight {
        background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
        border-color: #60a5fa;
    }
    
    .dns-record code {
        background: #111827;
        color: #f87171;
        border-color: #374151;
    }
    
    .soa-details > div {
        background: #111827;
        border-color: #374151;
    }
    
    .empty-state {
        background: #1f2937;
        border-color: #374151;
    }
}

/* ============================================
   MONITORING MODULE CSS
   ============================================
   Voeg dit toe aan je style-calcom.css
   Of include als aparte file
   ============================================ */

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon svg {
    width: 24px;
    height: 24px;
}

.stat-icon-success {
    background: #e8f7ed;
    color: #0a7a2d;
}

.stat-icon-danger {
    background: #feecec;
    color: #a51414;
}

.stat-icon-warning {
    background: #fff6e6;
    color: #a15a00;
}

.stat-icon-info {
    background: #e6f4ff;
    color: #0066cc;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a1a1a;
}

.stat-label {
    font-size: 13px;
    color: #666;
    margin-top: 4px;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge svg {
    width: 14px;
    height: 14px;
}

.badge-success {
    background: #e8f7ed;
    color: #0a7a2d;
}

.badge-danger {
    background: #feecec;
    color: #a51414;
}

.badge-warning {
    background: #fff6e6;
    color: #a15a00;
}

.badge-secondary {
    background: #f0f0f0;
    color: #666;
}

.badge-info {
    background: #e6f4ff;
    color: #0066cc;
}

/* Info Grid (for site details) */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.info-item {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item strong {
    display: block;
    color: #666;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    font-weight: 600;
}

.info-item a {
    color: #0066cc;
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

/* Type Fields Toggle */
.type-fields {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state-icon {
    width: 64px;
    height: 64px;
    color: #ccc;
    margin: 0 auto 20px;
}

.empty-state h3 {
    color: #333;
    margin-bottom: 10px;
}

.empty-state p {
    color: #666;
    margin-bottom: 20px;
}

/* Table Enhancements */
.table tbody tr:hover {
    background-color: #f8f9fa;
}

.table .actions {
    white-space: nowrap;
}

.table .actions .btn {
    margin-right: 4px;
}

.table .actions .btn:last-child {
    margin-right: 0;
}

/* Icon Sizes */
.icon-xs {
    width: 14px;
    height: 14px;
    vertical-align: middle;
}

/* Responsive */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 16px;
    }
    
    .stat-value {
        font-size: 24px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}

/* Alert Improvements */
.alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.alert svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.alert-success {
    background: #e8f7ed;
    color: #0a7a2d;
    border-left: 4px solid #0a7a2d;
}

.alert-danger {
    background: #feecec;
    color: #a51414;
    border-left: 4px solid #a51414;
}

.alert-warning {
    background: #fff6e6;
    color: #a15a00;
    border-left: 4px solid #a15a00;
}

.alert-info {
    background: #e6f4ff;
    color: #0066cc;
    border-left: 4px solid #0066cc;
}

/* Form Row */
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

/* Text Utilities */
.text-muted {
    color: #666 !important;
}

.text-primary {
    color: #0066cc !important;
}

.text-success {
    color: #0a7a2d !important;
}

.text-danger {
    color: #a51414 !important;
}

.text-warning {
    color: #a15a00 !important;
}

/* Float Utilities */
.float-right {
    float: right;
}

.float-left {
    float: left;
}

/* Form Actions */
.form-actions {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    gap: 12px;
    align-items: center;
}

.form-actions .btn {
    margin: 0;
}

/* Page Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.page-header h1 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.page-header h1 svg {
    width: 32px;
    height: 32px;
}

@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
}

/* =============================================================================
   GESPREKKEN SECTIE
   ============================================================================= */

/* Duration Badge */
.duration-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: #f0f0f0;
    border-radius: 4px;
    font-size: 13px;
    font-family: 'Courier New', monospace;
}

.duration-badge i {
    width: 14px;
    height: 14px;
}

/* File Info Display */
.file-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.file-icon {
    width: 16px;
    height: 16px;
    color: #666;
}

.file-name {
    font-size: 14px;
    color: #333;
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Date Display */
.date-display {
    display: flex;
    flex-direction: column;
}

.date-primary {
    font-weight: 500;
    font-size: 14px;
}

.date-secondary {
    font-size: 12px;
    color: #666;
}

/* Clickable Table Rows */
.table-row-clickable {
    cursor: pointer;
}

.table-row-clickable:hover {
    background-color: #f8f9fa;
}

/* =============================================================================
   GESPREKKEN UPLOAD SECTIE
   ============================================================================= */

/* File Upload Area */
.file-upload-area {
    border: 2px dashed #cbd5e0;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.file-upload-area:hover {
    border-color: #4299e1;
    background-color: #f7fafc;
}

.file-upload-area.drag-over {
    border-color: #4299e1;
    background-color: #ebf8ff;
}

.file-input-hidden {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.file-upload-icon {
    margin-bottom: 16px;
}

.file-upload-icon i {
    width: 64px;
    height: 64px;
    color: #4299e1;
}

.file-upload-primary {
    font-size: 16px;
    margin-bottom: 8px;
    color: #2d3748;
}

.file-upload-secondary {
    font-size: 14px;
    color: #718096;
}

/* File Selected State */
.file-selected {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f7fafc;
    border-radius: 8px;
}

.file-selected-icon i {
    width: 48px;
    height: 48px;
    color: #4299e1;
}

.file-selected-info {
    flex: 1;
    text-align: left;
}

.file-selected-name {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 4px;
}

.file-selected-size {
    font-size: 14px;
    color: #718096;
}

.file-remove-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.file-remove-btn:hover {
    background-color: #e2e8f0;
}

.file-remove-btn i {
    width: 20px;
    height: 20px;
    color: #718096;
}

/* Info Cards Grid */
.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.info-card {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.info-card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-card-icon i {
    width: 24px;
    height: 24px;
    color: white;
}

.info-icon-blue {
    background: #4299e1;
}

.info-icon-purple {
    background: #9f7aea;
}

.info-icon-green {
    background: #48bb78;
}

.info-card-content {
    flex: 1;
}

.info-card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2d3748;
}

.info-card-text {
    font-size: 14px;
    line-height: 1.6;
    color: #718096;
}

/* Upload Progress */
.upload-progress {
    margin-top: 20px;
    padding: 20px;
    background: #ebf8ff;
    border: 1px solid #4299e1;
    border-radius: 8px;
    display: none;
}

.upload-progress.active {
    display: block;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 12px;
}

.progress-fill {
    height: 100%;
    background: #4299e1;
    transition: width 0.3s ease;
    width: 0%;
}

/* Spin Animation voor Loading */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spin {
    animation: spin 1s linear infinite;
}

/* =============================================================================
   GESPREKKEN DETAIL VIEW
   ============================================================================= */

/* Back Link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #4299e1;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.back-link:hover {
    color: #2b6cb0;
}

.back-link i {
    width: 16px;
    height: 16px;
}

/* Detail Grid Layout */
.detail-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 24px;
    margin-top: 24px;
}

@media (max-width: 1024px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }
}

.detail-column,
.detail-column-wide {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Detail List */
.detail-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-label i {
    width: 14px;
    height: 14px;
}

.detail-value {
    font-size: 15px;
    color: #2d3748;
}

.detail-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 0px solid #e2e8f0;
}

.detail-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 12px;
}

.detail-section-title i {
    width: 16px;
    height: 16px;
}

.detail-notes {
    font-size: 14px;
    line-height: 1.6;
    color: #4a5568;
}

/* Transcriptie */
.transcriptie-text {
    font-size: 15px;
    line-height: 1.8;
    color: #2d3748;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* AI Summary */
.ai-summary {
    font-size: 10px;
    line-height: 1.7;
    color: #2d3748;
    margin-bottom: 24px;
}

.important-points {
    margin-top: 24px;
    padding: 20px;
    background: #f7fafc;
    border-radius: 8px;
}

.points-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 12px;
}

.points-title i {
    width: 16px;
    height: 16px;
}

.points-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.points-list li {
    display: flex;
    align-items: start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: #4a5568;
}

.points-list li i {
    width: 16px;
    height: 16px;
    color: #48bb78;
    flex-shrink: 0;
    margin-top: 2px;
}

.ai-meta {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.ai-meta-label {
    font-size: 13px;
    font-weight: 500;
    color: #718096;
    margin-right: 8px;
}

/* Taken List in Gesprek Detail */
.taken-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.taak-item {
    display: flex;
    align-items: start;
    gap: 12px;
    padding: 16px;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.2s;
}

.taak-item:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
}

.taak-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
}

.taak-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.taak-description {
    font-size: 15px;
    line-height: 1.5;
    color: #2d3748;
}

.taak-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.taak-deadline {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #718096;
}

.taak-deadline i {
    width: 14px;
    height: 14px;
}

.taak-actions {
    display: flex;
    gap: 4px;
}

/* =============================================================================
   ACTION BUTTONS (zoals monitoring knoppen)
   ============================================================================= */

.action-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.btn-icon-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background-color: #4a5568;
    border: none;
    border-radius: 6px;
    color: white;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-icon-action:hover {
    background-color: #2d3748;
    transform: translateY(-1px);
}

.btn-icon-action i {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

/* Primary variant (voor play knop) */
.btn-icon-action.btn-icon-primary {
    background-color: #4299e1;
}

.btn-icon-action.btn-icon-primary:hover {
    background-color: #3182ce;
}

/* Success variant (voor view knop) */
.btn-icon-action.btn-icon-success {
    background-color: #48bb78;
}

.btn-icon-action.btn-icon-success:hover {
    background-color: #38a169;
}

/* Download variant */
.btn-icon-action.btn-icon-download {
    background-color: #667eea;
}

.btn-icon-action.btn-icon-download:hover {
    background-color: #5a67d8;
}

/* Danger variant (voor delete knoppen) */
.btn-icon-action.btn-icon-danger {
    background-color: #f56565;
}

.btn-icon-action.btn-icon-danger:hover {
    background-color: #e53e3e;
}

/* Refresh variant */
.btn-icon-action.btn-icon-refresh {
    background-color: #718096;
}

.btn-icon-action.btn-icon-refresh:hover {
    background-color: #4a5568;
}
/* TODO's sectie - opvallende oranje styling */
.todo-points {
    margin-top: 24px;
    padding: 20px;
    background: #fff5e6;
    border-radius: 8px;
    border-left: 4px solid #f59e0b;
}

.todo-points .points-title {
    color: #f59e0b;
}

.todo-points .points-list li i {
    color: #f59e0b;
}

/* TODO's sectie - opvallende oranje styling */
.todo-points {
    margin-top: 24px;
    padding: 20px;
    background: #fff5e6;
    border-radius: 8px;
    border-left: 4px solid #f59e0b;
}

.todo-points .points-title {
    color: #f59e0b;
}

.todo-points .points-list li i {
    color: #f59e0b;
}

/* =============================================================================
   UPLOAD PAGE STYLES
   ============================================================================= */

.upload-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    align-items: start;
}

@media (max-width: 1024px) {
    .upload-layout {
        grid-template-columns: 1fr;
    }
    .upload-sidebar {
        order: -1;
    }
}

/* File Upload Compact */
.file-upload-compact {
    border: 2px dashed #e2e8f0;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: #f7fafc;
}

.file-upload-compact:hover {
    border-color: #cbd5e0;
    background: #edf2f7;
}

.file-upload-compact.drag-over {
    border-color: #4299e1;
    background: #ebf8ff;
}

.file-selected-compact {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
}

/* Process Steps */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.process-step {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.process-step-number {
    width: 28px;
    height: 28px;
    background: #4a5568;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
    flex-shrink: 0;
}

.process-step-content {
    flex: 1;
}

.process-step-title {
    font-weight: 600;
    color: #2d3748;
    font-size: 14px;
    margin-bottom: 2px;
}

.process-step-text {
    font-size: 13px;
    color: #718096;
    line-height: 1.4;
}

.info-note {
    margin-top: 20px;
    padding: 12px;
    background: #f7fafc;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #4a5568;
}
.btn-icon-danger {
    color: #e53e3e;
}

.btn-icon-danger:hover {
    background: #fff5f5;
    color: #c53030;
}

/* ================================
   TOOLS PAGE STYLING
   Voeg deze CSS toe aan het einde van style-calcom.css
   ================================ */

/* Search Bar */
.tools-search-bar {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 0 0 1.5rem 0;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
}

.tools-search-bar > i {
    width: 20px;
    height: 20px;
    color: #6b7280;
    flex-shrink: 0;
}

.tools-search-bar .search-input-wrapper {
    flex: 1;
    position: relative;
}

.tools-search-bar input {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-size: 15px;
}

.tools-search-bar button {
    padding: 0.75rem 2rem;
}

/* Status Pill */
.status-pill {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    white-space: nowrap;
}

.status-pill.online {
    background: #d1fae5;
    color: #065f46;
}

.status-pill.offline {
    background: #fee2e2;
    color: #991b1b;
}

/* Tools Header Actions - Buttons in Page Header */
.tools-header-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
    flex: 1;
    justify-content: center;
    margin: 0 2rem;
}

.tools-header-actions .btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.tools-header-actions .btn i {
    width: 16px;
    height: 16px;
}

/* Autocomplete Dropdown */
.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: none;
    margin-top: 1px;
}

.autocomplete-dropdown.show {
    display: block;
}

.autocomplete-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.2s;
}

.autocomplete-item:hover {
    background: #f3f4f6;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-domain {
    font-weight: 600;
    color: #111827;
}

.autocomplete-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

/* Action Bar */
.tools-action-bar {
    display: flex;
    gap: 0.75rem;
    padding: 0 0 1rem 0;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    flex-wrap: wrap;
}

.tools-action-bar .btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Tab Navigation */
.tools-tab-navigation {
    display: flex;
    gap: 0.5rem;
    padding: 0 0 1rem 0;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 1.5rem;
    align-items: center;
}

.tools-tab-navigation .status-pill {
    margin-left: auto;
}

.tools-tab-button {
    padding: 0.75rem 1.5rem;
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    color: #6b7280;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tools-tab-button i {
    width: 16px;
    height: 16px;
}

.tools-tab-button:hover {
    background: #f3f4f6;
    color: #111827;
}

.tools-tab-button.active {
    color: #1a1a1a;
    border-bottom: 2px solid #1a1a1a;
    margin-bottom: -2px;
}

.tools-tab-content {
    display: none;
}

.tools-tab-content.active {
    display: block;
}

/* DNS Cards Grid */
.tools-dns-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tools-dns-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.25rem;
    transition: all 0.2s ease;
}

.tools-dns-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.tools-dns-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #3b82f6;
}

.tools-dns-card-header i {
    width: 18px;
    height: 18px;
    color: #3b82f6;
}

.tools-dns-card-header h3 {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #111827;
    margin: 0;
}

.tools-dns-card-count {
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.tools-dns-card-content {
    font-size: 0.875rem;
}

.tools-dns-card-item {
    padding: 0.5rem;
    background: white;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    border: 1px solid #e5e7eb;
}

.tools-dns-card-item:last-child {
    margin-bottom: 0;
}

.tools-dns-card-item code {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    color: #dc2626;
    font-size: 0.8125rem;
}

.tools-dns-meta {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.tools-dns-highlight {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-color: #3b82f6;
}

.tools-dns-label {
    font-size: 0.75rem;
    display: block;
    margin-bottom: 0.25rem;
    color: #374151;
}

.tools-txt-record {
    display: block;
    word-break: break-all;
    line-height: 1.3;
    max-height: 60px;
    overflow: hidden;
}

.tools-more-records {
    font-size: 0.75rem;
    color: #6b7280;
    text-align: center;
    padding: 0.5rem;
}

/* Status Badge Mini */
.status-badge-mini {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: 0.25rem;
}

.status-badge-mini i {
    width: 12px;
    height: 12px;
}

.status-badge-mini.clean {
    background: #d1fae5;
    color: #065f46;
}

.status-badge-mini.blacklisted {
    background: #fee2e2;
    color: #991b1b;
}

.status-badge-mini.found {
    background: #d1fae5;
    color: #065f46;
}

.status-badge-mini.missing {
    background: #fee2e2;
    color: #991b1b;
}

/* SOA Panel */
.tools-soa-panel {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.25rem;
}

.tools-soa-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tools-soa-header i {
    width: 20px;
    height: 20px;
    color: #3b82f6;
}

.tools-soa-header h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    color: #111827;
}

.tools-soa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.tools-soa-item {
    background: white;
    padding: 0.75rem;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}

.tools-soa-item strong {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.tools-soa-item span {
    font-size: 0.875rem;
    color: #111827;
    font-weight: 600;
}

/* Email Security Grid */
.tools-email-security-grid {
    display: grid;
    gap: 1rem;
}

.tools-security-record {
    background: #f9fafb;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.tools-security-record-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.tools-security-record-title {
    font-weight: 700;
    font-size: 1rem;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tools-security-record-title i {
    width: 20px;
    height: 20px;
    color: #3b82f6;
}

.tools-security-record-content {
    background: white;
    padding: 0.75rem;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.8125rem;
    color: #374151;
    word-break: break-all;
}

.tools-security-meta {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.tools-security-meta strong {
    color: #111827;
}

.tools-security-warning {
    color: #dc2626;
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

.tools-security-info {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Mail Tester Box */
.tools-mail-tester-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #3b82f6;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.tools-mail-tester-box h3 {
    margin: 0 0 1rem 0;
    color: #1e40af;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tools-mail-tester-box h3 i {
    width: 20px;
    height: 20px;
}

.tools-mail-tester-box p {
    margin: 0 0 1rem 0;
    color: #1e40af;
}

.tools-mail-tester-instructions {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #1e40af;
}

.tools-mail-tester-instructions strong {
    display: block;
    margin-bottom: 0.5rem;
}

/* ===== NIEUWE SPEED TEST STYLING ===== */

/* Speed Start Section */
.tools-speed-start-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;

    text-align: center;
}

.tools-speed-intro {
    max-width: 500px;
}

.tools-speed-intro i {
    width: 48px;
    height: 48px;
    color: #3b82f6;
    margin-bottom: 1rem;
}

.tools-speed-intro h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    color: #111827;
}

.tools-speed-intro p {
    margin: 0;
    color: #6b7280;
    font-size: 1rem;
}

/* Loading State */
.tools-speed-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 3rem 1.5rem;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e5e7eb;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.tools-speed-loading p {
    color: #6b7280;
    font-size: 1rem;
}

/* Speed Results */
.tools-speed-results {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Speed Score - Compacter en met kleur op basis van score */
.tools-speed-score {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

/* ✅ GROEN voor Excellent */
.tools-speed-score.excellent {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.tools-speed-score.good {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.tools-speed-score.average {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.tools-speed-score.slow,
.tools-speed-score.very-slow {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.tools-speed-score-badge {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tools-speed-score-badge i {
    width: 32px;
    height: 32px;
    color: white;
}

.tools-speed-score-main {
    flex: 1;
}

.tools-speed-score-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    line-height: 1;
}

.tools-speed-score-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Speed Metrics Grid - Compacter met icoontjes */
.tools-speed-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.tools-speed-metric-card {
    background: #f9fafb;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    text-align: center;
    transition: all 0.2s ease;
}

.tools-speed-metric-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.tools-speed-metric-card > i {
    width: 24px;
    height: 24px;
    color: #3b82f6;
    margin-bottom: 0.5rem;
}

.tools-speed-metric-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.25rem;
    line-height: 1;
}

.tools-speed-metric-label {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.tools-speed-warning {
    margin-bottom: 1rem;
    padding: 1rem;
    background: #fef3c7;
    border-radius: 8px;
    border: 1px solid #f59e0b;
    font-size: 0.875rem;
    color: #92400e;
}

.tools-speed-tips {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f0f9ff;
    border-radius: 8px;
    border: 1px solid #3b82f6;
}

.tools-speed-tips h4 {
    margin: 0 0 0.5rem 0;
    color: #1e40af;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tools-speed-tips h4 i {
    width: 16px;
    height: 16px;
}

.tools-speed-tips ul {
    margin: 0;
    padding-left: 1.5rem;
    color: #1e40af;
    font-size: 0.875rem;
}

.tools-speed-tips li {
    margin-bottom: 0.25rem;
}

/* Responsive */
@media (max-width: 768px) {
    .tools-search-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .tools-header-actions {
        flex-direction: row;
        margin: 1rem 0;
        justify-content: flex-start;
    }
    
    .tools-header-actions .btn {
        flex: 0 0 auto;
    }
    
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .tab-navigation {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .tools-tab-button {
        white-space: nowrap;
    }
    
    .tools-dns-cards {
        grid-template-columns: 1fr;
    }
    
    .tools-soa-grid {
        grid-template-columns: 1fr;
    }
    
    .tools-speed-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tools-speed-score {
        flex-direction: column;
        text-align: center;
    }
    
    .tools-speed-score-value {
        font-size: 1.75rem;
    }
}

/* ===== END TOOLS PAGE ===== */

/* ================================
   TELEFOONGESPREKKEN PAGE FIXES
   Voeg toe aan style-calcom.css
   ================================ */

/* Header Actions (voor multiple buttons in page-header) */
.page-header .header-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.page-header .header-actions .btn {
    font-size: 14px;
}

/* Filter Bar in Card */
.card .filter-bar {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    flex-wrap: wrap;
    padding: 0; /* Reset padding als het al in card zit */
}

/* Gesprek Dag Groep - margin tussen secties */
.gesprek-dag-groep {
    margin-bottom: 2rem;
}

.gesprek-dag-groep:last-child {
    margin-bottom: 0;
}

/* Responsive header actions */
@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .page-header .header-actions {
        width: 100%;
    }
    
    .page-header .header-actions .btn {
        flex: 1;
        justify-content: center;
    }
}

/* ===== END TELEFOONGESPREKKEN FIXES ===== */

/* ===================================
   CODE ASSISTANT CHAT STYLES
   =================================== */

.chat-container {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 280px);
    min-height: 500px;
    max-height: 700px;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #fafafa;
    border-bottom: 1px solid var(--border-color);
}

.chat-messages::-webkit-scrollbar {
    width: 8px;
}

.chat-messages::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Chat Messages */
.chat-message {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.chat-message-user {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chat-message-user .message-avatar {
    background: #222;
}

.chat-message-assistant .message-avatar {
    background: #6c757d;
}

.message-content {
    flex: 1;
    max-width: 70%;
}

.message-text {
    background: white;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    line-height: 1.6;
}

.chat-message-user .message-text {
    background: var(--primary-color);
    color: #222;
    border-color: var(--primary-color);
	text-align: right;
}

.message-text pre {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 12px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 10px 0;
    font-size: 13px;
    font-family: 'Courier New', monospace;
}

.message-text code {
    background: #f4f4f4;
    color: #e83e8c;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
}

.message-text pre code {
    background: transparent;
    color: #f8f8f2;
    padding: 0;
}

.chat-message-user .message-text code {
    background: rgba(255,255,255,0.2);
    color: white;
}

.message-text strong {
    font-weight: 600;
}

.message-time {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.message-time i {
    width: 12px;
    height: 12px;
}

/* Typing Indicator */
.typing-indicator {
    display: none;
    gap: 12px;
    margin-bottom: 20px;
}

.typing-dots {
    background: white;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    display: flex;
    gap: 4px;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: #999;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-dots span:nth-child(2) { 
    animation-delay: 0.2s; 
}

.typing-dots span:nth-child(3) { 
    animation-delay: 0.4s; 
}

@keyframes typing {
    0%, 60%, 100% { 
        transform: translateY(0); 
        opacity: 0.7; 
    }
    30% { 
        transform: translateY(-6px); 
        opacity: 1; 
    }
}

/* Chat Input Area */
.chat-input-area {
    padding: 20px;
    background: white;
}

.chat-input-form {
    display: flex;
    gap: 12px;
}

.chat-input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
}

.chat-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

/* Empty State for Chat */
.empty-state-simple {
    text-align: center;
    padding: 60px 20px;
}

.empty-state-simple i[data-lucide] {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    color: var(--text-muted);
}

.empty-state-simple p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Suggestion Chips */
.suggestion-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

.suggestion-chips .btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.suggestion-chips .btn i {
    width: 14px;
    height: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .chat-container {
        height: calc(100vh - 200px);
    }
    
    .message-content {
        max-width: 85%;
    }
    
    .suggestion-chips {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ===================================
   CODE ASSISTANT PROJECTS
   =================================== */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    padding: 20px;
}

.project-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.2s;
}

.project-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.project-header {
    margin-bottom: 12px;
}

.project-header h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    color: #212529;
}

.project-client {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

.project-client i {
    width: 14px;
    height: 14px;
}

.project-description {
    font-size: 14px;
    color: var(--text-muted);
    margin: 12px 0;
    line-height: 1.5;
}

.project-stats {
    display: flex;
    gap: 16px;
    margin: 12px 0;
    padding: 12px 0;
    border-top: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--text-muted);
}

.project-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-stats i {
    width: 14px;
    height: 14px;
}

.project-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.project-actions .btn {
    flex: 1;
    min-width: fit-content;
}

/* Prompt Examples */
.prompt-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.prompt-examples .btn {
    font-size: 13px;
}

/* Chat Project Header */
.chat-project-info {
    background: #f8f9fa;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-project-details h3 {
    margin: 0 0 4px 0;
    font-size: 18px;
}

.chat-project-details small {
    color: var(--text-muted);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.chat-project-actions {
    display: flex;
    gap: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        padding: 12px;
    }
    
    .project-actions {
        flex-direction: column;
    }
    
    .project-actions .btn {
        width: 100%;
    }
}
/* ====================================
   PROJECTEN PAGINA STYLING
   Voeg deze CSS toe aan je style-calcom.css
   ==================================== */

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.2s ease;
}

.stat-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.stat-icon {
    font-size: 32px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000 !important;
    border-radius: 8px;
}

.stat-content h3 {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
    color: #111827;
}

.stat-content p {
    margin: 5px 0 0;
    font-size: 14px;
    color: #6b7280;
}

/* Section Styling */
.section {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
}

.section h2 {
    margin: 0 0 20px;
    font-size: 20px;
    font-weight: 600;
    color: #111827;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
}

.empty-state p {
    margin-bottom: 15px;
    font-size: 16px;
}

/* Table Responsive */
.table-responsive {
    overflow-x: auto;
    margin-top: 15px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.data-table thead {
    background: #f9fafb;
}

.data-table th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    color: #374151;
    border-bottom: 2px solid #e5e7eb;
}

.data-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e5e7eb;
    color: #111827;
}

.data-table tbody tr:hover {
    background: #f9fafb;
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 4px;
    white-space: nowrap;
}

.badge-primary {
    background: #dbeafe;
    color: #1e40af;
}

.badge-success {
    background: #d1fae5;
    color: #065f46;
}

.badge-warning {
    background: #fef3c7;
    color: #92400e;
}

.badge-error {
    background: #fee2e2;
    color: #991b1b;
}

.badge-secondary {
    background: #f3f4f6;
    color: #374151;
}

.badge-info {
    background: #e0e7ff;
    color: #3730a3;
}

/* Text Link */
.text-link {
    color: #2563eb;
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 8px;
}

.btn-icon {
    font-size: 18px;
    text-decoration: none;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.btn-icon:hover {
    opacity: 1;
}

/* Page Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.page-header h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
    color: #111827;
}

.header-actions {
    display: flex;
    gap: 10px;
}

/* Form Card */
.form-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 30px;
    max-width: 800px;
}

/* Form Group */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #374151;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-control::placeholder {
    color: #9ca3af;
}

/* Form Row (2 columns) */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Form Hint */
.form-hint {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #6b7280;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 7px 10px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
}

.btn-success {
    background: #10b981;
    color: white;
}

.btn-success:hover {
    background: #059669;
}

.btn-warning {
    background: #f59e0b;
    color: white;
}

.btn-warning:hover {
    background: #d97706;
}

.btn-secondary {
    background: #6b7280;
    color: white;
}

.btn-secondary:hover {
    background: #4b5563;
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .header-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .header-actions .btn {
        width: 100%;
        text-align: center;
    }
}


/* ===================================
   CODE ASSISTANT - SIDEBAR LAYOUT
   =================================== */

/* Main Layout with Sidebar */
.code-assistant-layout {
    display: flex;
    gap: 0;
    height: calc(100vh - 100px);
    background: var(--bg-secondary);
}

/* Chat Main Area (Left) */
.chat-main-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 8px 0 0 8px;
    overflow: hidden;
}

/* Chat Header Bar */
.chat-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    background: white;
}

.chat-header-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.chat-header-title i {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
}

.chat-header-actions {
    display: flex;
    gap: 10px;
}

/* Projects Sidebar (Right) */
.projects-sidebar {
    width: 320px;
    background: #f7fafc;
    border-left: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    border-radius: 0 8px 8px 0;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
}

.sidebar-divider {
    height: 1px;
    background: var(--border-color);
    margin: 12px 0;
}

/* Project Sidebar Item */
.project-sidebar-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 8px;
    background: white;
    border: 1px solid transparent;
}

.project-sidebar-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.project-sidebar-item.active {
    background: linear-gradient(135deg, rgba(103, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-color: var(--primary-color);
}

.project-sidebar-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.project-sidebar-icon i {
    width: 20px;
    height: 20px;
}

.project-sidebar-info {
    flex: 1;
    min-width: 0;
}

.project-sidebar-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.project-sidebar-meta {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.project-sidebar-meta i {
    width: 12px;
    height: 12px;
}

.project-sidebar-badge {
    background: var(--primary-color);
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    margin-left: auto;
}

.sidebar-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.sidebar-empty i {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.sidebar-empty p {
    margin: 0;
    font-size: 14px;
}

/* ===================================
   EMAIL MODAL
   =================================== */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-content.modal-lg {
    max-width: 800px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-header h3 i {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.modal-close {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--bg-secondary);
}

.modal-close i {
    width: 20px;
    height: 20px;
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid var(--border-color);
}

/* Form Elements in Modal */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-group label i {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
    line-height: 1.6;
}

.form-text {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-muted);
}

/* Chat Input Wrapper met File Preview */
.chat-input-wrapper {
    flex: 1;
    position: relative;
}

.file-preview {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #e3f2fd;
    border-radius: 6px;
    margin-bottom: 8px;
    font-size: 13px;
    color: #1976d2;
}

.file-preview i {
    width: 16px;
    height: 16px;
}

.btn-clear-file {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    margin-left: auto;
    border-radius: 4px;
}

.btn-clear-file:hover {
    background: rgba(0,0,0,0.1);
}

.btn-clear-file i {
    width: 14px;
    height: 14px;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .projects-sidebar {
        width: 280px;
    }
}

@media (max-width: 992px) {
    .code-assistant-layout {
        flex-direction: column;
    }
    
    .projects-sidebar {
        width: 100%;
        max-height: 200px;
        border-left: none;
        border-top: 1px solid var(--border-color);
        border-radius: 0;
    }
    
    .chat-main-area {
        border-radius: 8px 8px 0 0;
    }
    
    .chat-header-actions span {
        display: none;
    }
}

@media (max-width: 768px) {
    .modal-content {
        margin: 20px;
    }
    
    .chat-header-title {
        font-size: 16px;
    }
    
    .sidebar-header {
        padding: 16px;
    }
}

/* Button Variants for Modal */
.btn-secondary {
    background: #f7fafc;
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: #e2e8f0;
}

/* Icon Button */
.btn-icon {
    background: none;
    border: 1px solid var(--border-color);
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-color);
}

.btn-icon i {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
}

.btn-icon:hover i {
    color: var(--primary-color);
}

/* ========================================
   PROJECT CONTEXT MENU STYLING
   ======================================== */

/* Menu Button (drie puntjes) */
.project-menu-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0;
    transition: all 0.2s ease;
    z-index: 2;
}

.project-menu-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.project-sidebar-item:hover .project-menu-btn {
    opacity: 1;
}

.project-menu-btn svg {
    width: 16px;
    height: 16px;
    color: #64748b;
}

/* Dropdown Menu */
.project-dropdown-menu {
    position: absolute;
    right: 8px;
    top: 40px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 160px;
    padding: 4px 0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
}

.project-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    color: #334155;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.15s ease;
    cursor: pointer;
}

.dropdown-item:hover {
    background: #f8fafc;
}

.dropdown-item svg {
    width: 16px;
    height: 16px;
    color: #64748b;
}

.dropdown-item-danger {
    color: #dc2626;
}

.dropdown-item-danger:hover {
    background: #fef2f2;
}

.dropdown-item-danger svg {
    color: #dc2626;
}

/* Zorg dat het parent item relative is */
.project-sidebar-item {
    position: relative;
}

/* Responsive: Hide menu button on mobile, show always */
@media (max-width: 768px) {
    .project-menu-btn {
        opacity: 1;
    }
}

/* ============================================
   FILEMANAGER STYLES
   ============================================ */

/* Protocol Badges */
.protocol-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.protocol-badge svg {
    width: 14px;
    height: 14px;
}

.protocol-ftp {
    background: #e8f5e9;
    color: #2e7d32;
}

.protocol-sftp {
    background: #e3f2fd;
    color: #1565c0;
}

.protocol-ftps {
    background: #fff3e0;
    color: #e65100;
}

/* Quick Edit Card */
.quick-edit-card {
    margin-top: 20px;
}

.quick-edit-list {
    padding: 0;
}

.quick-edit-item {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quick-edit-item:last-child {
    border-bottom: none;
}

.quick-edit-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 20px;
}

.quick-edit-buttons .btn {
    flex: 0 0 auto;
}

/* File Browser */
.breadcrumb-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--surface);
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--border);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.breadcrumb svg {
    width: 16px;
    height: 16px;
}

.breadcrumb code {
    background: var(--background);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 13px;
    color: var(--text);
}

.file-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--primary);
    color: white;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.file-type-badge svg {
    width: 14px;
    height: 14px;
}

/* File Browser Table */
.file-browser-table tbody tr:hover {
    background: var(--hover);
}

.file-icon {
    text-align: center;
    padding: 8px;
}

.file-icon svg {
    width: 20px;
    height: 20px;
}

.icon-folder {
    color: #FFA726;
}

.icon-code {
    color: #42A5F5;
}

.icon-image {
    color: #66BB6A;
}

.icon-text {
    color: #78909C;
}

.icon-archive {
    color: #AB47BC;
}

.icon-file {
    color: #BDBDBD;
}

.file-name {
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.file-name-folder {
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.file-name-folder:hover {
    text-decoration: underline;
}

/* Code Editor */
.editor-card {
    padding: 0;
    overflow: hidden;
}

.editor-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.editor-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--text-secondary);
}

.editor-info svg {
    width: 16px;
    height: 16px;
}

.editor-info .separator {
    color: var(--border);
}

.code-editor {
    height: 600px;
    width: 100%;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', monospace;
}

/* Form Grid (for create/edit forms) */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 20px;
}

@media (max-width: 1024px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.form-main {
    min-width: 0;
}

.form-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-row.three-cols {
    grid-template-columns: 2fr 1fr 1fr;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group-large {
    grid-column: span 2;
}

.form-group-small {
    grid-column: span 1;
}

/* Info Cards (sidebar) */
.info-card {
    background: var(--surface);
}

.info-list {
    padding: 0;
}

.info-item {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border);
}

.info-item:last-child {
    border-bottom: none;
}

.info-item strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.info-item p {
    margin: 0;
    font-size: 13px;
    color: var(--text-secondary);
}

.info-text {
    padding: 20px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.quick-actions {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Import Grid */
.import-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 1024px) {
    .import-grid {
        grid-template-columns: 1fr;
    }
}

.card-intro {
    padding: 0 20px 20px;
    color: var(--text-secondary);
    font-size: 14px;
}

/* Setup Card */
.setup-card {
    margin-top: 20px;
}

.setup-steps {
    padding: 20px;
}

.setup-step {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.setup-step:last-child {
    margin-bottom: 0;
}

.setup-step-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
}

.setup-step-content h4 {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.setup-step-content p {
    margin: 0 0 12px 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.setup-step-content ol {
    margin: 0;
    padding-left: 20px;
}

.setup-step-content li {
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 14px;
}

.setup-step-content pre {
    background: var(--background);
    padding: 12px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 12px 0 0 0;
}

.setup-step-content code {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: var(--primary);
}

.file-locations {
    margin-top: 12px;
}

.file-location {
    margin-bottom: 12px;
}

.file-location:last-child {
    margin-bottom: 0;
}

.file-location strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text);
}

.file-location code {
    display: block;
    background: var(--background);
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    color: var(--text-secondary);
    font-family: 'Courier New', monospace;
    overflow-x: auto;
}

/* Alert Variations */
.alert-info h4 {
    margin: 0 0 12px 0;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.alert-info h4 svg {
    width: 16px;
    height: 16px;
}

.alert-info ul {
    margin: 0;
    padding-left: 20px;
}

.alert-info li {
    margin-bottom: 6px;
}

.alert-info li:last-child {
    margin-bottom: 0;
}

/* Page Header with Multiple Actions */
.page-header-actions {
    display: flex;
    gap: 10px;
}

@media (max-width: 768px) {
    .page-header-actions {
        flex-direction: column;
    }
    
    .page-header-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Small Buttons in Tables */
.btn-small svg {
    width: 14px;
    height: 14px;
}

/* Text Utilities */
.text-muted {
    color: var(--text-secondary) !important;
}

/* Code in Tables */
table code {
    background: var(--background);
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 12px;
    font-family: 'Courier New', monospace;
}

/* Separator in Inline Elements */
.separator {
    color: var(--border);
    margin: 0 4px;
}

/* ========================================
   DOMEINREGISTRATIE MODULE - FINAL VERSION
   Plak deze CSS ONDERAAN je style-calcom.css
   (vervang de oude domeinregistratie sectie)
   ======================================== */

/* Domain Check Box */
.domain-check-box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.domain-input {
    width: 100%;
    min-height: 120px;
    padding: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: monospace;
    font-size: 0.95rem;
    resize: vertical;
}

.domain-input:focus {
    outline: none;
    border-color: #333333;
    box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.1);
}

/* Domain Results */
.domain-results {
    margin-top: 2rem;
}

.domain-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1rem;
    border: 2px solid;
    border-radius: 5px;
    margin-bottom: 0.625rem;
}

.domain-result.free {
    background: #e7e7e7;
    border-color: transparent;
}

.domain-result.taken {
    background: #f9fafb;
    border-color: #e5e7eb;
}

.domain-name {
    font-weight: 600;
    font-size: 0.9375rem;
    color: #111827;
}

.domain-result-actions {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.domain-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
}

.domain-status i {
    width: 17px;
    height: 17px;
}

.domain-status.free {
    color: #16a34a;
}

.domain-status.taken {
    color: #6b7280;
}

/* ========================================
   KLANT SELECTIE MODAL
   ======================================== */

/* Modal overlay */
#klantSelectModal.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    display: none;
}

/* Modal box - WITTE achtergrond */
#klantSelectModal .modal-content-large {
    background: #ffffff;
    border-radius: 8px;
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Modal header - GRIJZE achtergrond #d7d7d7 */
#klantSelectModal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    background: #d7d7d7;
    border-radius: 8px 8px 0 0;
}

#klantSelectModal .modal-header h3 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: #252525;
}

#klantSelectModal .modal-header h3 i {
    width: 20px;
    height: 20px;
    color: #333333;
}

#klantSelectModal .highlight-domain {
    color: #333333;
    font-weight: 700;
}

#klantSelectModal .btn-close {
    background: none;
    border: none;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    cursor: pointer;
    color: #666666;
    padding: 0;
}

#klantSelectModal .btn-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #252525;
}

#klantSelectModal .btn-close i {
    width: 18px;
    height: 18px;
}

/* Modal body - WITTE achtergrond */
#klantSelectModal .modal-body {
    padding: 1.25rem;
    overflow-y: auto;
    flex: 1;
    background: #ffffff;
}

/* Zoekbalk - Vergrootglas LINKS IN de input */
#klantSelectModal .search-input-wrapper {
    position: relative;
    display: block;
    margin-bottom: 1.25rem;
}

#klantSelectModal .search-input-wrapper i {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #9ca3af;
    pointer-events: none;
    z-index: 10;
}

#klantSelectModal .search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-size: 0.9375rem;
}

#klantSelectModal .search-input:focus {
    outline: none;
    border-color: #333333;
    box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.1);
}

/* Klanten lijst - Compacte rijen op 1 lijn */
#klantSelectModal .klanten-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#klantSelectModal .klant-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    padding: 0.625rem 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    transition: all 0.2s ease;
}

#klantSelectModal .klant-card:hover {
    border-color: #333333;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

#klantSelectModal .klant-card.synced {
    border-left: 3px solid #22c55e;
}

#klantSelectModal .klant-card.not-synced {
    border-left: 3px solid #f59e0b;
}

#klantSelectModal .klant-card-header {
    flex: 1;
    min-width: 0;
}

#klantSelectModal .klant-card-header strong {
    font-size: 0.9375rem;
    color: #111827;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#klantSelectModal .klant-sync-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.625rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}

#klantSelectModal .klant-sync-badge i {
    width: 13px;
    height: 13px;
}

#klantSelectModal .klant-sync-badge.synced {
    background: #dcfce7;
    color: #166534;
}

#klantSelectModal .klant-sync-badge.not-synced {
    background: #fef3c7;
    color: #92400e;
}

#klantSelectModal .klant-card .btn {
    flex-shrink: 0;
}

/* Empty state */
#klantSelectModal .empty-state-simple {
    text-align: center;
    padding: 3rem 1rem;
    color: #9ca3af;
}

#klantSelectModal .empty-state-simple i {
    width: 48px;
    height: 48px;
    margin-bottom: 0.75rem;
    color: #d1d5db;
}

/* Loading state */
#klantSelectModal #klantenLoading {
    text-align: center;
    padding: 2rem;
    color: #6b7280;
}

#klantSelectModal #klantenLoading i {
    width: 32px;
    height: 32px;
}

/* Button variants */
.btn-success {
    background: #22c55e;
    color: #ffffff;
    border: 1px solid #22c55e;
}

.btn-success:hover {
    background: #16a34a;
    border-color: #16a34a;
}

.btn-warning {
    background: #f59e0b;
    color: #ffffff;
    border: 1px solid #f59e0b;
}

.btn-warning:hover {
    background: #d97706;
    border-color: #d97706;
}

/* Loading spinner animatie */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spin {
    animation: spin 1s linear infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .domain-result {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .domain-result-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    #klantSelectModal .klant-card {
        flex-direction: column;
        align-items: stretch;
        gap: 0.625rem;
    }
    
    #klantSelectModal .klant-card .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   DOMEINREGISTRATIE - BESTELSCHERM MODAL
   Voeg deze CSS toe aan het einde van de domeinregistratie sectie
   ======================================== */

/* Order Details Modal - zelfde basis styling als klant modal */
#orderDetailsModal.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    display: none;
}

#orderDetailsModal .modal-content-large {
    background: #ffffff;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

#orderDetailsModal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    background: #d7d7d7;
    border-radius: 8px 8px 0 0;
}

#orderDetailsModal .modal-header h3 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: #252525;
}

#orderDetailsModal .modal-header h3 i {
    width: 20px;
    height: 20px;
    color: #333333;
}

#orderDetailsModal .btn-close {
    background: none;
    border: none;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    cursor: pointer;
    color: #666666;
    padding: 0;
}

#orderDetailsModal .btn-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #252525;
}

#orderDetailsModal .btn-close i {
    width: 18px;
    height: 18px;
}

#orderDetailsModal .modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
    background: #ffffff;
}

/* Order Summary Box */
.order-summary-box {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.order-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.order-info-row:not(:last-child) {
    border-bottom: 1px solid #e5e7eb;
}

.order-label {
    font-weight: 500;
    color: #6b7280;
    font-size: 0.875rem;
}

.order-value {
    font-weight: 600;
    color: #111827;
    font-size: 0.9375rem;
}

/* Order Form */
.order-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.order-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.order-form label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #374151;
    font-size: 0.9375rem;
}

.order-form label i {
    width: 16px;
    height: 16px;
    color: #333333;
}

.order-form .form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-size: 0.9375rem;
    font-family: inherit;
}

.order-form .form-control:focus {
    outline: none;
    border-color: #333333;
    box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.1);
}

.order-form textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

.form-hint {
    color: #6b7280;
    font-size: 0.8125rem;
    font-style: italic;
}

/* Order Settings Info */
.order-settings-info {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.setting-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
    color: #374151;
}

.setting-item i {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.setting-item .text-success {
    color: #16a34a;
}

.setting-item .text-muted {
    color: #9ca3af;
}

/* Order Total Box */
.order-total-box {
    background: #333333;
    color: #ffffff;
    padding: 1.25rem;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-total-label {
    font-weight: 600;
    font-size: 1rem;
}

.order-total-price {
    font-weight: 700;
    font-size: 1.5rem;
    color: #ffffff;
}

/* Modal Actions */
.modal-actions {
    display: flex;
    gap: 0.875rem;
    margin-top: 1rem;
}

.modal-actions .btn {
    flex: 1;
    justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
    #orderDetailsModal .modal-content-large {
        width: 95%;
        max-height: 90vh;
    }
    
    .order-info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .modal-actions {
        flex-direction: column;
    }
}

/* ========================================
   DOMEINREGISTRATIE - HANDMATIG HANDLE VELD
   Voeg deze CSS toe aan het einde van style-calcom.css
   ======================================== */

/* Handmatig handle invoer sectie */
.domain-manual-handle-section {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    padding: 1.25rem;
    margin: 1.5rem 0;
}

.domain-manual-handle-section .form-group {
    margin-bottom: 0;
}

.domain-manual-handle-section label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.domain-manual-handle-section label i {
    width: 18px;
    height: 18px;
    color: #333333;
}

.domain-manual-handle-section input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 0.9375rem;
    text-transform: uppercase;
}

.domain-manual-handle-section input:focus {
    outline: none;
    border-color: #333333;
    box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.1);
}

.domain-manual-handle-section .form-hint {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: #ffffff;
    border-left: 3px solid #3b82f6;
    border-radius: 3px;
    color: #4b5563;
    font-size: 0.8125rem;
    line-height: 1.5;
}

.domain-manual-handle-section .form-hint i {
    width: 16px;
    height: 16px;
    color: #3b82f6;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.domain-manual-handle-section .form-hint strong {
    color: #1f2937;
}

/* Help hint onder synchroniseren knop */
.domain-help-hint {
    margin-top: 1rem;
    padding: 0.75rem;
    background: #fef3c7;
    border-left: 3px solid #f59e0b;
    border-radius: 3px;
    color: #92400e;
    font-size: 0.875rem;
}

.domain-help-hint strong {
    font-weight: 600;
}

/* ========================================
   KLANTEN OVERZICHT - OPENPROVIDER KOLOM
   ======================================== */

/* OpenProvider kolom styling */
.openprovider-col {
    width: 80px;
    white-space: nowrap;
}

.openprovider-status {
    font-size: 1.25rem;
}

/* Gesynchroniseerd status */
.op-synced {
    color: #10b981;
    cursor: help;
}

.op-synced i {
    width: 20px;
    height: 20px;
}

/* Niet gesynchroniseerd status */
.op-not-synced {
    color: #f59e0b;
    cursor: help;
}

.op-not-synced i {
    width: 20px;
    height: 20px;
}

/* ========================================
   ICON-ONLY ACTION BUTTONS
   ======================================== */

/* Container voor icon buttons */
.icon-action-buttons {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    align-items: center;
}

/* Icon button base styling */
.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-icon i {
    width: 18px;
    height: 18px;
}

.btn-icon:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Icon button varianten */
.btn-icon-secondary {
    color: #6b7280;
}

.btn-icon-secondary:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.btn-icon-info {
    color: #3b82f6;
}

.btn-icon-info:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.btn-icon-danger {
    color: #ef4444;
}

.btn-icon-danger:hover {
    background: #fef2f2;
    border-color: #fecaca;
}

/* ========================================
   KLANT DETAIL PAGINA (READ-ONLY)
   ======================================== */

/* Detail grid layout */
.detail-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 24px;
    margin-top: 24px;
}

@media (max-width: 1024px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }
}

.detail-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.detail-column-wide {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Detail list items */
.detail-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.detail-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
}

.detail-label i {
    width: 16px;
    height: 16px;
}

.detail-value {
    font-size: 15px;
    color: #111827;
}

.detail-value strong {
    font-weight: 600;
}

.detail-value a {
    color: #3b82f6;
    text-decoration: none;
}

.detail-value a:hover {
    text-decoration: underline;
}

.detail-value code {
    display: inline-block;
    padding: 2px 8px;
    background: #f3f4f6;
    border-radius: 4px;
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
    font-size: 13px;
    color: #374151;
}

/* Strippenkaart info */
.strippenkaart-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 5px;
}

.strippenkaart-stat {
    text-align: center;
}

.stat-label {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 24px;
    font-weight: 600;
    color: #111827;
}

/* Address blocks */
.address-block p {
    margin: 0;
    line-height: 1.6;
    color: #374151;
}

.address-block p:not(:last-child) {
    margin-bottom: 8px;
}

/* Contactpersonen list */
.contactpersonen-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contactpersoon-item {
    padding: 16px;
    background: #f9fafb;
    border-radius: 5px;
    border: 1px solid #e5e7eb;
}

.contactpersoon-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.contactpersoon-header strong {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}

.contactpersoon-item p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
    font-size: 14px;
    color: #374151;
}

.contactpersoon-item p i {
    width: 16px;
    height: 16px;
    color: #6b7280;
}

.contactpersoon-notes {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
    color: #6b7280;
    font-size: 13px;
}

/* Notities content */
.notities-content {
    padding: 16px;
    background: #f9fafb;
    border-radius: 5px;
    border: 1px solid #e5e7eb;
    line-height: 1.6;
    color: #374151;
}

/* Back link styling */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
}

.back-link:hover {
    color: #3b82f6;
}

.back-link i {
    width: 16px;
    height: 16px;
}

/* ========================================
   KLANT DETAIL PAGINA (READ-ONLY)
   ======================================== */

/* Detail grid layout */
.detail-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 24px;
    margin-top: 24px;
}

@media (max-width: 1024px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }
}

.detail-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.detail-column-wide {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Detail list items */
.detail-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.detail-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
}

.detail-label i {
    width: 16px;
    height: 16px;
}

.detail-value {
    font-size: 15px;
    color: #111827;
}

.detail-value strong {
    font-weight: 600;
}

.detail-value a {
    color: #3b82f6;
    text-decoration: none;
}

.detail-value a:hover {
    text-decoration: underline;
}

.detail-value code {
    display: inline-block;
    padding: 2px 8px;
    background: #f3f4f6;
    border-radius: 4px;
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
    font-size: 13px;
    color: #374151;
}

/* Strippenkaart info */
.strippenkaart-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 5px;
}

.strippenkaart-stat {
    text-align: center;
}

.stat-label {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 24px;
    font-weight: 600;
    color: #111827;
}

/* Address blocks */
.address-block p {
    margin: 0;
    line-height: 1.6;
    color: #374151;
}

.address-block p:not(:last-child) {
    margin-bottom: 8px;
}

/* Contactpersonen list */
.contactpersonen-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contactpersoon-item {
    padding: 16px;
    background: #f9fafb;
    border-radius: 5px;
    border: 1px solid #e5e7eb;
}

.contactpersoon-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.contactpersoon-header strong {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}

.contactpersoon-item p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
    font-size: 14px;
    color: #374151;
}

.contactpersoon-item p i {
    width: 16px;
    height: 16px;
    color: #6b7280;
}

.contactpersoon-notes {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
    color: #6b7280;
    font-size: 13px;
}

/* Notities content */
.notities-content {
    padding: 16px;
    background: #f9fafb;
    border-radius: 5px;
    border: 1px solid #e5e7eb;
    line-height: 1.6;
    color: #374151;
}

/* Back link styling */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
}

.back-link:hover {
    color: #3b82f6;
}

.back-link i {
    width: 16px;
    height: 16px;
}

/* ========================================
   KLANT DETAIL PAGINA (READ-ONLY)
   ======================================== */

/* Detail grid layout */
.detail-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 24px;
    margin-top: 24px;
}

@media (max-width: 1024px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }
}

.detail-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.detail-column-wide {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Detail list items */
.detail-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.detail-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
}

.detail-label i {
    width: 16px;
    height: 16px;
}

.detail-value {
    font-size: 15px;
    color: #111827;
}

.detail-value strong {
    font-weight: 600;
}

.detail-value a {
    color: #3b82f6;
    text-decoration: none;
}

.detail-value a:hover {
    text-decoration: underline;
}

.detail-value code {
    display: inline-block;
    padding: 2px 8px;
    background: #f3f4f6;
    border-radius: 4px;
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
    font-size: 13px;
    color: #374151;
}

/* Strippenkaart info */
.strippenkaart-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 5px;
}

.strippenkaart-stat {
    text-align: center;
}

.stat-label {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 24px;
    font-weight: 600;
    color: #111827;
}

/* Address blocks */
.address-block p {
    margin: 0;
    line-height: 1.6;
    color: #374151;
}

.address-block p:not(:last-child) {
    margin-bottom: 8px;
}

/* Contactpersonen list */
.contactpersonen-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contactpersoon-item {
    padding: 16px;
    background: #f9fafb;
    border-radius: 5px;
    border: 1px solid #e5e7eb;
}

.contactpersoon-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.contactpersoon-header strong {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}

.contactpersoon-item p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
    font-size: 14px;
    color: #374151;
}

.contactpersoon-item p i {
    width: 16px;
    height: 16px;
    color: #6b7280;
}

.contactpersoon-notes {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
    color: #6b7280;
    font-size: 13px;
}

/* Notities content */
.notities-content {
    padding: 16px;
    background: #f9fafb;
    border-radius: 5px;
    border: 1px solid #e5e7eb;
    line-height: 1.6;
    color: #374151;
}

/* ========================================
   DNS MANAGEMENT MODULE
   Voeg deze CSS toe aan het einde van style-calcom.css
   ======================================== */

/* Domain Status Cards - Compacter */
.domain-status-compact {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.domain-status-compact.synced {
    border-left: 4px solid #10b981;
}

.domain-status-compact.not-synced {
    border-left: 4px solid #f59e0b;
}

.domain-status-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #111827;
}

.domain-status-header i {
    width: 18px;
    height: 18px;
}

.domain-status-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.detail-row {
    display: flex;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.detail-label {
    color: #6b7280;
    min-width: 180px;
}

.detail-value {
    color: #111827;
    font-weight: 500;
}

.detail-value code {
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
}

.domain-status-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Domain List */
.domain-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.domain-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.domain-item:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.domain-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1rem;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
}

.domain-item-header:hover {
    background: #f9fafb;
}

.domain-item-main {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.domain-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.domain-icon i {
    width: 20px;
    height: 20px;
}

.domain-info {
    flex: 1;
    min-width: 0;
}

.domain-name-text {
    font-weight: 600;
    font-size: 0.9375rem;
    color: #111827;
    margin-bottom: 0.25rem;
}

.domain-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.domain-meta-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: #6b7280;
}

.domain-meta-item i {
    width: 14px;
    height: 14px;
}

.domain-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.625rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.domain-status-badge.active {
    background: #d1fae5;
    color: #065f46;
}

.domain-status-badge.inactive {
    background: #fee2e2;
    color: #991b1b;
}

.domain-status-badge i {
    width: 12px;
    height: 12px;
}

.domain-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background: #f3f4f6;
    border-radius: 4px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
    transition: all 0.2s;
}

.domain-toggle i {
    width: 16px;
    height: 16px;
    transition: transform 0.2s;
}

.domain-item.expanded .domain-toggle i {
    transform: rotate(180deg);
}

/* Domain Content (DNS Records) */
.domain-content {
    display: none;
    border-top: 1px solid #e5e7eb;
    background: #fafafa;
}

.domain-item.expanded .domain-content {
    display: block;
}

.domain-content-inner {
    padding: 1.25rem;
}

/* DNS Tabs */
.dns-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.dns-tab {
    padding: 0.625rem 1rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    transition: all 0.2s;
    margin-bottom: -2px;
}

.dns-tab:hover {
    color: #111827;
}

.dns-tab.active {
    color: #333333;
    border-bottom-color: #333333;
}

.dns-tab-content {
    display: none;
}

.dns-tab-content.active {
    display: block;
}

/* DNS Records List */
.dns-records-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.dns-record-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    padding: 0.875rem;
    transition: all 0.2s;
}

.dns-record-item:hover {
    border-color: #d1d5db;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.dns-record-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.dns-record-type {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.625rem;
    background: #dbeafe;
    color: #1e40af;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
}

.dns-record-actions {
    display: flex;
    gap: 0.375rem;
}

.btn-dns-action {
    padding: 0.375rem 0.625rem;
    font-size: 0.8125rem;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.btn-dns-action i {
    width: 14px;
    height: 14px;
}

.dns-record-details {
    display: grid;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.dns-record-row {
    display: flex;
    gap: 0.5rem;
}

.dns-record-label {
    color: #6b7280;
    min-width: 80px;
    font-weight: 500;
}

.dns-record-value {
    color: #111827;
    font-family: 'Courier New', monospace;
    word-break: break-all;
}

/* DNS Record Form (Edit/Add) */
.dns-record-form {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    padding: 1rem;
    margin-top: 0.75rem;
}

.dns-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.dns-form-row-full {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.dns-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.dns-form-group label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0;
}

.dns-form-group input,
.dns-form-group select,
.dns-form-group textarea {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 0.875rem;
    font-family: inherit;
}

.dns-form-group textarea {
    resize: vertical;
    min-height: 60px;
    font-family: 'Courier New', monospace;
}

.dns-form-group input:focus,
.dns-form-group select:focus,
.dns-form-group textarea:focus {
    outline: none;
    border-color: #333333;
    box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.1);
}

.dns-form-hint {
    font-size: 0.75rem;
    color: #6b7280;
    font-style: italic;
}

.dns-form-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e5e7eb;
}

/* DNS History */
.dns-history-list {
    max-height: 400px;
    overflow-y: auto;
}

.dns-history-item {
    padding: 0.75rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    margin-bottom: 0.625rem;
}

.dns-history-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.dns-history-action {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.625rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.dns-history-action.create {
    background: #d1fae5;
    color: #065f46;
}

.dns-history-action.update {
    background: #dbeafe;
    color: #1e40af;
}

.dns-history-action.delete {
    background: #fee2e2;
    color: #991b1b;
}

.dns-history-action i {
    width: 12px;
    height: 12px;
}

.dns-history-time {
    font-size: 0.75rem;
    color: #6b7280;
}

.dns-history-details {
    font-size: 0.8125rem;
    color: #374151;
    line-height: 1.5;
}

.dns-history-details strong {
    color: #111827;
}

.dns-history-changes {
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: #f9fafb;
    border-radius: 4px;
    font-size: 0.75rem;
    font-family: 'Courier New', monospace;
}

.dns-history-change-row {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.dns-history-change-row:last-child {
    margin-bottom: 0;
}

.dns-history-old {
    color: #dc2626;
    text-decoration: line-through;
}

.dns-history-new {
    color: #059669;
    font-weight: 600;
}

/* Loading States */
.dns-loading {
    text-align: center;
    padding: 2rem;
    color: #6b7280;
}

.dns-loading i {
    width: 32px;
    height: 32px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.dns-empty-state {
    text-align: center;
    padding: 2rem;
    color: #9ca3af;
}

.dns-empty-state i {
    width: 48px;
    height: 48px;
    margin-bottom: 0.75rem;
    opacity: 0.5;
}

.dns-empty-state p {
    margin: 0;
    font-size: 0.875rem;
}

/* Alert binnen domain content */
.dns-alert {
    padding: 0.75rem 1rem;
    border-radius: 5px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
}

.dns-alert i {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.dns-alert-info {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #7dd3fc;
}

.dns-alert-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
}

.dns-alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.dns-alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Add Record Button */
.btn-add-record {
    width: 100%;
    justify-content: center;
    background: #f3f4f6;
    color: #374151;
    border: 1px dashed #d1d5db;
}

.btn-add-record:hover {
    background: #e5e7eb;
    border-color: #9ca3af;
    color: #1f2937;
}

/* Responsive */
@media (max-width: 768px) {
    .domain-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .domain-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .dns-form-row {
        grid-template-columns: 1fr;
    }
    
    .dns-record-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .dns-record-actions {
        width: 100%;
        justify-content: flex-start;
    }
}

/* ======================================== 
   END DNS MANAGEMENT MODULE
   ======================================== */
   
   
/* ==========================================
   🖥️ SERVER MONITORING STYLING
   Cal.com inspired design
   ========================================== */

.server-monitoring-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.server-monitoring-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.server-monitoring-card .header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.server-monitoring-card .header-left .icon {
    color: #6b7280;
}

.server-monitoring-card h2 {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

/* Refresh Button */
.btn-refresh {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-refresh:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.btn-refresh:active {
    transform: scale(0.98);
}

.btn-refresh:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Server Statistics Grid */
.server-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.2s;
}

.stat-card:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    flex-shrink: 0;
}

.stat-total .stat-icon {
    background: #eff6ff;
    color: #3b82f6;
}

.stat-online .stat-icon {
    background: #f0fdf4;
    color: #22c55e;
}

.stat-offline .stat-icon {
    background: #fef2f2;
    color: #ef4444;
}

.stat-response .stat-icon {
    background: #fef9c3;
    color: #eab308;
}

.stat-content {
    flex: 1;
}

.stat-label {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 4px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    line-height: 1;
}

/* Servers Grid */
.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

/* Server Card */
.server-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.2s;
}

.server-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

/* Server Header */
.server-header {
    padding: 16px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.server-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-icon {
    flex-shrink: 0;
}

.status-text {
    font-size: 14px;
    font-weight: 600;
}

/* Status Colors */
.status-online {
    color: #22c55e;
}

.status-online .status-icon {
    color: #22c55e;
}

.status-offline {
    color: #ef4444;
}

.status-offline .status-icon {
    color: #ef4444;
}

.status-unknown {
    color: #6b7280;
}

.status-unknown .status-icon {
    color: #6b7280;
}

/* Server Body */
.server-body {
    padding: 16px;
}

.server-name {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 12px 0;
}

.server-details {
    display: flex;
    flex-direction: column;
}
.server-details .detail-label {
    text-transform: none;
	    font-size: 13px;
}
.server-details .detail-row {
    padding: 3px 0;
}
.server-details .detail-value {
    font-size: 13px;
}
.detail-row {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #6b7280;
}

.detail-row .icon {
    flex-shrink: 0;
    color: #9ca3af;
    width: 14px;
    height: 14px;
}

.detail-label {
    font-weight: 500;
    min-width: 80px;
    color: #6b7280;
}

.detail-value {
    color: #374151;
    font-weight: 400;
}

/* Server Footer */
.server-footer {
    padding: 12px 16px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 8px;
}

.btn-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1;
    padding: 8px 12px;
    background: #3b82f6;
    border: 1px solid #3b82f6;
    border-radius: 6px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-login:hover {
    background: #2563eb;
    border-color: #2563eb;
    transform: translateY(-1px);
}

.btn-login:active {
    transform: scale(0.98);
}

.btn-check-single {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1;
    padding: 8px 12px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    color: #374151;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-check-single:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.btn-check-single:active {
    transform: scale(0.98);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 48px 24px;
    color: #6b7280;
}

.empty-state svg {
    margin: 0 auto 16px;
    opacity: 0.3;
}

.empty-state p {
    font-size: 14px;
    margin-bottom: 16px;
}

.btn-primary {
    display: inline-block;
    padding: 10px 20px;
    background: #000000;
    color: #ffffff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

/* Update Notice */
.update-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 8px;
    margin-top: 16px;
    color: #92400e;
    font-size: 13px;
}

.update-notice .icon {
    flex-shrink: 0;
    color: #f59e0b;
}

/* Loading Spinner Animation */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.spinner {
    animation: spin 1s linear infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .server-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .servers-grid {
        grid-template-columns: 1fr;
    }
    
    .server-monitoring-card .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .btn-refresh {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .server-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-value {
        font-size: 20px;
    }
}

/* Dark Mode Support (optioneel) */
@media (prefers-color-scheme: dark) {
    .server-monitoring-card {
        background: #1f2937;
        border-color: #374151;
    }
    
    .server-monitoring-card h2 {
        color: #f9fafb;
    }
    
    .server-card {
        background: #1f2937;
        border-color: #374151;
    }
    
    .server-header,
    .server-footer {
        background: #111827;
        border-color: #374151;
    }
    
    .server-name {
        color: #f9fafb;
    }
    
    .detail-value {
        color: #e5e7eb;
    }
    
    .stat-card {
        background: #111827;
        border-color: #374151;
    }
    
    .stat-label {
        color: #9ca3af;
    }
    
    .stat-value {
        color: #f9fafb;
    }
}

/* ============================================
   WHATSAPP CONVERSATIE STYLING
   ============================================ */

/* Conversatie container */
.whatsapp-conversatie {
    padding: 20px;
    background: #ffffff;
    max-height: 600px;
    overflow-y: auto;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

/* Bericht layout */
.whatsapp-bericht {
    margin-bottom: 12px;
    display: flex;
}

.whatsapp-bericht.inkomend {
    justify-content: flex-start;
}

.whatsapp-bericht.uitgaand {
    justify-content: flex-end;
}

/* Bericht bubble */
.bericht-bubble {
    max-width: 70%;
    padding: 10px 14px;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.whatsapp-bericht.inkomend .bericht-bubble {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
}

.whatsapp-bericht.uitgaand .bericht-bubble {
    background: #dcf8c6;
    border: 1px solid #c5e4a8;
}

.bericht-bubble p {
    margin: 0;
    word-wrap: break-word;
    color: #1f2937;
}

.bericht-meta {
    margin-top: 4px;
    font-size: 11px;
    color: #6b7280;
    text-align: right;
}

.bericht-media {
    margin-top: 8px;
}

/* Input gebied */
.whatsapp-input-area {
    background: #f5f5f5;
    padding: 16px;
    border-top: 1px solid #e5e7eb;
}

.whatsapp-input-wrapper {
    margin-bottom: 12px;
}

.whatsapp-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #ffffff;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
    min-height: 80px;
}

.whatsapp-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Collapsible sections */
.collapsible-section {
    padding: 16px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: none;
    letter-spacing: 0.05em;
}

.detail-item > span:last-child,
.detail-item > code {
    font-size: 14px;
    color: #1f2937;
}

/* Card header met multiple items */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header > div {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Responsive */
@media (max-width: 768px) {
    .bericht-bubble {
        max-width: 85%;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
    }
}
/* ============================================
   WHATSAPP AJAX SEARCH STYLING
   ============================================ */

/* Search en filter row */
.search-filter-row {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 16px;
}

.search-box-container {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.search-box-container i {
    position: absolute;
    left: 12px;
    color: #6b7280;
    width: 20px;
    height: 20px;
}

.search-input {
    width: 100%;
    padding: 10px 10px 10px 40px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
}

.search-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Loading spinner */
.spinner {
    border: 3px solid #f3f4f6;
    border-top: 3px solid #3b82f6;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 12px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Results container fade effect */
#resultsContainer {
    transition: opacity 0.2s;
}

/* Responsive */
@media (max-width: 768px) {
    .search-filter-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-filter-row select {
        width: 100% !important;
    }
}

/* ==========================================
   🖥️ SERVER MONITORING STYLING
   ========================================== */

/* Server Header - Flex layout met status links en menu rechts */
.server-card .server-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

/* Status badge links */
.server-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.server-status.status-online {
    background: #d1fae5;
    color: #065f46;
}

.server-status.status-offline {
    background: #fee2e2;
    color: #991b1b;
}

.server-status.status-unknown {
    background: #f3f4f6;
    color: #6b7280;
}

.server-status .status-icon {
    width: 16px;
    height: 16px;
}

/* ==========================================
   DRIE PUNTJES DROPDOWN MENU
   ========================================== */

/* Container voor menu (rechts uitgelijnd) */
.server-menu-container {
    position: relative;
    display: flex;
    align-items: center;
}

/* Drie puntjes trigger knop */
.server-menu-trigger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: #6b7280;
}

.server-menu-trigger:hover {
    background: #f3f4f6;
    color: #111827;
}

.server-menu-trigger svg {
    width: 20px;
    height: 20px;
}

/* Dropdown menu */
.server-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    z-index: 1000;
    overflow: hidden;
}

/* Dropdown items */
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: white;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    color: #111827;
    font-size: 0.875rem;
}

.dropdown-item:hover {
    background: #f3f4f6;
}

.dropdown-item .icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.dropdown-item span {
    flex: 1;
}

/* Separator tussen items */
.dropdown-item + .dropdown-item {
    border-top: 1px solid #f3f4f6;
}

/* ==========================================
   SCAN WEBSITES KNOP STYLING
   ========================================== */

/* Scan Websites knop (primary style) */
#scan-all-servers-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #292524;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

#scan-all-servers-btn:hover {
    background: #1c1917;
    transform: translateY(-1px);
}

#scan-all-servers-btn:active {
    transform: translateY(0);
}

#scan-all-servers-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#scan-all-servers-btn .icon {
    width: 16px;
    height: 16px;
}

/* Refresh Status knop (secondary style) */
#refresh-servers-btn,
.btn-refresh {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: white;
    color: #292524;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

#refresh-servers-btn:hover,
.btn-refresh:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

#refresh-servers-btn:disabled,
.btn-refresh:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#refresh-servers-btn .icon,
.btn-refresh .icon {
    width: 16px;
    height: 16px;
}

/* Button groep styling */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.card-header .header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-header .header-left h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.card-header .header-left .icon {
    width: 20px;
    height: 20px;
    color: #6b7280;
}

/* ==========================================
   SPINNER ANIMATIE
   ========================================== */

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Voor secondary buttons */
.btn-secondary .spinner {
    border: 2px solid #e5e7eb;
    border-top-color: #292524;
}

/* ==========================================
   SERVER CARDS ALGEMEEN
   ========================================== */

.server-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.2s;
}

.server-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.server-body {
    margin-bottom: 16px;
}

.server-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 12px;
}

.server-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #6b7280;
}

.detail-row .icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.detail-label {
    font-weight: 500;
}

.detail-value {
    color: #111827;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 768px) {
    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    #scan-all-servers-btn,
    #refresh-servers-btn {
        width: 100%;
        justify-content: center;
    }
    
    .server-dropdown-menu {
        right: auto;
        left: 0;
    }
}

/* ===== LOGIN PAGE ===== */
body.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: #f5f5f5;
    padding: 20px;
}

.login-container {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 420px;
    overflow: hidden;
}

.login-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 40px 30px 30px;
    text-align: center;
}

.login-header h1 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.login-header p {
    font-size: 14px;
    color: #6b7280;
}

.login-body {
    padding: 30px;
}

.login-body .form-group {
    margin-bottom: 20px;
}

.login-body .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.login-body .input-wrapper {
    position: relative;
    display: block;
}

.login-body .input-wrapper i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    width: 20px;
    height: 20px;
    pointer-events: none;
    z-index: 1;
}

.login-body .form-control {
    width: 100%;
    padding: 10px 12px 10px 44px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.15s ease;
    background: #ffffff;
    box-sizing: border-box;
}

.login-body .form-control:focus {
    outline: none;
    border-color: #333333;
    box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.1);
}

.error-message {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #991b1b;
    padding: 12px 16px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.error-message i {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.validation-errors {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #991b1b;
    padding: 12px 16px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 14px;
}

.validation-errors ul {
    margin: 8px 0 0 20px;
}

.validation-errors li {
    margin: 4px 0;
}

.btn-login {
    width: 100%;
    padding: 12px;
    background: #333333;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-login:hover {
    background: #1a1a1a;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.btn-login:active {
    transform: translateY(0);
}

.login-footer {
    padding: 20px 30px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    text-align: center;
    font-size: 13px;
    color: #6b7280;
}

.login-footer a {
    color: #333333;
    text-decoration: none;
    font-weight: 500;
}

.login-footer a:hover {
    text-decoration: underline;
}
 
/* ==========================================
   SEARCH CONSOLE PROPERTY DETAIL
   ========================================== */

/* Sync status info (compact) */
.sc-sync-status {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 14px;
}

.sc-sync-label {
    color: #6b7280;
}

.sc-sync-date {
    font-weight: 500;
    color: #1a1a1a;
}

/* Property info card (onderaan) */
.sc-property-info-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

.sc-property-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.sc-detail-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sc-detail-label {
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sc-detail-value {
    font-size: 14px;
    color: #1a1a1a;
}

.sc-detail-value code {
    background: #e5e7eb;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 13px;
}

/* Page header actions - consistent styling */
.page-header-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Responsive */
@media (max-width: 768px) {
    .sc-sync-status {
        flex-wrap: wrap;
    }
    
    .sc-property-details {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .page-header-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .page-header-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
/* ==========================================
   SEARCH CONSOLE DASHBOARD
   ========================================== */

/* Properties count */
.sc-properties-count {
    color: #6b7280;
    margin: 0 0 16px 0;
    font-size: 14px;
}

/* Klant links - geen underline, zwart */
.sc-klant-link {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
}

.sc-klant-link:hover {
    color: #333333;
}

/* Property URL - zelfde stijl als klantnaam */
.sc-property-url {
    color: #1a1a1a;
    font-weight: 400;
}

/* Properties tabel */
.sc-properties-table th,
.sc-properties-table td {
    vertical-align: middle;
}

/* Sync cel - alles op 1 regel */
.sc-sync-cell {
    white-space: nowrap;
}

.sc-sync-datetime {
    color: #1a1a1a;
    font-size: 14px;
}

.sc-no-sync {
    color: #9ca3af;
    font-size: 14px;
}

/* Groene vinkjes */
.sc-icon-success {
    color: #16a34a;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-left: 4px;
}

/* Rode kruisjes */
.sc-icon-error {
    color: #dc2626;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-left: 4px;
}

/* Status met groen vinkje */
.status-success .sc-icon-success {
    margin-left: 0;
    margin-right: 4px;
}
/* ==========================================
   PROJECTEN PAGINA - TOEVOEGINGEN
   ========================================== */

/* Icon-only buttons */
.btn-icon-only {
    padding: 3px 1px 6px 7px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-icon-only i,
.btn-icon-only svg {
    width: 16px;
    height: 16px;
}

/* Section header met meer ruimte */
.section-header-spaced {
    margin-top: 32px;
    margin-bottom: 16px;
}

.section-header-spaced:first-of-type {
    margin-top: 0;
}

/* Compacte tabel - alles op 1 regel */
.table-compact td,
.table-compact th {
    white-space: nowrap;
    padding: 10px 12px;
}

.table-compact .actions {
    gap: 4px;
}

/* Muted text helper */
.text-muted {
    color: #6b7280;
    font-size: 13px;
}

/* ==========================================
   GESPREKKEN PAGINA - TOEVOEGINGEN
   ========================================== */

/* Status success - groen vinkje */
.status-success {
    color: #16a34a;
}

.status-success i,
.status-success svg {
    color: #16a34a;
}

/* Status warning - oranje */
.status-warning {
    color: #d97706;
}

.status-warning i,
.status-warning svg {
    color: #d97706;
}

/* Status info - blauw */
.status-info {
    color: #2563eb;
}

.status-info i,
.status-info svg {
    color: #2563eb;
}

/* Status danger - rood */
.status-danger {
    color: #dc2626;
}

.status-danger i,
.status-danger svg {
    color: #dc2626;
}

/* Status secondary - grijs */
.status-secondary {
    color: #6b7280;
}

.status-secondary i,
.status-secondary svg {
    color: #6b7280;
}

/* Acties kolom rechts uitlijnen */
th:last-child,
td.actions {
    text-align: right;
}

td.actions {
    justify-content: flex-end;
}

/* ==========================================
   TELEFOONGESPREKKEN PAGINA
   ========================================== */

/* Search form met filter dropdown */
.search-form-with-filter {
    display: flex;
    gap: 12px;
    align-items: center;
}

.search-form-with-filter .search-input-wrapper {
    flex: 1;
}

.search-filter-select {
    width: auto;
    min-width: 160px;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-size: 14px;
    background: #fff;
}

.search-filter-select:focus {
    outline: none;
    border-color: #333333;
    box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.1);
}

/* Gesprek cards - groene lijn links */
.gesprek-card {
    border-left: 3px solid #16a34a;
}

/* Gesprek icon - zacht groen */
.gesprek-icon {
    background: #dcfce7;
    color: #16a34a;
}

/* Btn dark - zwart met witte letters */
.btn-dark {
    background: #000000;
    color: #ffffff;
}

.btn-dark:hover {
    background: #1a1a1a;
    color: #ffffff;
}

/* Ongekoppelde gesprekken - oranje behouden */
.gesprek-card.ongekoppeld {
    border-left-color: #f59e0b;
}

.gesprek-card.ongekoppeld .gesprek-icon {
    background: #fef3c7;
    color: #f59e0b;
}

/* ==========================================
   LIGHTHOUSE PAGINA
   ========================================== */

/* Outline dark button voor niet-actieve filters */
.btn-outline-dark {
    background: transparent;
    color: #000000;
    border: 1px solid #000000;
}

.btn-outline-dark:hover {
    background: #000000;
    color: #ffffff;
}

/* Score badges */
.score-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
}

.score-good {
    background: #dcfce7;
    color: #16a34a;
}

.score-medium {
    background: #fed7aa;
    color: #ea580c;
}

.score-poor {
    background: #fee2e2;
    color: #dc2626;
}

.no-data {
    color: #9ca3af;
}

/* URL link styling */
.url-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: #1a1a1a;
    text-decoration: none;
}

.url-link:hover {
    text-decoration: underline;
}

.url-link svg {
    width: 14px;
    height: 14px;
}

/* Scanning overlay */
.scanning-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.scanning-content {
    background: white;
    padding: 2rem 3rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.scanning-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #e5e7eb;
    border-top-color: #000000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

.scanning-content h3 {
    margin: 0 0 0.5rem;
    color: #111827;
}

.scanning-content p {
    margin: 0;
    color: #6b7280;
}

.scanning-url {
    font-family: monospace;
    font-size: 0.875rem;
    margin-top: 0.5rem !important;
    color: #000000 !important;
}

/* ==========================================
   CARD DROPDOWN MENU (Herbruikbaar)
   Gebruikt voor: contactpersonen, klanten, etc.
   ========================================== */

/* Maak de card relative zodat het menu absoluut gepositioneerd kan worden */
.contactpersoon-card {
    position: relative;
}

/* Container voor menu - absoluut rechtsboven in de card */
.card-menu-container {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
}

/* Drie puntjes trigger knop */
.card-menu-trigger {
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: #9ca3af;
}

.card-menu-trigger:hover {
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #374151;
}

.card-menu-trigger svg {
    width: 18px;
    height: 18px;
    pointer-events: none;
}

/* Dropdown menu */
.card-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    min-width: 180px;
    z-index: 1000;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.95);
    transition: all 0.15s ease;
}

.card-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Dropdown items */
.card-dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: white;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s;
    text-decoration: none;
    color: #374151;
    font-size: 14px;
}

.card-dropdown-menu .dropdown-item:hover {
    background: #f9fafb;
}

.card-dropdown-menu .dropdown-item svg {
    width: 16px;
    height: 16px;
    color: #6b7280;
    flex-shrink: 0;
    pointer-events: none;
}

.card-dropdown-menu .dropdown-item span {
    flex: 1;
}

/* Separator tussen items */
.card-dropdown-menu .dropdown-item + .dropdown-item {
    border-top: 1px solid #f3f4f6;
}

/* Danger item (verwijderen) */
.card-dropdown-menu .dropdown-item-danger {
    color: #dc2626;
}

.card-dropdown-menu .dropdown-item-danger:hover {
    background: #fef2f2;
}

.card-dropdown-menu .dropdown-item-danger svg {
    color: #dc2626;
}

/* Verberg oude actions knoppen */
.contactpersoon-actions {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .card-dropdown-menu {
        min-width: 160px;
    }
    
    .card-dropdown-menu .dropdown-item {
        padding: 12px 14px;
    }
}


/* ===== SCROLLABLE SIDEBAR NAVIGATION ===== */
.sidebar {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sidebar-logo {
    flex-shrink: 0;
}

.nav {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 16px;
}

.sidebar-user {
    flex-shrink: 0;
}

/* Mooie scrollbar styling voor sidebar */
.nav::-webkit-scrollbar {
    width: 6px;
}

.nav::-webkit-scrollbar-track {
    background: transparent;
}

.nav::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.nav::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Firefox scrollbar styling */
.nav {
    scrollbar-width: thin;
    scrollbar-color: #d1d5db transparent;
}