body {
  font-family: "Roboto", sans-serif;
  background: #f6f9ff;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

.container {
  max-width: 650px;
  width: 90%;
  margin-top: 40px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
}

h1 {
  color: #2b4eff;
  font-size: 1.8rem;
}

.upload-box {
  border: 2px dashed #c8d4ff;
  border-radius: 12px;
  background: #f0f4ff;
  padding: 40px 10px;
  cursor: pointer;
  margin-top: 20px;
}

.upload-box:hover {
  background: #e6edff;
}

.upload-box input {
  display: none;
}

#previewContainer {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}

.preview-wrapper {
  position: relative;
}

.preview-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.delete-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  background: rgba(255, 50, 50, 0.9);
  color: white;
  border: none;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  font-size: 14px;
  cursor: pointer;
}

.delete-btn:hover {
  background: #e60000;
}

.button-group {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.btn {
  background: #2b4eff;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background: #1f3ad8;
}

.btn.outline {
  background: white;
  border: 2px solid #2b4eff;
  color: #2b4eff;
}

.btn.outline:hover {
  background: #2b4eff;
  color: white;
}

.btn.danger {
  background: #ff4b4b;
}

.btn.danger:hover {
  background: #d93c3c;
}
