/* ---------- importazione da documento ---------- */
.lc-ai-badge { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; padding: 6px 14px; border-radius: 999px; border: 1px solid transparent; }
.lc-ai-on { background: linear-gradient(135deg, #F4E9FB, #E4E8F3); color: #4B2F7A; border-color: #D8CAEE; }
.lc-ai-sim { background: #FCF1DC; color: #8A5A10; border-color: #F2DDB0; }

.lc-drop-wrap { position: relative; }
.lc-dropzone { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 220px; padding: 24px; text-align: center;
  border: 2px dashed #D9B8BE; border-radius: 20px; background: linear-gradient(180deg, #FFFFFF, #FDF6F7); transition: border-color .2s, background .2s, transform .2s; }
.lc-drop-wrap:hover .lc-dropzone { border-color: #B8233B; background: #FDF1F3; transform: translateY(-2px); }
.lc-drop-title { font: 600 1.05rem 'Fraunces', serif; color: #1F2A44; }
.lc-drop-sub { font-size: .82rem; color: #5F6783; }
.lc-drop-wrap .lc-drop-input, .lc-drop-wrap input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }

.lc-file { display: flex; align-items: center; gap: 10px; padding: 8px 12px; margin-top: 8px; background: #fff; border: 1px solid #E8E2D9; border-radius: 12px; }
.lc-file-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.lc-thinking { display: flex; justify-content: center; gap: 10px; }
.lc-thinking span { width: 14px; height: 14px; border-radius: 50%; background: #B8233B; animation: lc-pulse 1.2s ease-in-out infinite; }
.lc-thinking span:nth-child(2) { animation-delay: .2s; background: #1F2A44; }
.lc-thinking span:nth-child(3) { animation-delay: .4s; background: #C79A3B; }
@keyframes lc-pulse { 0%, 80%, 100% { transform: scale(.55); opacity: .5; } 40% { transform: scale(1.15); opacity: 1; } }

.lc-panels .mud-expand-panel { border: 1px solid #E8E2D9; border-radius: 16px !important; margin-bottom: 12px; background: #fff; }
.lc-photo-sm { width: 130px; height: 130px; font-size: 2.2rem; border-radius: 22px; }
.lc-verify { margin: 6px 0 0; padding-left: 18px; }
.lc-esp { padding: 10px 12px; margin-bottom: 10px; border: 1px solid #EFE9E0; border-radius: 14px; background: #FDFCFA; }
.lc-esp-off { opacity: .45; }
.lc-savebar { position: sticky; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 18px; padding: 14px 20px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(6px); border: 1px solid #E8E2D9; border-radius: 16px; box-shadow: 0 -4px 20px rgba(31,42,68,.08); z-index: 5; }
