.fu-wrapper {
  display: block;
  width: 100%;
}

.fu-dropzone {
  position: relative;
  border-width: 2px;
  border-style: dashed;
  border-color: #d1d5db;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
}
.fu-dropzone::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59,130,246,.06), rgba(16,185,129,.06));
  opacity: 0;
  transition: opacity .25s;
}

.fu-dz-icon {
  position: relative;
  width: 56px;
  height: 56px;
  margin: 0 auto .75rem;
  background: #fff;
  border-radius: 14px;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.08), 0 0 0 1px rgba(0,0,0,.05);
}
.fu-dz-icon svg {
  width: 26px;
  height: 26px;
}

.fu-dz-title {
  position: relative;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 4px;
}
.fu-dz-sub {
  position: relative;
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 1rem;
}

.fu-browse-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: .5rem 1.1rem;
  border-radius: 8px;
  border: 1.5px solid transparent;
  background: #3b82f6;
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity .2s, box-shadow .2s;
  box-shadow: 0 1px 4px rgba(59,130,246,.15);
}
.fu-browse-btn:hover {
  opacity: .9;
}
.fu-browse-btn svg {
  width: 14px;
  height: 14px;
}

.fu-badge {
  align-items: center;
  gap: .6rem;
  margin-top: .6rem;
  padding: .5rem .85rem;
  border-radius: 8px;
  background: #f9fafb;
  border: none;
  cursor: pointer;
  user-select: none;
  font-size: 13px;
  color: #111827;
}
.fu-pill {
  background: #3b82f6;
  color: #fff;
  border-radius: 5px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
}
.fu-arrow {
  margin-left: auto;
  font-size: 10px;
  color: #94a3b8;
  transition: transform .2s;
}
.fu-badge.fu-open .fu-arrow {
  transform: rotate(180deg);
}

.fu-panel {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .3s ease, opacity .2s;
}
.fu-panel.fu-open {
  max-height: 600px;
  opacity: 1;
}
.fu-panel-inner {
  margin-top: .5rem;
  border: none;
  border-radius: 10px;
  overflow: hidden;
  background: #f9fafb;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}

.fu-list-scroll {
  max-height: 340px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.fu-list-scroll::-webkit-scrollbar {
  width: 5px;
}
.fu-list-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.fu-list-scroll::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}
.fu-list-scroll::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.fu-file-row {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .6rem .85rem;
  border-bottom: 1px solid #f1f5f9;
  transition: background .15s;
  animation: fuRowIn .18s ease both;
}
.fu-file-row:last-child {
  border-bottom: none;
}
.fu-file-row:hover {
  background: #f8fafc;
}
@keyframes fuRowIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fu-thumb {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  flex-shrink: 0;
  overflow: hidden;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  display: grid;
  place-items: center;
  font-size: 8.5px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.fu-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fu-meta  { flex: 1; min-width: 0; }
.fu-name  { font-size: 12.5px; font-weight: 500; color: #1e293b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fu-size  { font-size: 11px; color: #94a3b8; margin-top: 1px; }
.fu-ok    { font-size: 11px; color: #10b981; font-weight: 600; flex-shrink: 0; }
.fu-err   { font-size: 11px; color: #ef4444; font-weight: 600; flex-shrink: 0; }

.fu-rm {
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  color: #cbd5e1;
  transition: color .15s, background .15s;
}
.fu-rm:hover {
  color: #ef4444;
  background: #fef2f2;
}
.fu-rm svg {
  width: 13px;
  height: 13px;
}

.fu-footer {
  padding: .45rem .85rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: flex-end;
}
.fu-footer button {
  font-size: 11.5px;
  color: #cbd5e1;
  background: none;
  border: none;
  cursor: pointer;
  transition: color .15s;
}
.fu-footer button:hover {
  color: #ef4444;
}

.fu-info-label {
  display: block;
  font-size: 11px;
  color: #9ca3af;
  margin-top: .5rem;
}
.fu-help-block {
  font-size: 11px;
  margin-top: 0;
  min-height: 0;
}