/* Attachments shared styles */
.attachments-section,
.attachments-section-final { margin:15px 0; padding:16px; background:#f8f9fa; border:1px solid #e1e1e1; border-radius:6px; }
.attachments-header-row { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:8px; }
.attachments-header-row h4 { margin:0; color:#333; font-size:14px; font-weight:600; }
.attachments-quick-actions { display:flex; gap:6px; align-items:center; }
.control-chip { border:1px solid #ccc; background:#f7f7f7; color:#555; font-size:11px; padding:2px 8px; border-radius:999px; cursor:pointer; }
.control-chip:hover { background:#eee; }
.attachments-list,
.attachments-list-final { display:flex; flex-direction:column; gap:8px; }
.attachment-item,
.attachment-item-final { background:#fff; border:1px solid #d0d0d0; border-radius:4px; padding:8px 12px; transition:border-color .2s ease; }
.attachment-item:hover,
.attachment-item-final:hover { border-color:#0078d4; }
.attachment-content,
.attachment-content-final { display:flex; align-items:center; gap:10px; }
.attachment-checkbox,
.attachment-checkbox-final { width:14px; height:14px; margin:0; }
.attachment-icon,
.attachment-icon-final { flex-shrink:0; font-size:16px; width:20px; text-align:center; }
.attachment-info,
.attachment-info-final { flex-grow:1; min-width:0; }
.attachment-name,
.attachment-name-final { font-size:12px; font-weight:500; color:#333; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin-bottom:2px; }
.attachment-size,
.attachment-size-final { font-size:11px; color:#666; }
.attachment-auto-selected { background:#f0f7ff; border-left:3px solid #0078d4; }
.attachment-auto-selected .attachment-name-final { font-weight:600; color:#0078d4; }

/* Styling for disabled (always-selected) attachments like .msg file */
.attachment-checkbox:disabled { 
  cursor: not-allowed; 
  opacity: 0.7;
}
.attachment-item-consolidated.attachment-email-msg .attachment-checkbox:disabled {
  accent-color: #0078d4;
}
.attachment-item-consolidated.attachment-email-msg .attachment-size {
  color: #0078d4;
  font-weight: 500;
}

