/* ==================== CRM ==================== */

/* Full-width layout like Planner */
#section-crm.app-section.active {
    display: flex;
    flex-direction: column;
    padding: 0;
    max-width: none;
}

/* Toolbar: filters + add button in one row */
.crm-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: #fff;
    border-bottom: 1px solid var(--border-light);
    flex-wrap: wrap;
}

.crm-toolbar-filters {
    display: flex;
    gap: 10px;
    flex: 1;
    flex-wrap: wrap;
    align-items: center;
}

.crm-toolbar-filters select,
.crm-toolbar-filters input[type='text'] {
    padding: 8px 12px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 13px;
    color: var(--text-primary);
    background: var(--bg-card);
    min-width: 140px;
    transition: border-color var(--transition-fast);
}

.crm-toolbar-filters select:focus,
.crm-toolbar-filters input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.crm-toolbar-filters .crm-search {
    flex: 1;
    min-width: 200px;
}

/* Table fills remaining space */
.crm-table-wrap {
    flex: 1;
    background: #fff;
    overflow: hidden;
}

.crm-table-wrap > div {
    overflow-x: auto;
    height: 100%;
}

/* Stats cards row (hidden by default, available for future) */
.crm-stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.crm-stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    border: 1px solid var(--border-light);
    text-align: center;
    transition: box-shadow var(--transition-fast);
}

.crm-stat-card:hover {
    box-shadow: var(--shadow-md);
}

.crm-stat-card .stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.crm-stat-card .stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.crm-stat-card .stat-sub {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Legacy .crm-filters (kept for backward compat) */
.crm-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.crm-filters select,
.crm-filters input[type='text'] {
    padding: 8px 12px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 13px;
    color: var(--text-primary);
    background: var(--bg-card);
    min-width: 140px;
    transition: border-color var(--transition-fast);
}

.crm-filters select:focus,
.crm-filters input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.crm-filters .crm-search {
    flex: 1;
    min-width: 200px;
}

/* Stage badge */
.crm-stage-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: opacity var(--transition-fast);
}

.crm-stage-badge:hover {
    opacity: 0.85;
}

/* Source badge */
.crm-source-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    background: #f1f5f9;
    color: #475569;
}

.crm-source-badge.source-facebook {
    background: #dbeafe;
    color: #1d4ed8;
}
.crm-source-badge.source-ninjabox {
    background: #ede9fe;
    color: #6d28d9;
}
.crm-source-badge.source-manual {
    background: #f1f5f9;
    color: #475569;
}
.crm-source-badge.source-referral {
    background: #dcfce7;
    color: #166534;
}

/* Contact detail panel */
.crm-detail-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: none;
    justify-content: flex-end;
}

.crm-detail-overlay.active {
    display: flex;
}

.crm-detail-panel {
    width: 700px;
    max-width: 90vw;
    background: var(--bg-body);
    height: 100%;
    overflow-y: auto;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 280px;
}

@media (max-width: 768px) {
    .crm-detail-panel {
        width: 100vw;
        grid-template-columns: 1fr;
    }
}

/* Timeline */
.crm-timeline {
    padding: 24px;
    overflow-y: auto;
}

.crm-timeline-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.crm-timeline-item:last-child {
    border-bottom: none;
}

.crm-timeline-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-top: 5px;
    flex-shrink: 0;
}

.crm-timeline-dot.type-call {
    background: #3b82f6;
}
.crm-timeline-dot.type-note {
    background: #8b5cf6;
}
.crm-timeline-dot.type-status_change {
    background: #f59e0b;
}
.crm-timeline-dot.type-created {
    background: #22c55e;
}
.crm-timeline-dot.type-sms {
    background: #06b6d4;
}
.crm-timeline-dot.type-ninjabox_opened {
    background: #a855f7;
}
.crm-timeline-dot.type-ninjabox_click {
    background: #a855f7;
}
.crm-timeline-dot.type-callback_scheduled {
    background: #f97316;
}

.crm-timeline-content {
    flex: 1;
    min-width: 0;
}

.crm-timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.crm-timeline-user {
    font-weight: 600;
    font-size: 13px;
    color: var(--text-primary);
}

.crm-timeline-time {
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
}

