/* 
 * Stylesheet for Meetings Plugin (Microsoft Teams Frontend)
 * Modern design with responsive grid & micro-animations
 */

:root {
   --teams-purple: #5c62d6;
   --teams-purple-hover: #4e53b8;
   --teams-purple-light: #f5f3ff;
   --teams-purple-border: #ddd6fe;
   --teams-light-bg: #f8fafc;
   --glass-bg: rgba(255, 255, 255, 0.95);
   --glass-border: #e2e8f0;
   --text-dark: #1e293b;
   --text-muted: #64748b;
   --success-color: #10b981;
   --warning-color: #f59e0b;
   --danger-color: #ef4444;
   --border-radius-lg: 16px;
   --border-radius-md: 12px;
   --border-radius-sm: 8px;
   --transition-smooth: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
   --shadow-premium: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

/* Base Container Layout */
.plugin-meetings-container {
   display: grid;
   grid-template-columns: 380px 1fr;
   height: calc(100vh - 130px);
   min-height: 650px;
   margin: 20px;
   gap: 20px;
   font-family: inherit;
   box-sizing: border-box;
}

.plugin-meetings-container * {
   box-sizing: border-box;
}

/* Scrollbars */
.meetings-list::-webkit-scrollbar,
.transcript-timeline::-webkit-scrollbar,
.tab-content::-webkit-scrollbar,
.notes-textarea::-webkit-scrollbar,
.notes-preview-container::-webkit-scrollbar {
   width: 6px;
}
.meetings-list::-webkit-scrollbar-thumb,
.transcript-timeline::-webkit-scrollbar-thumb,
.tab-content::-webkit-scrollbar-thumb,
.notes-textarea::-webkit-scrollbar-thumb,
.notes-preview-container::-webkit-scrollbar-thumb {
   background-color: rgba(148, 163, 184, 0.4);
   border-radius: 10px;
}

/* Left Sidebar - Meetings List */
.meetings-sidebar {
   background: #ffffff;
   border: 1px solid var(--glass-border);
   border-radius: var(--border-radius-lg);
   display: flex;
   flex-direction: column;
   overflow: hidden;
   box-shadow: var(--shadow-premium);
}

.sidebar-header {
   padding: 20px;
   border-bottom: 1px solid var(--glass-border);
   background: #f8fafc;
}

.sidebar-header h3 {
   margin: 0;
   font-size: 1.15rem;
   font-weight: 700;
   color: var(--text-dark);
   display: flex;
   align-items: center;
   gap: 10px;
}

.sidebar-header h3 i {
   color: var(--teams-purple);
   font-size: 1.25rem;
}

/* Search Input Styling (Left & Right) */
.search-box, .transcript-search-bar {
   position: relative !important;
   margin-bottom: 15px;
}

.search-box i, .transcript-search-bar i {
   position: absolute !important;
   left: 14px !important;
   top: 50% !important;
   transform: translateY(-50%) !important;
   color: #64748b !important;
   font-size: 1.1rem !important;
   line-height: 1 !important;
   pointer-events: none !important;
   z-index: 5 !important;
}

.search-box input, .transcript-search-bar input {
   width: 100% !important;
   padding: 10px 16px 10px 42px !important;
   height: 42px !important;
   border: 1px solid #cbd5e1 !important;
   border-radius: var(--border-radius-sm) !important;
   font-size: 0.9rem !important;
   outline: none !important;
   background: #ffffff !important;
   color: var(--text-dark) !important;
   transition: var(--transition-smooth);
   box-sizing: border-box !important;
}

.search-box input:focus, .transcript-search-bar input:focus {
   border-color: var(--teams-purple) !important;
   box-shadow: 0 0 0 3px rgba(92, 98, 214, 0.15) !important;
}

/* Segmented Control de Tipo: Todas | Reuniões | Chamadas */
.filter-type-tabs {
   display: flex;
   background: #f1f5f9;
   border: 1px solid #e2e8f0;
   border-radius: 10px;
   padding: 3px;
   gap: 3px;
   margin-bottom: 12px;
   box-sizing: border-box;
   width: 100%;
}

.type-tab-btn {
   flex: 1 1 0;
   min-width: 0;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 4px;
   padding: 6px 4px;
   background: transparent;
   border: none;
   border-radius: 7px;
   font-size: 0.78rem;
   font-weight: 600;
   color: #64748b;
   cursor: pointer;
   transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
   user-select: none;
   white-space: nowrap;
   box-sizing: border-box;
}

.type-tab-btn i {
   font-size: 0.88rem;
   flex-shrink: 0;
}

.type-tab-btn:hover {
   color: var(--teams-purple);
   background: rgba(255, 255, 255, 0.7);
}

.type-tab-btn.active {
   flex: 1.35 1 0;
   background: #ffffff;
   color: var(--teams-purple);
   box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
   font-weight: 700;
   padding: 6px 8px;
}

.type-tab-btn:not(.active) .tab-count-badge {
   display: none;
}

.type-tab-btn.active .tab-count-badge {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   font-size: 0.68rem;
   font-weight: 700;
   padding: 0 5px;
   min-width: 18px;
   height: 16px;
   border-radius: 8px;
   background: #ede9fe;
   color: var(--teams-purple);
   line-height: 1;
   margin-left: 2px;
   flex-shrink: 0;
   animation: fadeInBadge 0.2s ease;
}

/* Chips / Pills de Status e Tempo */
.filter-status-chips {
   display: flex;
   flex-wrap: wrap;
   gap: 6px;
   margin-top: 10px;
}

.status-chip {
   display: inline-flex;
   align-items: center;
   gap: 5px;
   font-size: 0.78rem;
   font-weight: 500;
   padding: 5px 11px;
   border-radius: 18px;
   background: #ffffff;
   border: 1px solid #e2e8f0;
   color: #475569;
   cursor: pointer;
   transition: all 0.15s ease;
   user-select: none;
   line-height: 1.25;
}

.status-chip i {
   font-size: 0.88rem;
   flex-shrink: 0;
}

.status-chip:hover {
   background: #f8fafc;
   color: #1e293b;
   border-color: #cbd5e1;
}

.status-chip.active {
   background: var(--teams-purple);
   border-color: var(--teams-purple);
   color: #ffffff;
   font-weight: 600;
   box-shadow: 0 2px 6px rgba(92, 98, 214, 0.25);
}

.status-chip:not(.active) .chip-count {
   display: none;
}

.status-chip.active .chip-count {
   display: inline-block;
   font-size: 0.7rem;
   padding: 1px 6px;
   border-radius: 10px;
   background: rgba(255, 255, 255, 0.28);
   color: #ffffff;
   font-weight: 700;
   margin-left: 3px;
   line-height: 1.2;
   animation: fadeInBadge 0.2s ease;
}

@keyframes fadeInBadge {
   from {
      opacity: 0;
      transform: scale(0.85);
   }
   to {
      opacity: 1;
      transform: scale(1);
   }
}

/* Animações e componentes do Modal de Sincronização */
.sync-pulse-circle {
   width: 68px;
   height: 68px;
   border-radius: 50%;
   background: #ede9fe;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   margin: 0 auto;
   animation: syncPulse 2s infinite ease-in-out;
}

@keyframes syncPulse {
   0% {
      transform: scale(0.95);
      box-shadow: 0 0 0 0 rgba(92, 98, 214, 0.4);
   }
   70% {
      transform: scale(1.05);
      box-shadow: 0 0 0 16px rgba(92, 98, 214, 0);
   }
   100% {
      transform: scale(0.95);
      box-shadow: 0 0 0 0 rgba(92, 98, 214, 0);
   }
}

.sync-progress-bar-indeterminate {
   width: 100%;
   height: 100%;
   background: var(--teams-purple);
   border-radius: 4px;
   position: relative;
   animation: syncIndeterminate 1.6s infinite ease-in-out;
}

@keyframes syncIndeterminate {
   0% {
      transform: translateX(-100%) scaleX(0.2);
   }
   50% {
      transform: translateX(0%) scaleX(0.6);
   }
   100% {
      transform: translateX(100%) scaleX(0.2);
   }
}

.sync-success-circle {
   width: 68px;
   height: 68px;
   border-radius: 50%;
   background: #d1fae5;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   margin: 0 auto;
   animation: bounceSuccess 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes bounceSuccess {
   0% {
      transform: scale(0.4);
      opacity: 0;
   }
   100% {
      transform: scale(1);
      opacity: 1;
   }
}

/* Spinner Circular Moderno (Reta Circular Giratória) para o Player de Áudio */
.player-spinner {
   width: 16px;
   height: 16px;
   border: 2.5px solid rgba(255, 255, 255, 0.25);
   border-top: 2.5px solid #ffffff;
   border-radius: 50%;
   animation: spinCircle 0.75s linear infinite;
   display: inline-block;
   vertical-align: middle;
   box-sizing: border-box;
}

@keyframes spinCircle {
   0% {
      transform: rotate(0deg);
   }
   100% {
      transform: rotate(360deg);
   }
}

/* Meetings List */
.meetings-list {
   flex-grow: 1;
   overflow-y: auto;
   padding: 12px;
   display: flex;
   flex-direction: column;
   gap: 10px;
   background: #f8fafc;
}

.meeting-item {
   background: #ffffff;
   border: 1px solid var(--glass-border);
   border-radius: var(--border-radius-md);
   padding: 16px;
   cursor: pointer;
   transition: var(--transition-smooth);
   position: relative;
   display: flex;
   flex-direction: column;
   gap: 8px;
}

.meeting-item:hover {
   border-color: #cbd5e1;
   transform: translateY(-2px);
   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.meeting-item.active {
   border-color: var(--teams-purple);
   background: #ffffff;
   box-shadow: 0 0 0 2px rgba(92, 98, 214, 0.2);
}

.meeting-item.active::before {
   content: '';
   position: absolute;
   left: 0;
   top: 12px;
   bottom: 12px;
   width: 4px;
   background: var(--teams-purple);
   border-radius: 0 4px 4px 0;
}

.meeting-item h4 {
   margin: 0;
   font-size: 0.95rem;
   font-weight: 700;
   color: var(--text-dark);
   white-space: nowrap;
   overflow: hidden;
   text-overflow: ellipsis;
}

.meeting-item-meta {
   display: flex;
   align-items: center;
   gap: 12px;
   font-size: 0.8rem;
   color: var(--text-muted);
}

.meeting-item-meta span {
   display: flex;
   align-items: center;
   gap: 4px;
}

.meeting-item-badges {
   display: flex;
   align-items: center;
   justify-content: space-between;
   margin-top: 4px;
}

.host-tag {
   font-size: 0.75rem;
   color: var(--teams-purple);
   font-weight: 600;
   display: flex;
   align-items: center;
   gap: 4px;
   max-width: 170px;
   white-space: nowrap;
   overflow: hidden;
   text-overflow: ellipsis;
}

.status-badge-transcribed {
   background: #dcfce7;
   color: #15803d;
   border: 1px solid #bbf7d0;
   font-size: 0.7rem;
   font-weight: 700;
   padding: 2px 8px;
   border-radius: 12px;
   text-transform: uppercase;
   letter-spacing: 0.5px;
}

.status-badge-manual {
   background: #fef3c7;
   color: #b45309;
   border: 1px solid #fde68a;
   font-size: 0.7rem;
   font-weight: 700;
   padding: 2px 8px;
   border-radius: 12px;
   text-transform: uppercase;
   letter-spacing: 0.5px;
   display: inline-flex;
   align-items: center;
   gap: 4px;
}

.status-badge-scheduled {
   background: #eff6ff;
   color: #2563eb;
   border: 1px solid #bfdbfe;
   font-size: 0.7rem;
   font-weight: 700;
   padding: 2px 8px;
   border-radius: 12px;
   text-transform: uppercase;
   letter-spacing: 0.5px;
   display: inline-flex;
   align-items: center;
   gap: 4px;
}

.status-badge-audio {
   background: #f3e8ff;
   color: #7e22ce;
   border: 1px solid #e9d5ff;
   font-size: 0.7rem;
   font-weight: 700;
   padding: 2px 8px;
   border-radius: 12px;
   text-transform: uppercase;
   letter-spacing: 0.5px;
   display: inline-flex;
   align-items: center;
   gap: 4px;
}

/* Badges de Tipo de Item (Reunião vs Chamada) */
.badge-item-type {
   font-size: 0.72rem;
   font-weight: 700;
   padding: 2px 8px;
   border-radius: 6px;
   display: inline-flex;
   align-items: center;
   gap: 4px;
   line-height: 1.2;
}

.badge-type-meeting {
   background: #ede9fe;
   color: var(--teams-purple);
   border: 1px solid #ddd6fe;
}

.badge-type-call {
   background: #ecfeff;
   color: #0e7490;
   border: 1px solid #a5f3fc;
}

/* Link da Reunião com Botão de Copiar */
.meeting-link-copy-tag {
   display: inline-flex;
   align-items: center;
   gap: 5px;
   background: #f1f5f9;
   border: 1px solid #e2e8f0;
   border-radius: 6px;
   padding: 2px 8px;
   font-size: 0.78rem;
   color: #334155;
   font-weight: 500;
   line-height: 1.2;
}

.meeting-link-copy-tag i.ti-brand-teams {
   color: #5c62d6;
   font-size: 0.95rem;
}

.btn-copy-meeting-link {
   background: transparent;
   border: none;
   color: #64748b;
   padding: 1px 3px;
   cursor: pointer;
   border-radius: 4px;
   display: inline-flex;
   align-items: center;
   transition: all 0.2s;
}

.btn-copy-meeting-link:hover {
   color: #1e293b;
   background: #e2e8f0;
}

/* Botão de Criação de Chamado nos Próximos Passos */
.btn-step-ticket {
   background: #eef2ff;
   border: 1px solid #c7d2fe;
   color: #4f46e5;
   border-radius: 6px;
   padding: 5px 8px;
   font-size: 0.85rem;
   cursor: pointer;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   transition: all 0.2s;
   flex-shrink: 0;
}

.btn-step-ticket:hover {
   background: #e0e7ff;
   color: #4338ca;
}

/* Meeting Card Items */
.meeting-card {
   background: #ffffff;
   border-radius: var(--border-radius-md);
   padding: 14px;
   border: 1px solid var(--glass-border);
   cursor: pointer;
   transition: var(--transition-smooth);
   position: relative;
   display: flex;
   flex-direction: column;
   gap: 6px;
}

.meeting-card:hover {
   transform: translateY(-2px);
   box-shadow: var(--shadow-sm);
   border-color: #cbd5e1;
}

.meeting-card.active {
   border-color: var(--teams-purple);
   background: #faf5ff;
   box-shadow: 0 4px 12px rgba(92, 98, 214, 0.12);
}

.meeting-card.active::before {
   content: '';
   position: absolute;
   left: 0;
   top: 0;
   bottom: 0;
   width: 4px;
   background: var(--teams-purple);
   border-radius: var(--border-radius-md) 0 0 var(--border-radius-md);
}

.meeting-card-title {
   font-weight: 700;
   font-size: 0.95rem;
   color: var(--text-dark);
   margin: 0;
   line-height: 1.3;
}

/* Right Panel - Meeting Details */
.meeting-details-panel {
   background: #ffffff;
   border: 1px solid var(--glass-border);
   border-radius: var(--border-radius-lg);
   display: flex;
   flex-direction: column;
   overflow: hidden;
   box-shadow: var(--shadow-premium);
}

/* Empty State Initial View */
.meeting-empty-state {
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   height: 100%;
   padding: 40px;
   text-align: center;
   color: var(--text-muted);
}

.meeting-empty-state i {
   font-size: 4rem;
   color: #cbd5e1;
   margin-bottom: 16px;
}

.meeting-empty-state h3 {
   font-size: 1.3rem;
   font-weight: 700;
   color: var(--text-dark);
   margin-bottom: 8px;
}

.meeting-empty-state p {
   max-width: 400px;
   font-size: 0.95rem;
   line-height: 1.5;
}

/* Active Meeting Details Header */
.details-header {
   padding: 16px 20px;
   border-bottom: 1px solid var(--glass-border);
   display: flex;
   justify-content: space-between;
   align-items: flex-start;
   background: #ffffff;
   gap: 14px;
   flex-wrap: nowrap !important;
}

.details-header-info {
   min-width: 0;
   flex: 1 1 auto;
}

.header-actions {
   display: flex;
   align-items: center;
   gap: 8px;
   flex-wrap: nowrap !important;
   flex-shrink: 0 !important;
   white-space: nowrap !important;
}

.header-actions .btn,
.header-actions a.btn {
   white-space: nowrap !important;
   flex-shrink: 0 !important;
   font-size: 0.82rem !important;
   padding: 6px 12px !important;
}

.teams-badge {
   display: inline-flex;
   align-items: center;
   gap: 6px;
   background: #ede9fe;
   color: var(--teams-purple);
   padding: 3px 8px;
   border-radius: 12px;
   font-size: 0.72rem;
   font-weight: 700;
   margin-bottom: 6px;
}

.teams-badge i {
   font-size: 0.85rem;
}

#detail-title {
   margin: 0 0 6px 0;
   font-size: 1.25rem;
   font-weight: 800;
   color: var(--text-dark);
   line-height: 1.3;
}

.meeting-meta-grid {
   display: flex;
   flex-wrap: wrap;
   align-items: center;
   gap: 6px 14px;
   font-size: 0.84rem;
   color: var(--text-muted);
}

.meeting-meta-grid > span {
   display: inline-flex;
   align-items: center;
   gap: 5px;
   white-space: nowrap;
}

.btn-primary {
   background: var(--teams-purple) !important;
   border-color: var(--teams-purple) !important;
   color: #ffffff !important;
   font-weight: 600;
   padding: 8px 16px;
   border-radius: var(--border-radius-sm);
   display: inline-flex;
   align-items: center;
   gap: 6px;
   text-decoration: none;
   transition: var(--transition-smooth);
}

.btn-primary:hover {
   background: var(--teams-purple-hover) !important;
   border-color: var(--teams-purple-hover) !important;
   transform: translateY(-1px);
   box-shadow: 0 4px 12px rgba(92, 98, 214, 0.25);
   color: #ffffff !important;
}

.btn-outline-primary {
   border-color: var(--teams-purple) !important;
   color: var(--teams-purple) !important;
   font-weight: 600;
   transition: var(--transition-smooth);
}

.btn-outline-primary:hover {
   background: var(--teams-purple) !important;
   color: #ffffff !important;
}

/* Media Player Widget */
.mock-audio-player {
   background: #0f172a;
   padding: 14px 24px;
   display: flex;
   align-items: center;
   color: #ffffff;
}

.player-controls {
   display: flex;
   align-items: center;
   width: 100%;
   gap: 15px;
}

.player-btn {
   background: transparent;
   border: none;
   color: #ffffff;
   font-size: 1.15rem;
   cursor: pointer;
   width: 36px;
   height: 36px;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   transition: var(--transition-smooth);
}

.player-btn:hover {
   background: rgba(255, 255, 255, 0.15);
}

.player-timeline-container {
   flex-grow: 1;
   display: flex;
   align-items: center;
   gap: 12px;
}

.time-label {
   font-size: 0.8rem;
   color: #94a3b8;
   min-width: 42px;
   font-variant-numeric: tabular-nums;
}

.player-timeline {
   flex-grow: 1;
   height: 6px;
   background: #334155;
   border-radius: 3px;
   position: relative;
   cursor: pointer;
}

.player-progress {
   position: absolute;
   left: 0;
   top: 0;
   height: 100%;
   background: linear-gradient(90deg, #818cf8, var(--teams-purple));
   border-radius: 3px;
   transition: width 0.1s linear;
}

/* Volume Bar & Controls Customizado (Harmonioso com a timeline) */
.player-volume-container {
   display: flex;
   align-items: center;
   gap: 8px;
   user-select: none;
}

.player-volume-bar-wrapper {
   width: 80px;
   height: 24px;
   display: flex;
   align-items: center;
   cursor: pointer;
   padding: 0 4px;
}

.player-volume-bar {
   width: 100%;
   height: 4px;
   background: #334155;
   border-radius: 2px;
   position: relative;
   transition: height 0.15s ease;
}

.player-volume-bar-wrapper:hover .player-volume-bar {
   height: 6px;
}

.player-volume-progress {
   position: absolute;
   left: 0;
   top: 0;
   height: 100%;
   background: linear-gradient(90deg, #818cf8, var(--teams-purple));
   border-radius: 2px;
   transition: width 0.05s ease;
}

.player-volume-thumb {
   position: absolute;
   top: 50%;
   transform: translate(-50%, -50%);
   width: 10px;
   height: 10px;
   background: #ffffff;
   border-radius: 50%;
   box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
   transition: transform 0.15s ease, background 0.15s ease;
   pointer-events: none;
}

.player-volume-bar-wrapper:hover .player-volume-thumb {
   transform: translate(-50%, -50%) scale(1.3);
   background: #ffffff;
}
.details-tabs {
   display: flex;
   background: #f8fafc;
   border-bottom: 1px solid var(--glass-border);
   padding: 0 20px;
}

.tab-btn {
   background: transparent;
   border: none;
   padding: 14px 20px;
   font-size: 0.92rem;
   font-weight: 600;
   color: var(--text-muted);
   cursor: pointer;
   position: relative;
   transition: var(--transition-smooth);
   display: flex;
   align-items: center;
   gap: 8px;
}

.tab-btn:hover {
   color: var(--text-dark);
}

.tab-btn.active {
   color: var(--teams-purple);
}

.tab-btn.active::after {
   content: '';
   position: absolute;
   bottom: -1px;
   left: 0;
   width: 100%;
   height: 2px;
   background: var(--teams-purple);
}

/* Tab Contents */
.tab-content {
   flex-grow: 1;
   overflow-y: auto;
   padding: 24px;
   background: #ffffff;
}

/* Empty Transcript State */
.empty-transcript-state {
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   padding: 40px 20px;
   text-align: center;
   background: #f8fafc;
   border: 1px dashed #cbd5e1;
   border-radius: var(--border-radius-md);
   margin: 15px auto;
   max-width: 580px;
   width: 100%;
}

.empty-transcript-state > i.empty-state-icon,
.empty-transcript-state > i:first-child {
   font-size: 2.2rem !important;
   color: #94a3b8 !important;
   margin-bottom: 10px !important;
   display: inline-block !important;
}

.empty-transcript-state h5 {
   font-size: 1.05rem;
   font-weight: 700;
   color: var(--text-dark);
   margin: 0 0 6px 0;
}

.empty-transcript-state p {
   font-size: 0.88rem;
   color: var(--text-muted);
   margin: 0 0 16px 0;
   max-width: 440px;
   line-height: 1.5;
}

.btn-manual-transcript-open {
   font-size: 0.82rem !important;
   padding: 6px 14px !important;
   border-radius: 6px !important;
   font-weight: 600 !important;
   display: inline-flex !important;
   align-items: center !important;
   justify-content: center !important;
   gap: 6px !important;
   box-shadow: 0 2px 4px rgba(92, 98, 214, 0.2);
   transition: var(--transition-smooth);
   line-height: 1.4 !important;
}

.btn-manual-transcript-open i {
   font-size: 0.95rem !important;
   margin: 0 !important;
   color: inherit !important;
   display: inline !important;
}

.transcript-timeline {
   display: flex;
   flex-direction: column;
   gap: 16px;
   padding-right: 8px;
}

.transcript-bubble {
   display: flex;
   gap: 14px;
   align-items: flex-start;
}

.speaker-avatar {
   width: 40px;
   height: 40px;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   color: #ffffff;
   font-weight: 700;
   font-size: 0.85rem;
   flex-shrink: 0;
   box-shadow: 0 2px 5px rgba(0,0,0,0.12);
}

.transcript-body {
   background: #f8fafc;
   padding: 14px 18px;
   border-radius: 0 var(--border-radius-md) var(--border-radius-md) var(--border-radius-md);
   border: 1px solid #e2e8f0;
   flex-grow: 1;
   box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.transcript-msg-header {
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin-bottom: 6px;
}

.transcript-msg-header strong {
   font-size: 0.92rem;
   color: var(--text-dark);
}

.transcript-time {
   font-size: 0.75rem;
   color: var(--text-muted);
   font-weight: 600;
   background: #e2e8f0;
   padding: 2px 8px;
   border-radius: 10px;
}

.transcript-body p {
   margin: 0;
   font-size: 0.92rem;
   color: #334155;
   line-height: 1.6;
}

/* Summary & Decisions Tab Styles */
.ai-summary-card {
   background: #f8fafc;
   border: 1px solid #e2e8f0;
   border-left: 4px solid var(--teams-purple);
   border-radius: var(--border-radius-md);
   padding: 20px 24px;
   margin-bottom: 24px;
   box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.summary-card-top {
   display: flex;
   justify-content: space-between;
   align-items: center;
   flex-wrap: wrap;
   gap: 12px;
}

.ai-icon-badge {
   width: 38px;
   height: 38px;
   background: #ede9fe;
   color: var(--teams-purple);
   border-radius: 10px;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 1.25rem;
}

.ai-summary-card h3 {
   margin: 0;
   font-size: 1.1rem;
   font-weight: 700;
   color: var(--text-dark);
}

.summary-view-text p {
   margin: 0;
   font-size: 0.95rem;
   color: #334155;
   line-height: 1.65;
   white-space: pre-line;
}

.summary-textarea {
   border-radius: var(--border-radius-sm);
   border: 1px solid #cbd5e1;
   font-size: 0.92rem;
   line-height: 1.6;
   padding: 12px;
}

.summary-textarea:focus {
   border-color: var(--teams-purple);
   box-shadow: 0 0 0 3px rgba(92, 98, 214, 0.15);
}

.ai-tasks-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 20px;
}

.ai-task-card {
   background: #ffffff;
   border: 1px solid #e2e8f0;
   border-radius: var(--border-radius-md);
   padding: 20px;
   box-shadow: 0 2px 8px rgba(0,0,0,0.03);
   display: flex;
   flex-direction: column;
}

.task-card-header {
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin-bottom: 16px;
   padding-bottom: 10px;
   border-bottom: 1px solid #f1f5f9;
}

.task-card-header h4 {
   font-size: 1.05rem;
   font-weight: 700;
   color: var(--text-dark);
}

.btn-add-item {
   font-size: 0.8rem;
   padding: 4px 10px;
   border-radius: 6px;
}

.editable-items-list {
   list-style: none;
   padding: 0;
   margin: 0;
   display: flex;
   flex-direction: column;
   gap: 10px;
   flex-grow: 1;
}

.editable-item-row {
   display: flex;
   align-items: flex-start !important;
   gap: 10px;
   background: #f8fafc;
   border: 1px solid #e2e8f0;
   border-radius: 8px;
   padding: 10px 12px;
   transition: var(--transition-smooth);
   box-sizing: border-box;
   width: 100%;
}

.editable-item-row:hover {
   border-color: #cbd5e1;
   background: #ffffff;
   box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.editable-item-input, .editable-item-textarea {
   flex: 1 1 auto;
   width: 100% !important;
   border: none !important;
   background: transparent !important;
   font-size: 0.9rem !important;
   padding: 0 4px !important;
   color: #1e293b !important;
   outline: none !important;
   box-shadow: none !important;
   font-family: inherit !important;
   line-height: 1.5 !important;
   box-sizing: border-box;
}

.editable-item-textarea {
   resize: none !important;
   overflow: hidden !important;
   min-height: 26px;
   display: block !important;
   word-break: break-word !important;
   white-space: pre-wrap !important;
}

.editable-item-input:focus, .editable-item-textarea:focus {
   background: #ffffff !important;
   border: 1px solid var(--teams-purple) !important;
   box-shadow: 0 0 0 2px rgba(92, 98, 214, 0.15) !important;
   border-radius: 4px !important;
}

.editable-item-input.item-completed, .editable-item-textarea.item-completed {
   text-decoration: line-through;
   color: #94a3b8 !important;
}

.future-meeting-notice {
   background: #eff6ff;
   border: 1px solid #bfdbfe;
   border-radius: var(--border-radius-md);
   padding: 14px 18px;
   color: #1e40af;
   display: flex;
   align-items: center;
   gap: 12px;
   font-size: 0.92rem;
   line-height: 1.5;
}

.future-meeting-notice i {
   font-size: 1.5rem;
   color: var(--teams-purple);
   flex-shrink: 0;
}

.btn-delete-item {
   background: transparent;
   border: none;
   color: #94a3b8;
   cursor: pointer;
   padding: 4px 6px;
   border-radius: 4px;
   transition: var(--transition-smooth);
   flex-shrink: 0;
}

.btn-delete-item:hover {
   color: #ef4444;
   background: #fee2e2;
}

.empty-list-notice {
   color: #94a3b8;
   font-size: 0.88rem;
   font-style: italic;
   padding: 16px 0;
   text-align: center;
}

.btn-save-main {
   padding: 10px 22px;
   font-size: 0.92rem;
}

/* Notes Tab (Private Markdown) */
.notes-tab-wrapper {
   display: flex;
   flex-direction: column;
   height: 100%;
   min-height: 480px;
}

.notes-header {
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin-bottom: 14px;
   padding-bottom: 12px;
   border-bottom: 1px solid #f1f5f9;
   gap: 16px;
}

.notes-save-indicator {
   white-space: nowrap !important;
   font-size: 0.82rem;
   color: #64748b;
   min-width: 70px;
   text-align: right;
   flex-shrink: 0;
}

.notes-toolbar {
   background: #f8fafc;
   border: 1px solid #e2e8f0;
   border-radius: 8px 8px 0 0;
   padding: 8px 12px;
   display: flex;
   justify-content: space-between;
   align-items: center;
   flex-wrap: wrap;
   gap: 8px;
}

.notes-formatting-tools {
   display: flex;
   align-items: center;
   gap: 4px;
}

.tool-btn {
   background: #ffffff;
   border: 1px solid #cbd5e1;
   border-radius: 6px;
   padding: 4px 8px;
   font-size: 0.85rem;
   color: #475569;
   cursor: pointer;
   transition: var(--transition-smooth);
   min-width: 30px;
   height: 30px;
   display: inline-flex;
   align-items: center;
   justify-content: center;
}

.tool-btn:hover {
   background: #ede9fe;
   color: var(--teams-purple);
   border-color: #c4b5fd;
}

.tool-separator {
   width: 1px;
   height: 20px;
   background: #cbd5e1;
   margin: 0 4px;
}

.notes-mode-toggle {
   display: flex;
   background: #e2e8f0;
   border-radius: 6px;
   padding: 2px;
}

.mode-btn {
   background: transparent;
   border: none;
   padding: 4px 12px;
   font-size: 0.82rem;
   font-weight: 600;
   color: #64748b;
   border-radius: 4px;
   cursor: pointer;
   transition: var(--transition-smooth);
}

.mode-btn.active {
   background: #ffffff;
   color: var(--teams-purple);
   box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.notes-editor-container {
   flex-grow: 1;
   display: flex;
}

.notes-textarea {
   width: 100%;
   min-height: 380px;
   border: 1px solid #e2e8f0;
   border-top: none;
   border-radius: 0 0 8px 8px;
   padding: 16px;
   font-size: 0.95rem;
   line-height: 1.6;
   color: #1e293b;
   outline: none;
   resize: vertical;
   background: #ffffff;
   font-family: inherit;
   transition: border-color 0.2s;
}

.notes-textarea:focus {
   border-color: var(--teams-purple);
}

.notes-preview-container {
   background: #ffffff;
   border: 1px solid #e2e8f0;
   border-top: none;
   border-radius: 0 0 8px 8px;
   padding: 20px;
   min-height: 380px;
   overflow-y: auto;
}

.markdown-rendered-body {
   color: #334155;
   font-size: 0.95rem;
   line-height: 1.65;
}

.markdown-rendered-body h1,
.markdown-rendered-body h2,
.markdown-rendered-body h3 {
   color: var(--text-dark);
   font-weight: 700;
   margin-top: 18px;
   margin-bottom: 8px;
}

.markdown-rendered-body h1 { font-size: 1.4rem; }
.markdown-rendered-body h2 { font-size: 1.2rem; }
.markdown-rendered-body h3 { font-size: 1.05rem; }

.markdown-rendered-body blockquote {
   border-left: 4px solid var(--teams-purple);
   background: #f8fafc;
   margin: 12px 0;
   padding: 8px 16px;
   color: #475569;
   border-radius: 0 6px 6px 0;
}

.markdown-rendered-body code {
   background: #f1f5f9;
   padding: 2px 6px;
   border-radius: 4px;
   font-size: 0.88rem;
   color: #dc2626;
}

.markdown-rendered-body pre {
   background: #0f172a;
   color: #e2e8f0;
   padding: 14px;
   border-radius: 8px;
   overflow-x: auto;
}

.markdown-rendered-body pre code {
   background: transparent;
   color: inherit;
   padding: 0;
}

.markdown-rendered-body ul {
   padding-left: 22px;
   margin-bottom: 12px;
}

.markdown-rendered-body li {
   margin-bottom: 6px;
}

.md-check-item {
   display: flex;
   align-items: center;
   margin-bottom: 6px;
}

/* Modal Moderno de Sincronização */
.sync-modal-backdrop {
   position: fixed;
   top: 0;
   left: 0;
   width: 100vw;
   height: 100vh;
   background: rgba(15, 23, 42, 0.6);
   backdrop-filter: blur(4px);
   z-index: 99999;
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 20px;
   animation: fadeIn 0.2s ease-out;
}

.sync-modal-card {
   background: #ffffff;
   width: 100%;
   max-width: 520px;
   border-radius: var(--border-radius-lg);
   box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
   overflow: hidden;
   border: 1px solid #e2e8f0;
   display: flex;
   flex-direction: column;
   animation: scaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.sync-modal-header {
   padding: 20px 24px;
   border-bottom: 1px solid #e2e8f0;
   display: flex;
   justify-content: space-between;
   align-items: center;
   background: #f8fafc;
}

.sync-modal-badge {
   width: 40px;
   height: 40px;
   background: #ede9fe;
   color: var(--teams-purple);
   border-radius: 10px;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 1.3rem;
}

.sync-modal-close {
   background: transparent;
   border: none;
   font-size: 1.6rem;
   color: #94a3b8;
   cursor: pointer;
   padding: 0;
   line-height: 1;
   transition: var(--transition-smooth);
}

.sync-modal-close:hover {
   color: #1e293b;
}

.sync-modal-body {
   padding: 24px;
}

.sync-modal-intro {
   font-size: 0.92rem;
   color: #475569;
   margin-bottom: 16px;
}

.sync-account-list {
   display: flex;
   flex-direction: column;
   gap: 10px;
   margin-bottom: 20px;
   max-height: 250px;
   overflow-y: auto;
}

.sync-account-option {
   display: flex;
   align-items: center;
   gap: 12px;
   padding: 12px 16px;
   border: 1px solid #e2e8f0;
   border-radius: var(--border-radius-md);
   cursor: pointer;
   transition: var(--transition-smooth);
   background: #ffffff;
}

.sync-account-option:hover {
   background: #f8fafc;
   border-color: #cbd5e1;
}

.sync-account-option.selected {
   border-color: var(--teams-purple);
   background: #f5f3ff;
   box-shadow: 0 0 0 1px var(--teams-purple);
}

.sync-account-option input[type="radio"] {
   accent-color: var(--teams-purple);
   width: 18px;
   height: 18px;
   margin: 0;
   cursor: pointer;
}

.sync-account-option i {
   font-size: 1.3rem;
}

.sync-account-text {
   display: flex;
   flex-direction: column;
   gap: 2px;
}

.sync-account-text strong {
   font-size: 0.92rem;
   color: var(--text-dark);
}

.sync-account-text small {
   font-size: 0.78rem;
   color: var(--text-muted);
}

.sync-all-option {
   border-style: dashed;
   background: #f0fdf4;
   border-color: #bbf7d0;
}

.sync-all-option.selected {
   border-color: var(--success-color);
   background: #dcfce7;
   box-shadow: 0 0 0 1px var(--success-color);
}

.sync-custom-input-group label {
   font-size: 0.85rem;
   font-weight: 600;
   color: #475569;
   margin-bottom: 6px;
   display: block;
}

.input-with-icon {
   position: relative;
}

.input-with-icon i {
   position: absolute;
   left: 12px;
   top: 50%;
   transform: translateY(-50%);
   color: #94a3b8;
}

.input-with-icon input {
   padding-left: 38px !important;
   height: 40px;
   border-radius: var(--border-radius-sm);
}

.sync-modal-footer {
   padding: 16px 24px;
   border-top: 1px solid #e2e8f0;
   background: #f8fafc;
   display: flex;
   justify-content: flex-end;
   gap: 10px;
}

/* Toast Notifications */
.plugin-meetings-toast {
   position: fixed;
   bottom: 24px;
   right: 24px;
   background: #0f172a;
   color: #ffffff;
   padding: 14px 20px;
   border-radius: var(--border-radius-md);
   box-shadow: 0 10px 25px -5px rgba(0,0,0,0.3);
   display: flex;
   align-items: center;
   gap: 12px;
   font-size: 0.92rem;
   font-weight: 500;
   z-index: 100000;
   transform: translateY(100px);
   opacity: 0;
   transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
   pointer-events: none;
}

.plugin-meetings-toast.show {
   transform: translateY(0);
   opacity: 1;
   pointer-events: auto;
}

.plugin-meetings-toast i {
   font-size: 1.3rem;
}

/* Animações */
@keyframes fadeIn {
   from { opacity: 0; }
   to { opacity: 1; }
}

@keyframes scaleUp {
   from { transform: scale(0.95); opacity: 0; }
   to { transform: scale(1); opacity: 1; }
}

@keyframes float {
   0% { transform: translateY(0px); }
   50% { transform: translateY(-8px); }
   100% { transform: translateY(0px); }
}

.header-count-pill {
   background: rgba(92, 98, 214, 0.12);
   color: var(--teams-purple);
   font-weight: 700;
   font-size: 0.75rem;
   padding: 1px 7px;
   border-radius: 10px;
   margin-left: 4px;
   display: inline-block;
   line-height: 1.2;
}

/* Modais Globais do Plugin Meetings */
.meetings-modal-backdrop {
   position: fixed;
   top: 0;
   left: 0;
   width: 100vw;
   height: 100vh;
   background: rgba(15, 23, 42, 0.65);
   backdrop-filter: blur(4px);
   z-index: 99999;
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 20px;
   animation: fadeIn 0.2s ease-out;
}

.meetings-modal-card {
   background: #ffffff;
   border-radius: var(--border-radius-lg);
   width: 100%;
   max-width: 650px;
   max-height: 90vh;
   display: flex;
   flex-direction: column;
   box-shadow: 0 20px 35px -5px rgba(0,0,0,0.3);
   animation: scaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
   overflow: hidden;
}

.meetings-modal-card.modal-lg {
   max-width: 800px;
}

.meetings-modal-header {
   padding: 18px 24px;
   border-bottom: 1px solid #e2e8f0;
   display: flex;
   align-items: center;
   justify-content: space-between;
   background: #f8fafc;
}

.meetings-modal-header h4 {
   font-size: 1.15rem;
   font-weight: 700;
   color: #1e293b;
   margin: 0;
}

.meetings-modal-badge {
   width: 40px;
   height: 40px;
   background: rgba(92, 98, 214, 0.12);
   color: var(--teams-purple);
   border-radius: 10px;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 1.3rem;
}

.meetings-modal-close {
   background: transparent;
   border: none;
   font-size: 1.5rem;
   color: #94a3b8;
   cursor: pointer;
   padding: 0 6px;
   line-height: 1;
   border-radius: 4px;
   transition: all 0.2s;
}

.meetings-modal-close:hover {
   color: #0f172a;
   background: #e2e8f0;
}

.meetings-modal-body {
   padding: 24px;
   overflow-y: auto;
   flex-grow: 1;
}

.meetings-modal-footer {
   padding: 16px 24px;
   border-top: 1px solid #e2e8f0;
   background: #f8fafc;
   display: flex;
   justify-content: flex-end;
   gap: 10px;
}

/* Empty States & Avisos de Lista */
.empty-list-notice,
.editable-items-list > li.empty-list-notice,
.observers-list-box > div.empty-list-notice {
   width: 100% !important;
   max-width: 100% !important;
   display: block !important;
   white-space: normal !important;
   word-break: normal !important;
   overflow-wrap: break-word !important;
   background: #f8fafc;
   border: 1px dashed #cbd5e1;
   border-radius: 8px;
   padding: 14px 16px;
   color: #64748b;
   font-size: 0.88rem;
   text-align: center;
   margin: 4px 0;
   box-sizing: border-box !important;
   font-style: normal !important;
}

.meetings-list .empty-list-notice {
   display: flex !important;
   flex-direction: column !important;
   align-items: center !important;
   justify-content: center !important;
   text-align: center !important;
   padding: 32px 16px !important;
   color: #94a3b8 !important;
   background: transparent !important;
   border: 1px dashed #cbd5e1 !important;
   border-radius: 12px !important;
   margin: 16px 4px !important;
}

.meetings-list .empty-list-notice i {
   font-size: 2.2rem !important;
   margin: 0 auto 10px auto !important;
   opacity: 0.5 !important;
   display: block !important;
   text-align: center !important;
}

.meetings-list .empty-list-notice span {
   display: block !important;
   text-align: center !important;
   line-height: 1.4 !important;
}

/* Guia Agradável de Transcrição Manual */
.manual-transcript-guide {
   background: #f0fdf4;
   border: 1px solid #bbf7d0;
   border-radius: 10px;
   padding: 12px 16px;
   margin-bottom: 16px;
}

.guide-header {
   display: flex;
   align-items: center;
   gap: 6px;
   font-size: 0.88rem;
   color: #166534;
   margin-bottom: 8px;
}

.guide-example-box {
   background: #ffffff;
   border: 1px solid #dcfce7;
   border-radius: 6px;
   padding: 10px 14px;
   font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
   font-size: 0.84rem;
   color: #1e293b;
   line-height: 1.6;
}

.guide-example-box .example-line {
   margin-bottom: 2px;
}

.guide-example-box .speaker-pill {
   font-weight: 700;
   color: var(--teams-purple);
}

.guide-example-box .time-pill {
   color: #64748b;
   font-size: 0.8rem;
}

/* Botão Compacto de Inserir Transcrição Manual */
.btn-manual-transcript-open {
   font-size: 0.84rem !important;
   padding: 6px 14px !important;
   border-radius: 6px !important;
   font-weight: 600 !important;
   display: inline-flex !important;
   align-items: center !important;
   gap: 6px !important;
   box-shadow: 0 2px 5px rgba(92, 98, 214, 0.2);
   transition: var(--transition-smooth);
}

.btn-manual-transcript-open:hover {
   transform: translateY(-1px);
   box-shadow: 0 4px 10px rgba(92, 98, 214, 0.3);
}

/* Comboboxes Pesquisáveis Customizados (Ticket Modal) */
.searchable-select-container {
   position: relative;
   width: 100%;
}

.searchable-select-display {
   width: 100%;
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding: 8px 12px;
   background: #ffffff;
   border: 1px solid #cbd5e1;
   border-radius: 6px;
   cursor: pointer;
   font-size: 0.88rem;
   color: #1e293b;
   transition: var(--transition-smooth);
   user-select: none;
   min-height: 38px;
}

.searchable-select-display:hover {
   border-color: var(--teams-purple);
}

.searchable-select-display.is-open {
   border-color: var(--teams-purple);
   box-shadow: 0 0 0 2px rgba(92, 98, 214, 0.15);
}

.searchable-select-display .display-text {
   overflow: hidden;
   text-overflow: ellipsis;
   white-space: nowrap;
   padding-right: 8px;
}

.searchable-select-display.is-empty .display-text {
   color: #94a3b8;
}

.searchable-dropdown-panel {
   position: absolute;
   top: calc(100% + 4px);
   left: 0;
   right: 0;
   background: #ffffff;
   border: 1px solid #cbd5e1;
   border-radius: 8px;
   box-shadow: 0 10px 25px -5px rgba(0,0,0,0.18);
   z-index: 100050;
   padding: 8px;
   display: none;
   flex-direction: column;
}

.searchable-dropdown-panel.show {
   display: flex;
}

.searchable-search-input {
   width: 100%;
   padding: 6px 10px;
   border: 1px solid #e2e8f0;
   border-radius: 6px;
   font-size: 0.85rem;
   margin-bottom: 6px;
   outline: none;
   box-sizing: border-box;
}

.searchable-search-input:focus {
   border-color: var(--teams-purple);
}

.searchable-options-list {
   overflow-y: auto;
   max-height: 170px;
   display: flex;
   flex-direction: column;
   gap: 2px;
}

.searchable-option-item {
   padding: 6px 10px;
   border-radius: 4px;
   cursor: pointer;
   font-size: 0.85rem;
   color: #334155;
   display: flex;
   align-items: center;
   justify-content: space-between;
   transition: background 0.15s;
}

.searchable-option-item:hover {
   background: #f1f5f9;
   color: var(--teams-purple);
}

.searchable-option-item.selected {
   background: rgba(92, 98, 214, 0.1);
   color: var(--teams-purple);
   font-weight: 600;
}

/* Histórico de Alterações Timeline */
.history-timeline {
   display: flex;
   flex-direction: column;
   gap: 16px;
   position: relative;
   padding-left: 20px;
}

.history-timeline::before {
   content: '';
   position: absolute;
   left: 6px;
   top: 10px;
   bottom: 10px;
   width: 2px;
   background: #e2e8f0;
}

.history-item {
   position: relative;
   background: #f8fafc;
   border: 1px solid #e2e8f0;
   border-radius: 8px;
   padding: 12px 16px;
}

.history-item::before {
   content: '';
   position: absolute;
   left: -19px;
   top: 16px;
   width: 10px;
   height: 10px;
   border-radius: 50%;
   background: var(--teams-purple);
   border: 2px solid #ffffff;
   box-shadow: 0 0 0 2px #e2e8f0;
}

.history-item-header {
   display: flex;
   align-items: center;
   justify-content: space-between;
   margin-bottom: 6px;
}

.history-item-title {
   font-weight: 600;
   font-size: 0.92rem;
   color: #1e293b;
}

.history-item-date {
   font-size: 0.8rem;
   color: #64748b;
}

.history-item-user {
   font-size: 0.85rem;
   color: #475569;
   margin-bottom: 4px;
}

.history-item-details {
   font-size: 0.88rem;
   color: #334155;
   background: #ffffff;
   padding: 6px 10px;
   border-radius: 6px;
   border: 1px solid #e2e8f0;
   white-space: pre-line;
   line-height: 1.45;
}

.history-diff-box {
   display: flex;
   flex-direction: column;
   gap: 6px;
   margin-top: 8px;
   font-size: 0.82rem;
}

.diff-state {
   border-radius: 6px;
   padding: 8px 10px;
   line-height: 1.4;
}

.diff-old {
   background: #fff1f2;
   border: 1px solid #fecdd3;
   color: #9f1239;
}

.diff-old .diff-title {
   font-weight: 700;
   font-size: 0.74rem;
   text-transform: uppercase;
   letter-spacing: 0.5px;
   margin-bottom: 3px;
   color: #be123c;
}

.diff-new {
   background: #f0fdf4;
   border: 1px solid #bbf7d0;
   color: #166534;
}

.diff-new .diff-title {
   font-weight: 700;
   font-size: 0.74rem;
   text-transform: uppercase;
   letter-spacing: 0.5px;
   margin-bottom: 3px;
   color: #15803d;
}

.diff-content {
   font-family: inherit;
   word-break: break-word;
   font-size: 0.84rem;
   line-height: 1.45;
   transition: max-height 0.25s ease-out;
}

.diff-content.is-collapsed {
   max-height: 80px;
   overflow: hidden;
   position: relative;
}

.diff-old .diff-content.is-collapsed::after {
   content: '';
   position: absolute;
   bottom: 0;
   left: 0;
   right: 0;
   height: 32px;
   background: linear-gradient(to bottom, transparent, #fff1f2);
   pointer-events: none;
}

.diff-new .diff-content.is-collapsed::after {
   content: '';
   position: absolute;
   bottom: 0;
   left: 0;
   right: 0;
   height: 32px;
   background: linear-gradient(to bottom, transparent, #f0fdf4);
   pointer-events: none;
}

.btn-toggle-diff-more {
   background: transparent;
   border: none;
   padding: 2px 0 0 0;
   font-size: 0.78rem;
   font-weight: 600;
   cursor: pointer;
   display: inline-flex;
   align-items: center;
   gap: 4px;
   transition: all 0.15s;
   margin-top: 4px;
   text-decoration: none !important;
}

.diff-old .btn-toggle-diff-more {
   color: #be123c;
}

.diff-old .btn-toggle-diff-more:hover {
   color: #881337;
   text-decoration: none !important;
}

.diff-old .btn-toggle-diff-more:hover span {
   text-decoration: underline;
}

.diff-new .btn-toggle-diff-more {
   color: #15803d;
}

.diff-new .btn-toggle-diff-more:hover {
   color: #14532d;
   text-decoration: none !important;
}

.diff-new .btn-toggle-diff-more:hover span {
   text-decoration: underline;
}

/* Lista de Observadores */
.observers-list-box {
   display: flex;
   flex-direction: column;
   gap: 8px;
   margin-top: 12px;
   max-height: 250px;
   overflow-y: auto;
   width: 100% !important;
}

.observers-list-box > * {
   width: 100% !important;
   box-sizing: border-box !important;
}

.observer-row {
   display: flex;
   align-items: center;
   justify-content: space-between;
   background: #f8fafc;
   border: 1px solid #e2e8f0;
   border-radius: 8px;
   padding: 10px 14px;
}

.observer-info {
   display: flex;
   align-items: center;
   gap: 10px;
}

.observer-avatar {
   width: 34px;
   height: 34px;
   border-radius: 50%;
   background: #e2e8f0;
   color: #475569;
   display: flex;
   align-items: center;
   justify-content: center;
   font-weight: 600;
   font-size: 0.85rem;
}

.observer-meta h6 {
   margin: 0;
   font-size: 0.9rem;
   font-weight: 600;
   color: #1e293b;
}

.observer-meta small {
   color: #64748b;
   font-size: 0.8rem;
}

.btn-remove-obs {
   background: transparent;
   border: none;
   color: #ef4444;
   padding: 6px;
   border-radius: 6px;
   cursor: pointer;
   transition: all 0.2s;
}

.btn-remove-obs:hover {
   background: #fee2e2;
}

/* Responsiveness */
@media (max-width: 992px) {
   .plugin-meetings-container {
      grid-template-columns: 1fr;
      height: auto;
   }
   .meetings-sidebar {
      height: 380px;
   }
   .ai-tasks-grid {
      grid-template-columns: 1fr;
   }
}

