/* Cajón de archivo · un recuadro clicable + tarjeta del archivo */
.fd-wrap {
  width: 100%;
  position: relative;
}
.fd-zone {
  position: relative;
  border: 2px dashed var(--border-strong, #d4d4d8);
  border-radius: 12px;
  background: var(--surf-muted, #f8f9fb);
  padding: 22px 14px;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.fd-zone:hover,
.fd-zone.is-drag {
  border-color: var(--info, #1d4ed8);
  background: var(--info-bg, #eff6ff);
}
.fd-zone.has-file {
  border-style: solid;
  border-color: var(--ok, #047857);
  background: var(--ok-bg, #ecfdf5);
}
.fd-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line, rgba(15,23,42,.08));
  display: flex;
  align-items: center;
  justify-content: center;
}
.fd-icon svg {
  width: 24px;
  height: 24px;
  color: var(--info, #1d4ed8);
}
.fd-title {
  margin: 0;
  font-weight: 600;
  font-size: 14px;
  color: var(--brand, #0f172a);
}
.fd-hint {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted, #64748b);
  line-height: 1.4;
}
.fd-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  min-height: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  opacity: 0 !important;
}
.fd-list {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}
.fd-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--surface, #fff);
  box-shadow: inset 0 0 0 1px var(--line, rgba(15,23,42,.08));
}
.fd-card-ico {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--info-bg, #eff6ff);
  color: var(--info, #1d4ed8);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fd-card-ico.is-img {
  background: var(--ok-bg, #ecfdf5);
  color: var(--ok, #047857);
}
.fd-card-ico svg {
  width: 20px;
  height: 20px;
}
.fd-card-meta {
  flex: 1;
  min-width: 0;
}
.fd-card-name {
  font-weight: 600;
  font-size: 13px;
  color: var(--text, #0f172a);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fd-card-sub {
  font-size: 11px;
  color: var(--muted, #64748b);
}
.fd-remove {
  border: 0;
  background: none;
  color: var(--muted, #64748b);
  cursor: pointer;
  padding: 6px;
  min-height: 0;
  box-shadow: none;
  line-height: 0;
}
.fd-remove:hover { color: var(--err, #b91c1c); }
.fd-remove svg { width: 18px; height: 18px; }
.fd-err {
  color: var(--err, #b91c1c);
  font-size: 12px;
  margin-top: 6px;
}
