/* B063: documents attached to the consultation. px sizes: the theme root is 9-10px. */
.advisor-attachments { width: 100%; margin: 8px 0 0; font-size: 13px; }
.advisor-attachments[hidden] { display: none !important; }
.advisor-attachments .advisor-attach-button,
.advisor-chat-form .advisor-attachments .advisor-attach-button {
	margin: 0; padding: 6px 12px; font-size: 12px; line-height: 1.3; color: #3c2a57;
	background: #fff; border: 1px solid #b9a8cf; border-radius: 6px; cursor: pointer;
}
.advisor-attachments .advisor-attach-button:hover:not(:disabled) { background: #f4eefb; }
.advisor-attachments .advisor-attach-button:disabled { opacity: .55; cursor: not-allowed; }
.advisor-attachment-list { list-style: none; margin: 6px 0 0; padding: 0; }
.advisor-attachment-list li {
	display: flex; align-items: center; gap: 8px; margin: 4px 0; padding: 4px 8px;
	background: #f6f4f9; border: 1px solid #e3dcec; border-radius: 6px;
}
.advisor-attachment-name { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; color: #263343; }
.advisor-attachment-size { flex: 0 0 auto; color: #5f6b7a; font-size: 12px; }
.advisor-attachments .advisor-attachment-remove,
.advisor-chat-form .advisor-attachments .advisor-attachment-remove {
	flex: 0 0 auto; margin: 0; padding: 0 6px; font-size: 13px; line-height: 1.6; color: #5f3d86;
	background: transparent; border: 0; border-radius: 4px; cursor: pointer;
}
.advisor-attachment-error { margin: 6px 0 0; color: #a3162d; font-size: 12px; }
.advisor-attachment-privacy {
	margin: 6px 0 0; padding: 6px 10px; font-size: 12px; color: #5a4210;
	background: #fff8e5; border-left: 3px solid #e0a800; border-radius: 4px;
}
.advisor-attachment-sent { margin: 4px 0 0; font-size: 12px; color: #4b5563; overflow-wrap: anywhere; }
.advisor-attachment-sent-label { font-weight: 600; }
@media (max-width: 480px) {
	.advisor-attachment-list li { padding: 4px 6px; }
}
