* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-tap-highlight-color: transparent;
}
:root {
  --primary-color: #009100;
  --secondary-color: #d7001d;
  --third-color: #ff9100;
  --basic-color: #ffffff;
  --text-color: #0000;
}
body {
  width: 100%;
  color: #ffff;
  min-height: 100vh;
  background: var(--basic-color);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
.container {
  width: 100%;
  padding: 100px 0;
  background: #0b0423;
  display: flex;
  /* flex-direction: column; */
  align-items: center;
  justify-content: center;
}
#left,
#right {
  width: 300px;
  min-height: 400px;
  margin: 20px;
  border: 2px dashed white;
}
.list {
  color: #fff;
  background: #e91e63;
  height: 50px;
  margin: 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 18px;
  border-radius: 5px;
  cursor: grab;
  padding: 10px 20px;
}
/* ---------------------------------------------- */
.container:nth-child(2) {
  margin-top: 50px;
  flex-direction: column;
}
h2 {
  margin-bottom: 30px;
  text-align: center;
}
.drop-area {
  padding: 30px;
  width: 90%;
  color: #0b0423;
  max-width: 500px;
  border: 2px dashed green;
  text-align: center;
  background-color: #f0fff0;
  transition: background-color 0.2s;
}
.drop-area.hover {
  background-color: #c8e6c9;
}
#filePreview {
  margin-top: 20px;
  width: 100%;
  max-width: 500px;
}
.file-item {
  border: 1px solid #ccc;
  padding: 10px;
  margin-bottom: 15px;
  background-color: #fff;
}
.file-item img {
  max-width: 100%;
  height: auto;
  margin-top: 10px;
  display: block;
}
.file-item pre {
  white-space: pre-wrap;
  max-height: 200px;
  overflow-y: auto;
  background: #f4f4f4;
  padding: 10px;
  margin-top: 10px;
}
#downloadLink {
  display: none;
  margin-top: 15px;
  padding: 10px 15px;
  background-color: #d1ffd1;
  border: 1px solid #00a300;
  color: #006400;
  text-decoration: none;
  font-weight: bold;
}