.crm-timeline-title {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.crm-timeline-text {
    font-size: 13px;
    color: var(--text-primary);
    margin-top: 4px;
    background: var(--bg-card);
    padding: 8px 12px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

/* ============ UNIFIED TIMELINE: Messaging dots ============ */
.crm-timeline-dot.type-messenger_received,
.crm-timeline-dot.type-messenger_sent {
    background: #0084ff;
}
.crm-timeline-dot.type-whatsapp_received,
.crm-timeline-dot.type-whatsapp_sent {
    background: #25d366;
}

/* ============ UNIFIED TIMELINE: Channel filters ============ */
.crm-timeline-filters {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.crm-ch-filter {
    padding: 4px 10px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    background: var(--bg-card);
    font-size: 11px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.15s;
}

.crm-ch-filter:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.crm-ch-filter.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-color: transparent;
}

/* ============ UNIFIED TIMELINE: Channel badges ============ */
.crm-ch-badge {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    line-height: 16px;
}

.crm-ch-badge.crm-ch-expert {
    background: #dbeafe;
    color: #1d4ed8;
}

.crm-ch-badge.crm-ch-sales {
    background: #fef3c7;
    color: #b45309;
}

.crm-ch-badge.crm-ch-ai {
    background: #ede9fe;
    color: #7c3aed;
}

/* ============ UNIFIED TIMELINE: Message bubbles ============ */
.crm-timeline-item.crm-timeline-msg {
    border-left: 3px solid transparent;
    padding-left: 8px;
    margin-left: -11px;
}

.crm-timeline-item.crm-timeline-msg .crm-timeline-dot.type-messenger_received,
.crm-timeline-item.crm-timeline-msg .crm-timeline-dot.type-messenger_sent {
    box-shadow: 0 0 0 3px rgba(0, 132, 255, 0.15);
}

.crm-timeline-item.crm-timeline-msg .crm-timeline-dot.type-whatsapp_received,
.crm-timeline-item.crm-timeline-msg .crm-timeline-dot.type-whatsapp_sent {
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.15);
}

.crm-timeline-msg-bubble {
    margin-top: 6px;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.45;
    word-break: break-word;
    max-width: 85%;
}

.crm-timeline-msg-bubble.inbound {
    background: #f1f5f9;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    border-bottom-left-radius: 4px;
}

.crm-timeline-msg-bubble.outbound {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border-bottom-right-radius: 4px;
    margin-left: auto;
}

.crm-msg-open-conv {
    color: var(--primary);
    cursor: pointer;
    font-weight: 500;
}

.crm-msg-open-conv:hover {
    text-decoration: underline;
}

/* Contact info sidebar */
.crm-contact-info {
    padding: 24px;
    background: var(--bg-card);
    border-left: 1px solid var(--border-light);
}

.crm-contact-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 16px 0;
}

.crm-info-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 13px;
    color: var(--text-secondary);
}

.crm-info-row a {
    color: var(--primary);
    text-decoration: none;
}

.crm-info-row a:hover {
    text-decoration: underline;
}

.crm-info-section {
    margin-top: 20px;
}

.crm-info-section h4 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin: 0 0 8px 0;
}

/* Action buttons in detail */
.crm-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 16px 24px;
    border-top: 1px solid var(--border-light);
    background: var(--bg-card);
}

.crm-action-btn {
    padding: 8px 14px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    cursor: pointer;
    font-size: 13px;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 6px;
}

.crm-action-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(37, 99, 235, 0.05);
}

/* Tags */
.crm-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.crm-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    background: #ede9fe;
    color: #6d28d9;
}

/* Add lead button */
.crm-add-btn {
    padding: 8px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity var(--transition-fast);
}

.crm-add-btn:hover {
    opacity: 0.9;
}

/* Pagination */
.crm-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin-top: 16px;
    padding: 12px 0;
}

.crm-pagination button {
    padding: 6px 12px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    cursor: pointer;
    font-size: 13px;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.crm-pagination button:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.crm-pagination button.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.crm-pagination .crm-page-info {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0 8px;
}

/* Modal overrides for CRM */
.crm-modal .modal-content {
    max-width: 500px;
}

.crm-modal .form-group {
    margin-bottom: 14px;
}

.crm-modal .form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.crm-modal .form-group input,
.crm-modal .form-group select,
.crm-modal .form-group textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--text-primary);
    box-sizing: border-box;
}

.crm-modal .form-group textarea {
    min-height: 80px;
    resize: vertical;
}

.crm-modal .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Stage dropdown */
.crm-stage-select {
    padding: 4px 8px;
    border: 1px solid transparent;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23666'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 22px;
}

/* Relative time */
.crm-time-ago {
    font-size: 12px;
    color: var(--text-muted);
}

/* ==================== CONTACT COMMAND CENTER ==================== */

.crm-cc {
    padding: 16px 20px;
    animation: fadeIn 0.2s ease;
}

/* Header: contact info + navigation */
.crm-cc-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.crm-cc-header-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
}

.crm-cc-header-contact {
    display: flex;
    gap: 16px;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.crm-cc-header-contact a {
    color: var(--primary);
    text-decoration: none;
    font-size: 13px;
    white-space: nowrap;
}

.crm-cc-header-contact a:hover {
    text-decoration: underline;
}

.crm-cc-header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

/* Body: 2-column grid (50/50) */
.crm-cc-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    min-height: calc(100vh - 200px);
}

