.upload-section {
  margin: 1.5rem auto;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial;
  color: #111;
}

.dropzone {
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  background: #fbfdff;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.dropzone.dragover {
  border-color: #2563eb;
  background: #f0f6ff;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.08);
}

.dropzone .left {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.dropzone .icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e6eefc;
  border-radius: 10px;
  font-size: 22px;
}

.dropzone p {
  margin: 0;
  line-height: 1.25;
}

.actions {
  display: block;
  gap: 0.5rem;
  align-items: center;
}

button,
.browse-btn {
  background: #2563eb;
  color: #fff;
  border: 0;
  margin: 1rem 0rem;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
}

button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.browse-btn {
  background: transparent;
  color: #2563eb;
  border: 2px solid #e2e8f0;
  padding: 0.4rem 0.7rem;
}

input[type="file"] {
  display: none;
}

.file-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.6rem;
}

.file-item {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  padding: 0.6rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #eef2ff;
}

.file-meta {
  flex: 1;
  min-width: 0;
}

.file-name {
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-size {
  font-size: 0.85rem;
  color: #64748b;
}

.progress {
  height: 8px;
  background: #eef2ff;
  border-radius: 6px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.progress > i {
  display: block;
  height: 100%;
  width: 0%;
  background: #2563eb;
}

.file-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.small-btn {
  background: transparent;
  border: 0;
  color: #2563eb;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
}

.error {
  color: #b91c1c;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 560px) {
  .dropzone {
    flex-direction: column;
    align-items: flex-start;
  }

  .actions {
    width: 100%;
    justify-content: space-between;
  }
}
