
* {
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
}

.container {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 100%;
  max-width: 500px;
}

h1 {
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  color: #333;
}

#drop-area {
  border: 2px dashed #4a90e2;
  padding: 1rem;
  border-radius: 0.5rem;
  background: #f0f8ff;
  cursor: pointer;
  margin-bottom: 1rem;
}

#drop-area p {
  margin: 0;
  color: #4a90e2;
}

#fileElem {
  display: none;
}

#preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1rem;
  justify-content: center;
}

#preview img {
  width: 60px !important;
  height: 60px !important;
  object-fit: cover !important;
  border-radius: 6px !important;
  border: 1px solid #ccc !important;
  display: block !important;
  max-width: 60px !important;
  max-height: 60px !important;
}

button {
  background-color: #4a90e2;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #357ABD;
}

#progressBar {
  margin-top: 1rem;
  height: 6px;
  background-color: #ccc;
  border-radius: 3px;
  overflow: hidden;
}

#progressBar::before {
  content: '';
  display: block;
  height: 100%;
  width: 0%;
  background-color: #4a90e2;
  animation: load 3s linear forwards;
}

@keyframes load {
  0% { width: 0%; }
  100% { width: 100%; }
}

.hidden {
  display: none;
}
