/* Dashboard styles complementarios */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.stat-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
}

.quick-actions .actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    border-radius: 8px;
    padding: 10px 12px;
    cursor: pointer;
}

/* Dashboard Grid Layout */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.dashboard-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Dashboard Cards */
.dashboard-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dashboard-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f3f4f6;
}

.dashboard-card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dashboard-card-header h3 i {
    color: #3b82f6;
}

.view-all-link {
    color: #3b82f6;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.view-all-link:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* Leads List */
.leads-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.lead-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s;
    cursor: pointer;
}

.lead-item:hover {
    background: #f3f4f6;
    border-color: #3b82f6;
    transform: translateX(4px);
}

.lead-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.lead-info {
    flex: 1;
    min-width: 0;
}

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

.lead-header strong {
    color: #1f2937;
    font-size: 0.95rem;
}

.lead-email {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0.25rem 0;
}

.lead-phone {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0.25rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lead-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.lead-tags .tag {
    background: #e0e7ff;
    color: #4338ca;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-new {
    background: #dbeafe;
    color: #1e40af;
}

.status-contacted {
    background: #fef3c7;
    color: #92400e;
}

.status-qualified {
    background: #d1fae5;
    color: #065f46;
}

.status-other {
    background: #f3f4f6;
    color: #374151;
}

.lead-actions {
    display: flex;
    align-items: center;
}

.btn-icon {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.2s;
}

.btn-icon:hover {
    background: #f3f4f6;
    color: #3b82f6;
}

/* Emails List */
.emails-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.email-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s;
    cursor: pointer;
}

.email-item:hover {
    background: #f3f4f6;
    border-color: #3b82f6;
}

.email-item.unread {
    background: #eff6ff;
    border-left: 3px solid #3b82f6;
    font-weight: 500;
}

.email-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    flex-shrink: 0;
}

.email-info {
    flex: 1;
    min-width: 0;
}

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

.email-header strong {
    color: #1f2937;
    font-size: 0.95rem;
}

.email-subject {
    color: #1f2937;
    font-weight: 500;
    margin: 0.25rem 0;
    font-size: 0.875rem;
}

.email-preview {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0.25rem 0;
    line-height: 1.4;
}

.email-date {
    color: #9ca3af;
    font-size: 0.75rem;
    margin-top: 0.5rem;
    display: block;
}

.unread-badge {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3b82f6;
    display: inline-block;
    margin-left: 0.5rem;
}

/* WhatsApp List */
.whatsapp-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.whatsapp-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s;
    cursor: pointer;
}

.whatsapp-item:hover {
    background: #f0fdf4;
    border-color: #25d366;
}

.whatsapp-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    font-size: 1.25rem;
}

.whatsapp-info {
    flex: 1;
    min-width: 0;
}

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

.whatsapp-header strong {
    color: #1f2937;
    font-size: 0.95rem;
}

.whatsapp-message {
    color: #1f2937;
    font-size: 0.875rem;
    margin: 0.25rem 0;
    line-height: 1.4;
}

.whatsapp-instance {
    color: #6b7280;
    font-size: 0.75rem;
    display: block;
    margin-top: 0.25rem;
}

.whatsapp-date {
    color: #9ca3af;
    font-size: 0.75rem;
    margin-top: 0.5rem;
    display: block;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    background: #ef4444;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.loading-placeholder {
    text-align: center;
    padding: 2rem;
    color: #9ca3af;
    font-style: italic;
}

.no-data {
    text-align: center;
    padding: 2rem;
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* Dark Mode */
body.dark-mode .dashboard-card,
html.dark-mode .dashboard-card {
    background: #1e293b;
    border-color: #334155;
}

body.dark-mode .dashboard-card-header,
html.dark-mode .dashboard-card-header {
    border-bottom-color: #334155;
}

body.dark-mode .dashboard-card-header h3,
html.dark-mode .dashboard-card-header h3 {
    color: #f1f5f9;
}

body.dark-mode .lead-item,
html.dark-mode .lead-item,
body.dark-mode .email-item,
html.dark-mode .email-item,
body.dark-mode .whatsapp-item,
html.dark-mode .whatsapp-item {
    background: #1e293b;
    border-color: #334155;
}

body.dark-mode .lead-item:hover,
html.dark-mode .lead-item:hover,
body.dark-mode .email-item:hover,
html.dark-mode .email-item:hover,
body.dark-mode .whatsapp-item:hover,
html.dark-mode .whatsapp-item:hover {
    background: #334155;
}

body.dark-mode .lead-header strong,
html.dark-mode .lead-header strong,
body.dark-mode .email-header strong,
html.dark-mode .email-header strong,
body.dark-mode .whatsapp-header strong,
html.dark-mode .whatsapp-header strong {
    color: #f1f5f9;
}

body.dark-mode .lead-email,
html.dark-mode .lead-email,
body.dark-mode .lead-phone,
html.dark-mode .lead-phone,
body.dark-mode .email-preview,
html.dark-mode .email-preview,
body.dark-mode .whatsapp-message,
html.dark-mode .whatsapp-message {
    color: #cbd5e1;
}

body.dark-mode .email-item.unread,
html.dark-mode .email-item.unread {
    background: #1e3a8a;
    border-left-color: #60a5fa;
}


/* Leads/Clientes Summary */
.leads-clients-summary {
    margin-bottom: 1rem;
}

.summary-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.summary-stat {
    text-align: center;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 8px;
}

.summary-stat .stat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 0.25rem;
}

