/**
 * Ticket Timeline - Modern UI Styles
 * Design System v2.0 - Portal do Cliente RP Info
 * 
 * Componentes:
 * - .ds-ticket-header: Header do ticket com título e status
 * - .ds-ticket-meta: Metadados do ticket (empresa, sistema, etc)
 * - .ds-ticket-timeline: Timeline de mensagens estilo chat
 * - .ds-ticket-reply: Área de resposta fixa
 */

/* ==========================================================================
   CSS Variables
   ========================================================================== */

:root {
    /* Timeline */
    --timeline-msg-rp-bg: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
    --timeline-msg-rp-border: #93c5fd;
    --timeline-msg-client-bg: #f8fafc;
    --timeline-msg-client-border: #e2e8f0;
    --timeline-escalation-bg: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    --timeline-escalation-border: #fbbf24;
    
    /* Reply box */
    --reply-box-bg: #ffffff;
    --reply-box-border: #e2e8f0;
}

[data-theme="dark"],
.dark-mode,
body.dark {
    --timeline-msg-rp-bg: linear-gradient(135deg, #1e3a5f 0%, #1e40af33 100%);
    --timeline-msg-rp-border: #3b82f6;
    --timeline-msg-client-bg: var(--bg-tertiary, #1e293b);
    --timeline-msg-client-border: var(--border-color, #334155);
    --timeline-escalation-bg: linear-gradient(135deg, #78350f33 0%, #92400e33 100%);
    --timeline-escalation-border: #f59e0b;
    --reply-box-bg: var(--bg-card, #1e293b);
    --reply-box-border: var(--border-color, #334155);
}

/* ==========================================================================
   TICKET HEADER - Cabeçalho modernizado
   ========================================================================== */

.ds-ticket-header {
    background: var(--bg-card, #ffffff);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,0.1));
    border: 1px solid var(--border-color, #e2e8f0);
}

.ds-ticket-header-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.ds-ticket-title-section {
    flex: 1;
    min-width: 0;
}

.ds-ticket-id {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary, #64748b);
    margin-bottom: 8px;
}

.ds-ticket-id .badge {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
}

.ds-ticket-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.ds-ticket-title-row .label,
.ds-ticket-title-row .ds-status-badge {
    flex-shrink: 0;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.ds-status-badge {
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.ds-ticket-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary, #1e293b);
    margin: 0;
    line-height: 1.3;
}

.ds-ticket-title.editable-click {
    cursor: pointer;
    transition: color 0.2s ease;
}

.ds-ticket-title.editable-click:hover {
    color: var(--azul-primario, #1E40AF);
}

.ds-ticket-actions-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.ds-ticket-actions-bar .btn {
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.ds-ticket-actions-bar .btn i {
    font-size: 18px;
}

.ds-ticket-actions-bar .btn-info {
    background: var(--azul-primario, #1E40AF);
    border-color: var(--azul-primario, #1E40AF);
    margin-bottom: 0px;
}

.ds-ticket-actions-bar .btn-info:hover {
    background: var(--azul-claro, #3B82F6);
    border-color: var(--azul-claro, #3B82F6);
    transform: translateY(-1px);
}

/* ==========================================================================
   TICKET META - Informações do ticket em chips
   ========================================================================== */

.ds-ticket-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color, #e2e8f0);
    margin-top: 16px;
}

.ds-ticket-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--bg-tertiary, #f1f5f9);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-secondary, #64748b);
    transition: all 0.2s ease;
}

.ds-ticket-meta-item i {
    font-size: 16px;
    color: var(--azul-claro, #3B82F6);
}

.ds-ticket-meta-item strong {
    color: var(--text-primary, #1e293b);
    font-weight: 600;
}

[data-theme="dark"] .ds-ticket-meta-item,
body.dark .ds-ticket-meta-item {
    background: var(--bg-tertiary, #334155);
}

/* Meta expandida (collapse) */
.ds-ticket-meta-expanded {
    background: var(--bg-tertiary, #f8fafc);
    border-radius: 12px;
    padding: 20px;
    margin-top: 16px;
}

[data-theme="dark"] .ds-ticket-meta-expanded,
body.dark .ds-ticket-meta-expanded {
    background: var(--bg-tertiary, #1e293b);
}

.ds-ticket-meta-expanded .form-group {
    margin-bottom: 12px;
}

.ds-ticket-meta-expanded label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary, #64748b);
    font-weight: 600;
    margin-bottom: 4px;
}

.ds-ticket-meta-expanded .form-control[disabled] {
    background: var(--bg-card, #ffffff);
    border-color: var(--border-color, #e2e8f0);
    color: var(--text-primary, #1e293b);
    opacity: 1;
}

[data-theme="dark"] .ds-ticket-meta-expanded .form-control[disabled],
body.dark .ds-ticket-meta-expanded .form-control[disabled] {
    background: var(--bg-input, #1e293b);
    border-color: var(--border-color, #475569);
    color: var(--text-primary, #e2e8f0);
}

/* ==========================================================================
   TICKET ALERT - Aviso de avaliação pendente
   ========================================================================== */

.ds-ticket-alert {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #fbbf24;
    border-radius: 12px;
    margin: 16px 0;
}

.ds-ticket-alert i {
    font-size: 32px;
    color: #d97706;
}

.ds-ticket-alert-content {
    flex: 1;
}

.ds-ticket-alert-content p {
    margin: 0;
    color: #92400e;
    font-weight: 500;
}

.ds-ticket-alert-content a {
    color: #92400e;
    font-weight: 700;
    text-decoration: underline;
}

[data-theme="dark"] .ds-ticket-alert,
body.dark .ds-ticket-alert {
    background: linear-gradient(135deg, #78350f33 0%, #92400e33 100%);
    border-color: #f59e0b;
}

[data-theme="dark"] .ds-ticket-alert-content p,
[data-theme="dark"] .ds-ticket-alert-content a,
body.dark .ds-ticket-alert-content p,
body.dark .ds-ticket-alert-content a {
    color: #fbbf24;
}

/* ==========================================================================
   TIMELINE - Mensagens estilo chat moderno
   ========================================================================== */

.ds-ticket-timeline {
    background: var(--bg-card, #ffffff);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,0.1));
    border: 1px solid var(--border-color, #e2e8f0);
}

/* Dark Mode para ds-ticket-timeline */
[data-theme="dark"] .ds-ticket-timeline,
.dark-mode .ds-ticket-timeline,
html.dark .ds-ticket-timeline,
body.dark .ds-ticket-timeline {
    background: #1e293b !important;
    border-color: #334155 !important;
}

.ds-timeline-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ds-timeline-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mensagens do lado esquerdo (RP Info) */
.ds-timeline-item.ds-msg-rp {
    flex-direction: row;
}

.ds-timeline-item.ds-msg-rp .ds-timeline-bubble {
    background: var(--timeline-msg-rp-bg);
    border: 1px solid var(--timeline-msg-rp-border);
    border-radius: 4px 16px 16px 16px;
}

/* Mensagens do lado direito (Cliente) */
.ds-timeline-item.ds-msg-client {
    flex-direction: row-reverse;
}

.ds-timeline-item.ds-msg-client .ds-timeline-bubble {
    background: var(--timeline-msg-client-bg);
    border: 1px solid var(--timeline-msg-client-border);
    border-radius: 16px 4px 16px 16px;
    text-align: left;
}

.ds-timeline-item.ds-msg-client .ds-timeline-content {
    align-items: flex-end;
}

/* Avatar */
.ds-timeline-avatar {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-size: cover;
    background-position: center top;
    border: 2px solid var(--border-color, #e2e8f0);
    box-shadow: var(--shadow-sm);
}

/* Avatar com Iniciais */
.ds-avatar-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: unset;
    background-position: unset;
}

/* Avatar com Imagem + Fallback de Iniciais */
.ds-avatar-with-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.ds-avatar-with-fallback .ds-avatar-initials-text {
    position: absolute;
    z-index: 1;
}

.ds-avatar-with-fallback .ds-avatar-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center top;
    z-index: 2;
    border-radius: 50%;
}

.ds-avatar-initials-text {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    user-select: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

/* Ajuste de tamanho para avatares menores */
.ds-avatar-sm .ds-avatar-initials-text {
    font-size: 12px;
}

/* Ajuste de tamanho para avatares maiores */
.ds-avatar-lg .ds-avatar-initials-text {
    font-size: 20px;
}

.ds-timeline-item.ds-msg-rp .ds-timeline-avatar {
    border-color: var(--azul-claro, #3B82F6);
}

.ds-timeline-item.ds-msg-client .ds-timeline-avatar {
    border-color: var(--verde-sucesso, #16A34A);
}

/* Conteúdo */
.ds-timeline-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: calc(100% - 80px);
    min-width: 200px;
}

.ds-timeline-author {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary, #1e293b);
    margin: 0;
}

.ds-timeline-bubble {
    padding: 14px 18px;
    position: relative;
}

.ds-timeline-bubble p {
    margin: 0;
    color: var(--text-primary, #1e293b);
    line-height: 1.6;
    word-wrap: break-word;
}

/* Imagens inline nas mensagens - renderizadas como miniatura clicável.
   O clique abre a imagem em tamanho real via magnificPopup (.image-popup-no-margins). */
.ds-timeline-bubble img {
    max-width: 240px !important;
    max-height: 200px !important;
    width: auto !important;
    height: auto !important;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--border-color, #e2e8f0);
    cursor: zoom-in;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ds-timeline-bubble .image-popup-no-margins {
    display: block;
    width: fit-content;
    line-height: 0;
    margin-top: 8px;
}

.ds-timeline-bubble .image-popup-no-margins:hover img {
    transform: scale(1.02);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.ds-timeline-time {
    font-size: 12px;
    color: var(--text-muted, #94a3b8);
}

/* Anexos */
.ds-timeline-attachments {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--border-color, #e2e8f0);
}

.ds-timeline-attachments a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--bg-card, #ffffff);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-secondary, #64748b);
    text-decoration: none;
    margin-right: 8px;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.ds-timeline-attachments a:hover {
    background: var(--azul-claro, #3B82F6);
    color: #ffffff;
    border-color: var(--azul-claro, #3B82F6);
}

.ds-timeline-attachments a i {
    font-size: 16px;
}

/* Escalonamento */
.ds-timeline-item.ds-msg-escalation {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.ds-timeline-item.ds-msg-escalation .ds-timeline-time {
    margin-left: 0 !important;
}

.ds-timeline-escalation-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: var(--timeline-escalation-bg);
    border: 1px solid var(--timeline-escalation-border);
    border-radius: 12px;
    max-width: 400px;
}

.ds-timeline-escalation-card i {
    font-size: 24px;
    color: #d97706;
}

.ds-timeline-escalation-card .escalation-info {
    flex: 1;
}

.ds-timeline-escalation-card .escalation-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #92400e;
    font-weight: 600;
}

.ds-timeline-escalation-card .escalation-names {
    font-size: 14px;
    color: #78350f;
    font-weight: 500;
}

.ds-timeline-escalation-card .escalation-names .arrow {
    color: #d97706;
    margin: 0 8px;
}

[data-theme="dark"] .ds-timeline-escalation-card .escalation-label,
[data-theme="dark"] .ds-timeline-escalation-card .escalation-names,
body.dark .ds-timeline-escalation-card .escalation-label,
body.dark .ds-timeline-escalation-card .escalation-names {
    color: #fbbf24;
}

[data-theme="dark"] .ds-timeline-escalation-card i,
body.dark .ds-timeline-escalation-card i {
    color: #fbbf24;
}

/* Mudança de situação */
.ds-timeline-status-change {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-top: 12px;
}

.ds-timeline-status-change i {
    color: var(--azul-claro, #3B82F6);
}

/* Dark mode para ds-timeline-status-change */
[data-theme="dark"] .ds-timeline-status-change,
.dark-mode .ds-timeline-status-change,
body.dark .ds-timeline-status-change {
    background: transparent;
}

/* Card de mudança de status (dentro da mensagem) */
.ds-status-change-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border: 1px solid var(--border-color, #e2e8f0);
    background: var(--bg-tertiary, #f1f5f9);
    border-radius: 10px;
    font-size: 13px;
    margin-top: 8px;
}

.ds-status-change-label {
    font-weight: 600;
    color: var(--text-muted, #64748b);
    white-space: nowrap;
}

.ds-status-change-values {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: var(--text-primary, #1e293b);
}

.ds-status-change-values i {
    font-size: 16px;
    color: var(--azul-claro, #3B82F6);
}

/* Dark mode para status change card */
[data-theme="dark"] .ds-status-change-card,
.dark-mode .ds-status-change-card,
body.dark .ds-status-change-card {
    background: #5054586e;
    border-color: var(--border-color, #334155);
}

[data-theme="dark"] .ds-status-change-label,
.dark-mode .ds-status-change-label,
body.dark .ds-status-change-label {
    color: var(--text-muted, #94a3b8);
}

[data-theme="dark"] .ds-status-change-values,
.dark-mode .ds-status-change-values,
body.dark .ds-status-change-values {
    color: var(--text-primary, #f1f5f9);
}

[data-theme="dark"] .ds-status-change-values i,
.dark-mode .ds-status-change-values i,
body.dark .ds-status-change-values i {
    color: var(--azul-claro, #3B82F6);
}

/* Mensagem oculta */
.ds-timeline-hidden-msg {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bg-tertiary, #f1f5f9);
    border-radius: 8px;
    font-style: italic;
    color: var(--text-muted, #94a3b8);
}

.ds-timeline-hidden-msg i {
    color: #f59e0b;
}

/* ==========================================================================
   REPLY BOX - Área de resposta (Legacy - mantido para compatibilidade)
   ========================================================================== */

.ds-ticket-reply-section {
    background: var(--bg-card, #ffffff);
    border-radius: 16px;
    padding: 20px 24px;
    margin-top: 20px;
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,0.1));
    border: 1px solid var(--border-color, #e2e8f0);
}

/* ==========================================================================
   MODERN COMPOSER - Nova área de resposta estilo chat
   ========================================================================== */

.ds-ticket-composer {
    background: var(--bg-card, #ffffff);
    margin-top: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    overflow: visible;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px;
}


/* Quando só tem header (editor colapsado) */
.ds-ticket-composer:not(:has(.ds-composer-body.show)):not(:has(.ds-composer-body.in)) .ds-composer-header {
    border-radius: 20px;
    border-bottom: none;
}

.ds-ticket-composer:focus-within {
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.15);
    border-color: var(--azul-claro, #3B82F6);
}

/* Header do Composer */
.ds-composer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--bg-tertiary, #f8fafc) 0%, var(--bg-card, #ffffff) 100%);
    border-bottom: 1px solid var(--border-color, #e2e8f0);
    border-radius: 20px 20px 0 0;
}

/* Status e botões de ação na mesma linha */
.ds-composer-status {
    flex: 0 0 auto;
}

.ds-composer-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    flex: 0 0 auto;
}

[data-theme="dark"] .ds-composer-header,
body.dark .ds-composer-header {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.5) 0%, var(--bg-card, #1e293b) 100%);
}

/* Status Indicators */
.ds-status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.ds-status-indicator i {
    font-size: 16px;
}

.ds-status-active {
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.1) 0%, rgba(34, 197, 94, 0.1) 100%);
    color: #16A34A;
    border: 1px solid rgba(22, 163, 74, 0.2);
}

.ds-status-waiting {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(251, 191, 36, 0.1) 100%);
    color: #D97706;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.ds-status-closed {
    background: linear-gradient(135deg, rgba(100, 116, 139, 0.1) 0%, rgba(148, 163, 184, 0.1) 100%);
    color: #64748b;
    border: 1px solid rgba(100, 116, 139, 0.2);
}

.ds-status-error {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(239, 68, 68, 0.1) 100%);
    color: #DC2626;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

/* Quick Actions */
.ds-composer-quick-actions,
.ds-composer-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ds-composer-actions .ds-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    width: auto;
    height: auto;
}

.ds-composer-actions .ds-action-btn i {
    font-size: 18px;
}

/* Botão Responder - Azul primário */
.ds-composer-actions .ds-action-reply {
    background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.25);
}

.ds-composer-actions .ds-action-reply:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.35);
    color: #ffffff;
}

.ds-composer-actions .ds-action-reply[aria-expanded="true"] {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
}

.ds-composer-actions .ds-action-reply[aria-expanded="true"] i::before {
    content: "\F0374"; /* mdi-chevron-up */
}

.ds-composer-actions .ds-action-finalize {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

.ds-composer-actions .ds-action-finalize:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.35);
    color: #ffffff;
}

.ds-composer-actions .ds-action-finalize:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.3);
}

.ds-composer-actions .ds-action-reopen {
    background: linear-gradient(135deg, #16A34A 0%, #22c55e 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
}

.ds-composer-actions .ds-action-reopen:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.35);
    color: #ffffff;
}

/* Botão Anexar - Cinza/Neutro */
.ds-composer-actions .ds-action-attach {
    background: var(--bg-tertiary, #f1f5f9);
    color: var(--text-secondary, #64748b);
    border: 1px solid var(--border-color, #e2e8f0);
    box-shadow: none;
}

.ds-composer-actions .ds-action-attach:hover {
    background: var(--bg-hover, #e2e8f0);
    color: var(--azul-claro, #3B82F6);
    border-color: var(--azul-claro, #3B82F6);
    transform: translateY(-1px);
}

.ds-composer-actions .ds-action-attach.active,
.ds-composer-actions .ds-action-attach[aria-expanded="true"] {
    background: rgba(59, 130, 246, 0.1);
    color: var(--azul-claro, #3B82F6);
    border-color: var(--azul-claro, #3B82F6);
}

.ds-composer-actions .ds-action-attach .ds-attach-count {
    background: var(--azul-claro, #3B82F6);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 4px;
}

[data-theme="dark"] .ds-composer-actions .ds-action-attach,
body.dark .ds-composer-actions .ds-action-attach {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-color, #475569);
}

/* Botão Enviar - Verde/Primário */
.ds-composer-actions .ds-action-send {
    background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.25);
    text-decoration: none;
}

.ds-composer-actions .ds-action-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.35);
    color: #ffffff !important;
    text-decoration: none;
}

.ds-composer-actions .ds-action-send i {
    transition: transform 0.2s ease;
}

.ds-composer-actions .ds-action-send:hover i {
    transform: translateX(3px);
}

/* Visibilidade dos botões baseada no estado do composer */
.ds-composer-actions .ds-show-on-expand {
    display: none !important;
}

.ds-composer-actions .ds-hide-on-expand {
    display: inline-flex;
}

/* Quando o composer está expandido */
.ds-ticket-composer.composer-expanded .ds-composer-actions .ds-show-on-expand {
    display: inline-flex !important;
}

.ds-ticket-composer.composer-expanded .ds-composer-actions .ds-hide-on-expand {
    display: none;
}

/* Composer Body */
.ds-composer-body {
    padding: 0;
}

.ds-composer-form {
    display: flex;
    flex-direction: column;
}

/* Editor Wrapper */
.ds-composer-editor {
    padding: 0;
}

.ds-editor-wrapper {
    position: relative;
}

.ds-editor-wrapper textarea {
    width: 100%;
    border: none;
    border-radius: 0;
    padding: 20px;
    min-height: 180px;
    font-size: 15px;
    line-height: 1.6;
    resize: none;
    background: transparent;
    color: var(--text-primary, #1e293b);
    transition: all 0.2s ease;
}

.ds-editor-wrapper textarea::placeholder {
    color: var(--text-muted, #94a3b8);
}

/* TinyMCE Integration */
.ds-editor-wrapper .tox.tox-tinymce {
    border: none !important;
    border-radius: 0 !important;
}

.ds-editor-wrapper .tox .tox-editor-header {
    background: var(--bg-tertiary, #f8fafc) !important;
    border-bottom: 1px solid var(--border-color, #e2e8f0) !important;
    padding: 8px 12px !important;
    box-shadow: none !important;
}

.ds-editor-wrapper .tox .tox-toolbar__primary {
    background: transparent !important;
}

.ds-editor-wrapper .tox .tox-toolbar__group {
    border: none !important;
    padding: 0 4px !important;
}

.ds-editor-wrapper .tox .tox-tbtn {
    border-radius: 6px !important;
    margin: 0 2px !important;
}

.ds-editor-wrapper .tox .tox-tbtn:hover {
    background: var(--bg-hover, #e2e8f0) !important;
}

.ds-editor-wrapper .tox .tox-tbtn--enabled,
.ds-editor-wrapper .tox .tox-tbtn--enabled:hover {
    background: rgba(59, 130, 246, 0.1) !important;
    color: var(--azul-claro, #3B82F6) !important;
}

.ds-editor-wrapper .tox .tox-edit-area__iframe {
    background: var(--bg-card, #ffffff) !important;
}

.ds-editor-wrapper .tox .tox-statusbar {
    display: none !important;
}

/* Dark mode TinyMCE */
[data-theme="dark"] .ds-editor-wrapper .tox .tox-editor-header,
body.dark .ds-editor-wrapper .tox .tox-editor-header {
    background: rgba(15, 23, 42, 0.5) !important;
    border-color: var(--border-color, #334155) !important;
}

[data-theme="dark"] .ds-editor-wrapper .tox .tox-tbtn,
body.dark .ds-editor-wrapper .tox .tox-tbtn {
    color: var(--text-secondary, #94a3b8) !important;
}

[data-theme="dark"] .ds-editor-wrapper .tox .tox-tbtn:hover,
body.dark .ds-editor-wrapper .tox .tox-tbtn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: var(--text-primary, #f1f5f9) !important;
}

[data-theme="dark"] .ds-editor-wrapper .tox .tox-tbtn svg,
body.dark .ds-editor-wrapper .tox .tox-tbtn svg {
    fill: var(--text-secondary, #94a3b8) !important;
}

[data-theme="dark"] .ds-editor-wrapper .tox .tox-tbtn:hover svg,
body.dark .ds-editor-wrapper .tox .tox-tbtn:hover svg {
    fill: var(--text-primary, #f1f5f9) !important;
}

[data-theme="dark"] .ds-editor-wrapper .tox .tox-edit-area__iframe,
body.dark .ds-editor-wrapper .tox .tox-edit-area__iframe {
    background: var(--bg-card, #1e293b) !important;
}

.ds-editor-wrapper textarea:focus {
    outline: none;
    box-shadow: none;
}

/* Toolbar inferior */
.ds-composer-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: var(--bg-tertiary, #f8fafc);
    border-top: 1px solid var(--border-color, #e2e8f0);
}

[data-theme="dark"] .ds-composer-toolbar,
body.dark .ds-composer-toolbar {
    background: rgba(15, 23, 42, 0.5);
}

.ds-toolbar-left,
.ds-toolbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ds-toolbar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted, #64748b);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.ds-toolbar-btn:hover {
    background: var(--bg-hover, #e2e8f0);
    color: var(--azul-claro, #3B82F6);
}

.ds-toolbar-btn.active,
.ds-toolbar-btn[aria-expanded="true"] {
    background: rgba(59, 130, 246, 0.1);
    color: var(--azul-claro, #3B82F6);
    border-color: var(--azul-claro, #3B82F6);
}

.ds-toolbar-btn i {
    font-size: 20px;
}

.ds-attach-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--azul-claro, #3B82F6);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Character counter */
.ds-char-counter {
    font-size: 12px;
    color: var(--text-muted, #94a3b8);
    padding-right: 12px;
    border-right: 1px solid var(--border-color, #e2e8f0);
    margin-right: 4px;
}

/* Send button */
.ds-send-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.25);
    text-decoration: none;
}

.ds-send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.35);
    color: #ffffff !important;
    text-decoration: none;
}

.ds-send-btn:active {
    transform: translateY(0);
}

.ds-send-btn i {
    font-size: 18px;
    transition: transform 0.2s ease;
}

.ds-send-btn:hover i {
    transform: translateX(3px);
}

/* Attachment Zone */
.ds-attachment-zone {
    border-top: 1px solid var(--border-color, #e2e8f0);
    padding: 16px 20px;
    background: var(--bg-tertiary, #f8fafc);
}

[data-theme="dark"] .ds-attachment-zone,
body.dark .ds-attachment-zone {
    background: rgba(15, 23, 42, 0.3);
}

.ds-attachment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.ds-attachment-header span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--text-primary, #1e293b);
}

.ds-attachment-header span i {
    font-size: 18px;
    color: var(--azul-claro, #3B82F6);
}

.ds-attachment-header small {
    font-size: 12px;
}

/* Dropzone dentro do composer */
.ds-attachment-zone .dropzone {
    min-height: 100px;
    border: 2px dashed var(--border-color, #cbd5e1);
    border-radius: 12px;
    background: var(--bg-card, #ffffff);
    transition: all 0.2s ease;
}

.ds-attachment-zone .dropzone:hover,
.ds-attachment-zone .dropzone.dz-drag-hover {
    border-color: var(--azul-claro, #3B82F6);
    background: rgba(59, 130, 246, 0.05);
}

[data-theme="dark"] .ds-attachment-zone .dropzone,
body.dark .ds-attachment-zone .dropzone {
    background: var(--bg-card, #1e293b);
    border-color: var(--border-color, #475569);
}

/* Responsivo */
@media (max-width: 768px) {
    .ds-composer-header {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .ds-status-indicator {
        justify-content: center;
    }
    
    .ds-composer-quick-actions {
        justify-content: center;
    }
    
    .ds-composer-toolbar {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .ds-toolbar-right {
        width: 100%;
        justify-content: space-between;
    }
    
    .ds-send-btn {
        flex: 1;
        justify-content: center;
    }
    
    .ds-char-counter {
        border-right: none;
        padding-right: 0;
        margin-right: 0;
    }
}

/* Legacy support - manter estilos antigos */
.ds-ticket-reply-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.ds-ticket-reply-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--azul-claro, #3B82F6);
    color: #ffffff;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.ds-ticket-reply-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ds-ticket-reply-actions .btn {
    border-radius: 10px;
    padding: 10px 18px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.ds-ticket-reply-actions .btn:hover {
    transform: translateY(-1px);
}

.ds-ticket-reply-actions .btn-danger {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    border: none;
}

.ds-ticket-reply-actions .btn-info {
    background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
    border: none;
}

.ds-ticket-reply-actions .btn-success {
    background: linear-gradient(135deg, #16A34A 0%, #22c55e 100%);
    border: none;
}

/* Collapse do formulário */
.ds-ticket-reply-form {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color, #e2e8f0);
}

.ds-ticket-reply-form textarea {
    border-radius: 12px;
    border: 1px solid var(--border-color, #e2e8f0);
    background: var(--bg-input, #ffffff);
    color: var(--text-primary, #1e293b);
    padding: 14px;
    min-height: 120px;
    resize: vertical;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ds-ticket-reply-form textarea:focus {
    border-color: var(--azul-claro, #3B82F6);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    outline: none;
}

[data-theme="dark"] .ds-ticket-reply-form textarea,
body.dark .ds-ticket-reply-form textarea {
    background: var(--bg-input, #0f172a);
    border-color: var(--border-color, #475569);
    color: var(--text-primary, #e2e8f0);
}

/* Área de anexos */
.ds-ticket-reply-attachments {
    margin-top: 16px;
    padding: 16px;
    background: var(--bg-tertiary, #f8fafc);
    border-radius: 12px;
    border: 2px dashed var(--border-color, #e2e8f0);
}

[data-theme="dark"] .ds-ticket-reply-attachments,
body.dark .ds-ticket-reply-attachments {
    background: var(--bg-tertiary, #1e293b);
}

.ds-ticket-reply-attachments label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--text-primary, #1e293b);
    margin-bottom: 12px;
}

.ds-ticket-reply-attachments label i {
    font-size: 18px;
    color: var(--azul-claro, #3B82F6);
}

/* Submit button */
.ds-ticket-reply-submit {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
}

.ds-ticket-reply-submit .btn {
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
    border: none;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.ds-ticket-reply-submit .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.35);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
    .ds-ticket-header {
        padding: 16px;
    }
    
    .ds-ticket-header-top {
        flex-direction: column;
    }
    
    .ds-ticket-actions-bar {
        width: 100%;
        justify-content: flex-start;
    }
    
    .ds-ticket-title {
        font-size: 18px;
    }
    
    /* Status badge truncado em mobile */
    .ds-ticket-title-row .label,
    .ds-ticket-title-row .ds-status-badge {
        max-width: 140px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .ds-ticket-meta {
        gap: 8px;
    }
    
    .ds-ticket-meta-item {
        font-size: 12px;
        padding: 4px 10px;
    }
    
    .ds-timeline-item {
        gap: 10px;
    }
    
    .ds-timeline-avatar {
        width: 40px;
        height: 40px;
    }
    
    .ds-timeline-content {
        max-width: calc(100% - 60px);
    }
    
    .ds-timeline-bubble {
        padding: 12px 14px;
    }
    
    .ds-ticket-reply-actions {
        width: 100%;
    }
    
    .ds-ticket-reply-actions .btn {
        flex: 1;
        justify-content: center;
    }
}

/* ==========================================================================
   SKELETON LOADING
   ========================================================================== */

.ds-ticket-skeleton {
    animation: fadeIn 0.3s ease;
}

.ds-ticket-skeleton .skeleton-line {
    background: linear-gradient(90deg, var(--border-light, #f1f5f9) 25%, var(--bg-hover, #e2e8f0) 50%, var(--border-light, #f1f5f9) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: 6px;
}

.ds-ticket-skeleton .skeleton-circle {
    background: linear-gradient(90deg, var(--border-light, #f1f5f9) 25%, var(--bg-hover, #e2e8f0) 50%, var(--border-light, #f1f5f9) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: 50%;
}

@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Dark mode skeleton */
[data-theme="dark"] .skeleton-line,
.dark-mode .skeleton-line,
body.dark .skeleton-line,
[data-theme="dark"] .skeleton-circle,
.dark-mode .skeleton-circle,
body.dark .skeleton-circle {
    background: linear-gradient(90deg, var(--bg-tertiary, #1e293b) 25%, var(--border-color, #334155) 50%, var(--bg-tertiary, #1e293b) 75%);
    background-size: 200% 100%;
}

/* Header Skeleton */
.ds-ticket-header-skeleton {
    background: var(--bg-card, #ffffff);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,0.1));
    border: 1px solid var(--border-color, #e2e8f0);
}

.ds-ticket-header-skeleton .skeleton-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.ds-ticket-header-skeleton .skeleton-title {
    height: 28px;
    width: 60%;
}

.ds-ticket-header-skeleton .skeleton-badge {
    height: 28px;
    width: 100px;
    border-radius: 20px;
}

.ds-ticket-header-skeleton .skeleton-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ds-ticket-header-skeleton .skeleton-chip {
    height: 32px;
    width: 120px;
    border-radius: 20px;
}

/* Timeline Skeleton */
.ds-timeline-skeleton {
    background: var(--bg-card, #ffffff);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,0.1));
    border: 1px solid var(--border-color, #e2e8f0);
}

.ds-timeline-item-skeleton {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
}

.ds-timeline-item-skeleton:last-child {
    border-bottom: none;
}

.ds-timeline-item-skeleton.right {
    flex-direction: row-reverse;
}

.ds-timeline-item-skeleton .skeleton-avatar {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.ds-timeline-item-skeleton .skeleton-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ds-timeline-item-skeleton.right .skeleton-content {
    align-items: flex-end;
}

.ds-timeline-item-skeleton .skeleton-author {
    height: 16px;
    width: 140px;
}

.ds-timeline-item-skeleton .skeleton-bubble {
    background: var(--bg-tertiary, #f1f5f9);
    border-radius: 12px;
    padding: 16px;
    max-width: 70%;
}

.ds-timeline-item-skeleton .skeleton-text {
    height: 14px;
    margin-bottom: 8px;
}

.ds-timeline-item-skeleton .skeleton-text:last-child {
    margin-bottom: 0;
}

.ds-timeline-item-skeleton .skeleton-text.w100 { width: 100%; }
.ds-timeline-item-skeleton .skeleton-text.w80 { width: 80%; }
.ds-timeline-item-skeleton .skeleton-text.w60 { width: 60%; }

.ds-timeline-item-skeleton .skeleton-time {
    height: 12px;
    width: 100px;
    margin-top: 4px;
}

/* Dark mode para skeleton containers */
[data-theme="dark"] .ds-ticket-header-skeleton,
.dark-mode .ds-ticket-header-skeleton,
body.dark .ds-ticket-header-skeleton,
[data-theme="dark"] .ds-timeline-skeleton,
.dark-mode .ds-timeline-skeleton,
body.dark .ds-timeline-skeleton {
    background: var(--bg-card, #1e293b);
    border-color: var(--border-color, #334155);
}

[data-theme="dark"] .ds-timeline-item-skeleton .skeleton-bubble,
.dark-mode .ds-timeline-item-skeleton .skeleton-bubble,
body.dark .ds-timeline-item-skeleton .skeleton-bubble {
    background: var(--bg-tertiary, #0f172a);
}

[data-theme="dark"] .ds-timeline-item-skeleton,
.dark-mode .ds-timeline-item-skeleton,
body.dark .ds-timeline-item-skeleton {
    border-bottom-color: var(--border-color, #334155);
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

.ds-ticket-header,
.ds-ticket-timeline,
.ds-ticket-reply-section {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Pulse animation for pending evaluation */
.ds-ticket-alert {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(251, 191, 36, 0);
    }
}

/* ==========================================================================
   LIST GROUP - Protocolos vinculados
   ========================================================================== */

.ds-timeline-bubble .list-group {
    border-radius: 10px;
    overflow: hidden;
    border: none;
    background: var(--bg-tertiary, #f8fafc);
}

.ds-timeline-bubble .list-group-item {
    background: var(--bg-tertiary, #f8fafc);
    border: none;
    border-left: 3px solid var(--azul-claro, #3B82F6);
    padding: 12px 16px;
    margin-bottom: 0;
    transition: all 0.2s ease;
}

.ds-timeline-bubble .list-group-item:first-child {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.ds-timeline-bubble .list-group-item:last-child {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.ds-timeline-bubble .list-group-item:hover {
    background: var(--bg-secondary, #f1f5f9);
}

/* Tipo do protocolo (Relato de falha, etc) */
.ds-timeline-bubble .list-group-item small.text-success {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--success, #16A34A) !important;
    margin-bottom: 4px;
}

/* ID e título do protocolo */
.ds-timeline-bubble .list-group-item .fs-13 {
    font-size: 13px;
    color: var(--text-primary, #1e293b);
    line-height: 1.4;
}

/* Badge de status */
.ds-timeline-bubble .list-group-item .badge {
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 12px;
    margin-top: 6px;
}

/* Ícone de informação */
.ds-timeline-bubble .list-group-item .mdi-information {
    font-size: 14px;
    color: var(--text-secondary, #64748b);
    margin-left: 4px;
    cursor: help;
}

/* Previsão */
.ds-timeline-bubble .list-group-item .text-info {
    font-size: 11px !important;
    margin-top: 6px;
    color: var(--azul-claro, #3B82F6) !important;
}

/* Alerta de vínculo removido */
.ds-timeline-bubble .list-group li.alert-danger {
    background: rgba(220, 38, 38, 0.1);
    border-left-color: var(--error, #DC2626);
    border-radius: 10px;
    color: var(--error, #DC2626);
}

/* Dark mode */
[data-theme="dark"] .ds-timeline-bubble .list-group,
.dark-mode .ds-timeline-bubble .list-group,
body.dark .ds-timeline-bubble .list-group {
    background: var(--bg-tertiary, #1e293b);
}

[data-theme="dark"] .ds-timeline-bubble .list-group-item,
.dark-mode .ds-timeline-bubble .list-group-item,
body.dark .ds-timeline-bubble .list-group-item {
    background: var(--bg-tertiary, #1e293b);
    border-color: var(--border-color, #334155);
}

[data-theme="dark"] .ds-timeline-bubble .list-group-item:hover,
.dark-mode .ds-timeline-bubble .list-group-item:hover,
body.dark .ds-timeline-bubble .list-group-item:hover {
    background: var(--bg-secondary, #334155);
}

[data-theme="dark"] .ds-timeline-bubble .list-group-item .fs-13,
.dark-mode .ds-timeline-bubble .list-group-item .fs-13,
body.dark .ds-timeline-bubble .list-group-item .fs-13 {
    color: var(--text-primary, #f1f5f9);
}
