/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-bg: #eef2ff;
    --success: #22c55e;
    --success-bg: #dcfce7;
    --warning: #f59e0b;
    --warning-bg: #fef3c7;
    --danger: #ef4444;
    --danger-bg: #fee2e2;
    --info: #3b82f6;
    --info-bg: #dbeafe;
    --teal: #14b8a6;
    --teal-bg: #ccfbf1;
    --purple: #8b5cf6;
    --purple-bg: #ede9fe;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.06);
    --transition: all 0.2s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #e0e7ff 0%, #dbeafe 30%, #e0f2fe 60%, #f0f9ff 100%);
    color: var(--gray-800);
    min-height: 100vh;
    line-height: 1.5;
    font-size: 14px;
}

/* ===== LAYOUT ===== */
.app-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 24px;
    min-height: 100vh;
}

/* ===== HEADER ===== */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-left .logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.header-left h1 {
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-900);
}

.header-right {
    display: flex;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
}

.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
}

.btn-outline {
    background: white;
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
}

.btn-outline:hover { background: var(--gray-50); }

.btn-success { background: var(--success); color: white; }
.btn-danger { background: var(--danger); color: white; }
.btn-warning { background: var(--warning); color: white; }

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 6px;
}

.btn-icon {
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: white;
    border: 1px solid var(--gray-200);
    cursor: pointer;
    transition: var(--transition);
    color: var(--gray-500);
}

.btn-icon:hover { background: var(--gray-50); color: var(--gray-700); }

/* ===== STAT CARDS ===== */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: white;
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.stat-card.active { border-color: var(--primary); }

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.stat-icon.new { background: var(--info-bg); color: var(--info); }
.stat-icon.contacted { background: var(--warning-bg); color: var(--warning); }
.stat-icon.qualified { background: var(--teal-bg); color: var(--teal); }
.stat-icon.closed { background: var(--success-bg); color: var(--success); }

.stat-info h3 { font-size: 28px; font-weight: 700; line-height: 1.2; }
.stat-info p { font-size: 12px; color: var(--gray-500); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }

/* ===== FILTERS BAR ===== */
.filters-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    background: white;
    padding: 12px 16px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    flex-wrap: wrap;
}

.filter-tabs {
    display: flex;
    gap: 4px;
    background: var(--gray-100);
    padding: 4px;
    border-radius: var(--radius-sm);
}

.filter-tab {
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-500);
    transition: var(--transition);
    white-space: nowrap;
}

.filter-tab.active { background: white; color: var(--gray-800); box-shadow: var(--shadow); }
.filter-tab:hover:not(.active) { color: var(--gray-700); }

.filter-select {
    padding: 8px 32px 8px 12px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--gray-600);
    background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 10px center no-repeat;
    appearance: none;
    cursor: pointer;
    min-width: 140px;
}

.filter-select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-bg); }

.search-box {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.search-box input {
    width: 100%;
    padding: 8px 12px 8px 36px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 13px;
    transition: var(--transition);
}

.search-box input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-bg); }

.search-box .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 14px;
}

.filter-divider {
    width: 1px;
    height: 28px;
    background: var(--gray-200);
}

/* ===== MAIN CONTENT GRID ===== */
.main-content {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    align-items: start;
}

/* ===== LEAD LIST ===== */
.lead-list-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.lead-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-100);
}

.lead-list-header h2 {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lead-count {
    background: var(--primary-bg);
    color: var(--primary);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.lead-table {
    width: 100%;
    border-collapse: collapse;
}

.lead-table th {
    padding: 12px 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-100);
}

.lead-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--gray-50);
    font-size: 13px;
    vertical-align: middle;
}

.lead-table tr {
    cursor: pointer;
    transition: var(--transition);
}

.lead-table tbody tr:hover { background: var(--primary-bg); }
.lead-table tbody tr.active { background: #eef2ff; }

.lead-name-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
}