/* Left column: actions + info + tasks */
.crm-cc-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Right column: timeline */
.crm-cc-right {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.crm-cc-right .crm-timeline {
    flex: 1;
    overflow-y: auto;
    max-height: calc(100vh - 280px);
}

/* Action tabs */
.crm-cc-actions-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.crm-cc-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--border-light);
}

.crm-cc-tab {
    flex: 1;
    padding: 10px 8px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.15s ease;
    border-bottom: 2px solid transparent;
    font-family: inherit;
}

.crm-cc-tab:hover {
    background: #f8fafc;
    color: var(--text-primary);
}

.crm-cc-tab.active {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.08));
    color: #667eea;
    border-bottom-color: #667eea;
    font-weight: 600;
}

/* Inline form area */
.crm-cc-form {
    padding: 16px 20px;
    display: none;
}

.crm-cc-form.active {
    display: block;
    animation: slideDown 0.15s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.crm-cc-form label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 6px;
}

.crm-cc-form input,
.crm-cc-form select,
.crm-cc-form textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-family: inherit;
    color: var(--text-primary);
    box-sizing: border-box;
    transition: border-color 0.15s ease;
}

.crm-cc-form input:focus,
.crm-cc-form select:focus,
.crm-cc-form textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.crm-cc-form textarea {
    min-height: 60px;
    resize: vertical;
}

.crm-cc-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.crm-cc-form-group {
    margin-bottom: 10px;
}

.crm-cc-form-submit {
    padding: 8px 20px;
    border: none;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.15s ease;
}

.crm-cc-form-submit:hover {
    opacity: 0.9;
}

.crm-cc-form-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===== ALL-IN-ONE CALL FORM ===== */

/* Timer */
.cc-call-timer-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cc-call-timer {
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 18px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    background: #f8fafc;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 70px;
    text-align: center;
}

.cc-call-timer.running {
    background: #ecfdf5;
    border-color: #22c55e;
    color: #16a34a;
    animation: timerPulse 2s ease-in-out infinite;
}

@keyframes timerPulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.2);
    }
    50% {
        box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
    }
}

.cc-timer-reset {
    padding: 4px 8px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    background: #fff;
    cursor: pointer;
    font-size: 16px;
    color: var(--text-muted);
    transition: all 0.15s ease;
}

.cc-timer-reset:hover {
    background: #f1f5f9;
    color: var(--text-primary);
}

/* Toggle row (callback + task buttons) */
.cc-call-toggle-row {
    display: flex;
    gap: 8px;
    margin: 12px 0 4px;
}

.cc-call-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px dashed #94a3b8;
    border-radius: var(--radius-md);
    background: #f8fafc;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    font-family: inherit;
    transition: all 0.15s ease;
}

.cc-call-toggle:hover {
    border-color: #667eea;
    color: #667eea;
    background: rgba(102, 126, 234, 0.06);
}

.cc-toggle-icon {
    font-size: 16px;
    font-weight: 700;
    width: 18px;
    text-align: center;
}

/* Collapsible sections */
.cc-call-section {
    display: none;
    padding: 12px 0 4px;
    border-top: 1px solid var(--border-light);
    margin-top: 8px;
    animation: slideDown 0.15s ease;
}

.cc-call-section.open {
    display: block;
}

/* Quick callback buttons */
.cc-quick-callbacks {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.cc-quick-btn {
    padding: 5px 12px;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    background: #fff;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    font-family: inherit;
    transition: all 0.15s ease;
}

.cc-quick-btn:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border-color: transparent;
}

/* Footer: auto-advance + submit */
.cc-call-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
}

.cc-auto-advance {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-secondary);
    cursor: pointer;
}

.cc-auto-advance input[type='checkbox'] {
    width: 16px;
    height: 16px;
    accent-color: #667eea;
}

.cc-call-submit-all {
    padding: 10px 28px;
    border: none;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.cc-call-submit-all:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.cc-call-submit-all:active {
    transform: translateY(0);
}

/* Info card */
.crm-cc-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.crm-cc-info-card h4 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin: 0 0 8px 0;
}

/* Tasks card */
.crm-cc-tasks-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.crm-cc-task-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
}

.crm-cc-task-item:last-of-type {
    border-bottom: none;
}

.crm-cc-task-check {
    width: 22px;
    height: 22px;
    border: 2px solid #d4d4d8;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    font-size: 12px;
    color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.crm-cc-task-check:hover {
    color: #22c55e;
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.05);
}

/* Responsive */
@media (max-width: 900px) {
    .crm-cc-body {
        grid-template-columns: 1fr;
    }

    .crm-cc-right .crm-timeline {
        max-height: 400px;
    }

    .crm-cc-header {
        gap: 10px;
    }

    .crm-cc-header-nav {
        width: 100%;
        justify-content: space-between;
    }
}