.summary-stat .stat-label {
    display: block;
    font-size: 0.875rem;
    color: #6b7280;
}

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

/* Kanban Board */
.dashboard-kanban-card {
    min-height: 500px;
}

.kanban-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.kanban-column {
    background: #f9fafb;
    border-radius: 8px;
    padding: 1rem;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.kanban-column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e5e7eb;
}

.kanban-column-header h4 {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
    text-transform: uppercase;
}

.kanban-count {
    background: #e5e7eb;
    color: #6b7280;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.kanban-items {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.kanban-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.75rem;
    cursor: move;
    transition: all 0.2s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.kanban-item:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.kanban-item.dragging {
    opacity: 0.5;
}

.kanban-item-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 0.5rem;
}

.kanban-item-title {
    font-weight: 600;
    font-size: 0.875rem;
    color: #1f2937;
    margin: 0;
    flex: 1;
}

.kanban-item-actions {
    display: flex;
    gap: 0.25rem;
}

.kanban-item-action {
    background: none;
    border: none;
    padding: 0.25rem;
    cursor: pointer;
    color: #6b7280;
    font-size: 0.75rem;
    transition: color 0.2s;
}

.kanban-item-action:hover {
    color: #3b82f6;
}

.kanban-item-body {
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.kanban-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: #9ca3af;
}

.kanban-item-priority {
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
}

.kanban-item-priority.high {
    background: #fee2e2;
    color: #dc2626;
}

.kanban-item-priority.medium {
    background: #fef3c7;
    color: #d97706;
}

.kanban-item-priority.low {
    background: #d1fae5;
    color: #059669;
}

.kanban-item-assigned {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.kanban-item-assigned img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

/* Notifications List */
.notifications-list {
    max-height: 300px;
    overflow-y: auto;
}

.notification-item {
    padding: 0.75rem;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    gap: 0.75rem;
    transition: background 0.2s;
}

.notification-item:hover {
    background: #f9fafb;
}

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

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

.notification-icon.info {
    background: #dbeafe;
    color: #3b82f6;
}

.notification-icon.success {
    background: #d1fae5;
    color: #059669;
}

.notification-icon.warning {
    background: #fef3c7;
    color: #d97706;
}

.notification-icon.error {
    background: #fee2e2;
    color: #dc2626;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    font-size: 0.875rem;
    color: #1f2937;
    margin: 0 0 0.25rem 0;
}

.notification-message {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0;
}

.notification-time {
    font-size: 0.625rem;
    color: #9ca3af;
    margin-top: 0.25rem;
}

/* Activity List Improvements */
.activity-list {
    max-height: 400px;
    overflow-y: auto;
}

.activity-item {
    padding: 0.75rem;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    gap: 0.75rem;
}

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

.activity-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #f3f4f6;
    color: #3b82f6;
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-weight: 600;
    font-size: 0.875rem;
    color: #1f2937;
    margin: 0 0 0.25rem 0;
}

.activity-description {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0;
}

.activity-time {
    font-size: 0.625rem;
    color: #9ca3af;
    margin-top: 0.25rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .kanban-board {
        grid-template-columns: 1fr;
    }
    
    .summary-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .summary-stats {
        grid-template-columns: 1fr;
    }
    
    .kanban-column {
        min-height: 300px;
    }
}

.kanban-empty {
    text-align: center;
    padding: 2rem;
    color: #9ca3af;
    font-size: 0.875rem;
}

.kanban-item-due.overdue {
    color: #dc2626;
    font-weight: 600;
}

.kanban-item-due.today {
    color: #d97706;
    font-weight: 600;
}

.drag-over {
    background: #eff6ff !important;
    border: 2px dashed #3b82f6 !important;
}

/* Tasks Section Styles */
.task-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 8px;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 150px;
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.875rem;
}

.tasks-view {
    margin-top: 1.5rem;
}

.kanban-board-full {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    min-height: 600px;
}

.kanban-board-full .kanban-column {
    min-height: 600px;
}

