/* ===== Custom scrollbar ===== */
.custom-scroll::-webkit-scrollbar {
  width: 5px;
}
.custom-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.custom-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
}

/* ===== Drop-zone active state (drag-over) ===== */
.drop-zone.drag-over {
  border-color: #3b8bff;
  background-color: rgba(59, 139, 255, 0.08);
}

/* ===== Format buttons ===== */
.format-btn {
  padding: 0.45rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 0.625rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #94a3b8; /* slate-400 */
  cursor: pointer;
  transition: all 0.2s ease;
}

.format-btn:hover {
  border-color: rgba(59, 139, 255, 0.4);
  color: #e2e8f0; /* slate-200 */
}

.format-btn.active {
  border-color: #3b8bff;
  background: rgba(59, 139, 255, 0.15);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(59, 139, 255, 0.2);
}

/* ===== File list item ===== */
.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 0.85rem;
  border-radius: 0.625rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  animation: fadeSlideIn 0.25s ease;
}

.file-item .file-name {
  flex: 1;
  font-size: 0.82rem;
  color: #cbd5e1; /* slate-300 */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-item .file-size {
  font-size: 0.72rem;
  color: #64748b; /* slate-500 */
  flex-shrink: 0;
}

.file-item .remove-btn {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  cursor: pointer;
  font-size: 0.85rem;
  line-height: 1;
  transition: background 0.2s;
}

.file-item .remove-btn:hover {
  background: rgba(239, 68, 68, 0.25);
}

/* ===== Animations ===== */
@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