.avatar-1 { background: linear-gradient(135deg, #6366f1, #818cf8); }
.avatar-2 { background: linear-gradient(135deg, #ec4899, #f472b6); }
.avatar-3 { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.avatar-4 { background: linear-gradient(135deg, #10b981, #34d399); }
.avatar-5 { background: linear-gradient(135deg, #3b82f6, #60a5fa); }
.avatar-6 { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }
.avatar-7 { background: linear-gradient(135deg, #ef4444, #f87171); }
.avatar-8 { background: linear-gradient(135deg, #14b8a6, #2dd4bf); }

.lead-name { font-weight: 600; color: var(--gray-800); }
.lead-company { font-size: 12px; color: var(--gray-400); margin-top: 2px; }

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.status-new { background: #dbeafe; color: #2563eb; }
.status-contacted { background: #fef3c7; color: #d97706; }
.status-follow-up { background: #e0e7ff; color: #4f46e5; }
.status-interested { background: #dbeafe; color: #2563eb; }
.status-meeting { background: #ede9fe; color: #7c3aed; }
.status-qualified { background: #ccfbf1; color: #0d9488; }
.status-not-interested { background: #fee2e2; color: #dc2626; }
.status-closed { background: #dcfce7; color: #16a34a; }
.status-negotiation { background: #ffedd5; color: #ea580c; }
.status-proposal { background: #e0f2fe; color: #0284c7; }
.status-lost { background: #f3f4f6; color: #6b7280; }

/* Priority Badges */
.priority-low { background: #f3f4f6; color: #6b7280; }
.priority-medium { background: #dbeafe; color: #2563eb; }
.priority-high { background: #fef3c7; color: #d97706; }
.priority-urgent { background: #fee2e2; color: #dc2626; }

.source-text { color: var(--gray-500); font-size: 13px; }
.last-contact { color: var(--gray-500); font-size: 13px; }

.action-buttons {
    display: flex;
    gap: 6px;
}

.action-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    background: white;
    color: var(--gray-500);
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}

.action-btn:hover { background: var(--gray-50); color: var(--gray-700); }
.action-btn.whatsapp { border-color: #25d366; color: #25d366; }
.action-btn.whatsapp:hover { background: #25d366; color: white; }

.empty-state {
    padding: 60px 24px;
    text-align: center;
    color: var(--gray-400);
}

.empty-state i { font-size: 48px; margin-bottom: 16px; display: block; }
.empty-state h3 { font-size: 18px; color: var(--gray-600); margin-bottom: 8px; }
.empty-state p { font-size: 14px; }

/* ===== RIGHT PANEL ===== */
.right-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Lead Insights */
.insights-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.insights-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-100);
}

.insights-header h2 {
    font-size: 16px;
    font-weight: 600;
}

.insights-actions {
    display: flex;
    gap: 6px;
}

.insights-body {
    padding: 24px;
}

.insights-placeholder {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray-400);
}

.insights-placeholder i { font-size: 48px; margin-bottom: 12px; display: block; color: var(--gray-300); }

.lead-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 24px;
}

.lead-profile .profile-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
}

.lead-profile .profile-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.lead-profile .profile-company {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 10px;
}

.lead-detail-grid {
    display: grid;
    gap: 14px;
    margin-bottom: 20px;
}

.lead-detail-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.lead-detail-row i {
    width: 18px;
    color: var(--gray-400);
    margin-top: 2px;
    text-align: center;
    flex-shrink: 0;
}

.lead-detail-row .detail-label {
    font-size: 11px;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lead-detail-row .detail-value {
    font-size: 13px;
    color: var(--gray-700);
    font-weight: 500;
    word-break: break-word;
}

.insight-actions-row {
    display: flex;
    gap: 10px;
}

.insight-actions-row .btn { flex: 1; justify-content: center; }

/* Activity Section */
.activity-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.activity-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-100);
}

.activity-header h2 { font-size: 16px; font-weight: 600; }

.activity-list {
    padding: 16px 24px;
    max-height: 300px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-50);
}

.activity-item:last-child { border-bottom: none; }

.activity-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.activity-icon.call { background: var(--info-bg); color: var(--info); }
.activity-icon.email { background: var(--warning-bg); color: var(--warning); }
.activity-icon.note { background: var(--purple-bg); color: var(--purple); }
.activity-icon.status { background: var(--success-bg); color: var(--success); }
.activity-icon.created { background: var(--teal-bg); color: var(--teal); }
.activity-icon.meeting { background: var(--primary-bg); color: var(--primary); }

.activity-content { flex: 1; }
.activity-content .activity-desc { font-size: 13px; color: var(--gray-700); }
.activity-content .activity-time { font-size: 11px; color: var(--gray-400); margin-top: 2px; }

.activity-empty {
    padding: 24px;
    text-align: center;
    color: var(--gray-400);
    font-size: 13px;
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active { opacity: 1; visibility: visible; }

.modal {
    background: white;
    border-radius: var(--radius-lg);
    width: 600px;
    max-width: 95vw;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal { transform: translateY(0); }

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid var(--gray-100);
}

.modal-header h2 { font-size: 20px; font-weight: 700; }

.modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: var(--gray-100);
    border-radius: 50%;
    cursor: pointer;
    color: var(--gray-500);
    font-size: 18px;
    transition: var(--transition);
}

.modal-close:hover { background: var(--gray-200); }

.modal-body { padding: 24px; }

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full-width { grid-column: span 2; }

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
}

.form-group label .required { color: var(--danger); }

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px 14px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
    color: var(--gray-800);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-bg);
}

.form-group textarea { resize: vertical; min-height: 80px; }

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid var(--gray-100);
}

/* ===== SETTINGS MODAL ===== */
.settings-tabs {
    display: flex;
    gap: 4px;
    background: var(--gray-100);
    padding: 4px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
}

.settings-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-500);
    transition: var(--transition);
}

.settings-tab:hover { color: var(--gray-700); }
.settings-tab.active { background: white; color: var(--primary); box-shadow: var(--shadow); }
.settings-tab i { font-size: 14px; }

.settings-panel { display: none; }
.settings-panel.active { display: block; }

.settings-section-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.settings-section-title i { color: var(--primary); font-size: 14px; }

.settings-desc {
    font-size: 13px;
    color: var(--gray-400);
    margin-bottom: 20px;
    line-height: 1.5;
}

.settings-desc code {
    background: var(--gray-100);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    color: var(--primary);
}

.settings-divider {
    height: 1px;
    background: var(--gray-100);
    margin: 16px 0;
}

/* ===== LOADING / SPINNER ===== */
.loading-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* ===== TOAST NOTIFICATIONS ===== */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: white;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    min-width: 300px;
    max-width: 420px;
    animation: slideIn 0.3s ease;
    border-left: 4px solid var(--gray-400);
}

.toast.success { border-left-color: var(--success); }
.toast.error { border-left-color: var(--danger); }
.toast.info { border-left-color: var(--info); }

.toast-icon { font-size: 18px; }
.toast.success .toast-icon { color: var(--success); }
.toast.error .toast-icon { color: var(--danger); }
.toast.info .toast-icon { color: var(--info); }

.toast-message { flex: 1; font-size: 13px; color: var(--gray-700); }

.toast-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-400);
    font-size: 16px;
    padding: 0;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-top: 1px solid var(--gray-100);
}

.pagination-info { font-size: 13px; color: var(--gray-500); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .main-content {
        grid-template-columns: 1fr;
    }
    .right-panel {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .app-container { padding: 16px; }
    .stats-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-group.full-width { grid-column: span 1; }
    .filters-bar { flex-wrap: wrap; }
    .right-panel { grid-template-columns: 1fr; }
    .header { flex-direction: column; gap: 12px; align-items: stretch; }
    .lead-table th:nth-child(4),
    .lead-table td:nth-child(4) { display: none; }
}

@media (max-width: 480px) {
    .stats-row { grid-template-columns: 1fr; }
    .lead-table th:nth-child(3),
    .lead-table td:nth-child(3),
    .lead-table th:nth-child(5),
    .lead-table td:nth-child(5) { display: none; }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }

/* ===== BULK ACTION BAR ===== */
.bulk-action-bar {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    flex-wrap: wrap;
}

.bulk-action-bar.active { display: flex; }

.bulk-action-info {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.bulk-action-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    flex-wrap: wrap;
}

.bulk-action-select {
    padding: 6px 28px 6px 10px;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: var(--radius-sm);
    font-size: 12px;
    background: rgba(255,255,255,0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 8px center no-repeat;
    color: white;
    appearance: none;
    cursor: pointer;
}

.bulk-action-select option { background: white; color: var(--gray-800); }
.bulk-action-select:focus { outline: none; border-color: rgba(255,255,255,0.8); }

.bulk-action-bar .btn-outline {
    background: rgba(255,255,255,0.15);
    color: white;
    border-color: rgba(255,255,255,0.4);
}
.bulk-action-bar .btn-outline:hover { background: rgba(255,255,255,0.25); }
.bulk-action-bar .btn-danger { background: var(--danger); }

.bulk-action-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.8);
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    margin-left: auto;
}
.bulk-action-close:hover { color: white; }

/* Checkbox column */
.lead-table th:first-child,
.lead-table td:first-child {
    width: 40px;
    text-align: center;
    padding-left: 12px;
    padding-right: 4px;
}

.lead-table input[type="checkbox"],
.row-checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--primary);
}

/* Selected row highlight */
.lead-table tbody tr.row-selected {
    background: var(--primary-bg) !important;
}

/* ===== CONFIRM DIALOG ===== */
.confirm-body {
    text-align: center;
    padding: 20px 0;
}

.confirm-body i {
    font-size: 48px;
    color: var(--warning);
    margin-bottom: 16px;
    display: block;
}

.confirm-body p {
    font-size: 15px;
    color: var(--gray-600);
}