.status-badge.status-todo {
    background: #e5e7eb;
    color: #374151;
}

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

.status-badge.status-done {
    background: #d1fae5;
    color: #065f46;
}

/* Task Detail Modal Styles */
.task-detail-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.task-detail-tabs .tab-btn {
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    color: #6b7280;
    font-weight: 500;
    transition: all 0.2s;
}

.task-detail-tabs .tab-btn:hover {
    color: #3b82f6;
}

.task-detail-tabs .tab-btn.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.task-detail-tab-content {
    display: none;
}

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

.task-detail-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-row {
    display: flex;
    align-items: start;
    gap: 1rem;
    padding: 0.75rem;
    border-bottom: 1px solid #f3f4f6;
}

.info-row label {
    font-weight: 600;
    color: #374151;
    min-width: 150px;
}

.info-row span,
.info-row div {
    flex: 1;
    color: #6b7280;
}

.task-description {
    white-space: pre-wrap;
    line-height: 1.6;
}

/* Comments Section */
.comments-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comments-list {
    max-height: 400px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comment-item {
    padding: 1rem;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

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

.comment-header strong {
    color: #1f2937;
}

.comment-time {
    font-size: 0.75rem;
    color: #9ca3af;
}

.comment-body {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 2px solid #e5e7eb;
}

.comment-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: inherit;
    resize: vertical;
}

/* Attachments Section */
.attachments-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.upload-area {
    padding: 1rem;
    background: #f9fafb;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    text-align: center;
}

.attachments-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.attachment-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.attachment-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border-radius: 8px;
    color: #6b7280;
    font-size: 1.5rem;
}

.attachment-info {
    flex: 1;
}

.attachment-name {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.attachment-meta {
    font-size: 0.75rem;
    color: #6b7280;
}

.attachment-actions {
    display: flex;
    gap: 0.5rem;
}

/* History Section */
.history-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 500px;
    overflow-y: auto;
}

.history-item {
    padding: 1rem;
    background: #f9fafb;
    border-left: 3px solid #3b82f6;
    border-radius: 6px;
}

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

.history-action {
    font-weight: 600;
    color: #1f2937;
}

.history-time {
    font-size: 0.75rem;
    color: #9ca3af;
}

.history-changes {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.history-change {
    font-size: 0.875rem;
    color: #6b7280;
    padding-left: 1rem;
}

.kanban-item-meta {
    font-size: 0.625rem;
    color: #9ca3af;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: 0.5rem;
}

/* Chatwoot Conversations Styles */
.chatwoot-conversations-tabs {
    display: flex;
    gap: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
}

.conversation-tab {
    flex: 1;
    padding: 0.75rem 1rem;
    background: #f9fafb;
    border: none;
    border-radius: 6px 6px 0 0;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
}

.conversation-tab:hover {
    background: #f3f4f6;
    color: #374151;
}

.conversation-tab.active {
    background: white;
    color: #1f2937;
    font-weight: 600;
    border-bottom: 2px solid #3b82f6;
    margin-bottom: -2px;
}

.conversation-count {
    background: #e5e7eb;
    color: #6b7280;
    padding: 0.125rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 1.5rem;
    text-align: center;
}

.conversation-tab.active .conversation-count {
    background: #3b82f6;
    color: white;
}

.chatwoot-conversations-list {
    max-height: 400px;
    overflow-y: auto;
}

.chatwoot-conversation-item {
    padding: 1rem;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    gap: 1rem;
    align-items: start;
}

.chatwoot-conversation-item:hover {
    background: #f9fafb;
}

.chatwoot-conversation-item.unread {
    background: #eff6ff;
    border-left: 3px solid #3b82f6;
}

.conversation-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1f93ff 0%, #0d6efd 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.conversation-content {
    flex: 1;
    min-width: 0;
}

.conversation-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.conversation-contact {
    flex: 1;
    color: #1f2937;
    font-weight: 600;
    font-size: 0.875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.conversation-unread-badge {
    background: #ef4444;
    color: white;
    padding: 0.125rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 1.25rem;
    text-align: center;
}

.conversation-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.conversation-preview {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0.25rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chatwoot-conversation-item.unread .conversation-preview {
    color: #374151;
    font-weight: 500;
}

.conversation-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 0.25rem;
}

.conversation-time {
    flex: 1;
}

.conversation-assignee {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.chatwoot-empty-state {
    text-align: center;
    padding: 2rem 1rem;
    color: #6b7280;
}

.chatwoot-empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #d1d5db;
    display: block;
}

.chatwoot-empty-state p {
    margin: 0.5rem 0;
    font-weight: 500;
    color: #374151;
}

.chatwoot-empty-state small {
    display: block;
    margin-top: 0.5rem;
    color: #9ca3af;
}
