.imgzone-wrapper {
  max-width: 900px;
  margin: 50px auto;
  padding: 30px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  border-radius: 16px;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
}

.imgzone-heading {
  font-size: 26px;
  margin-bottom: 25px;
  color: #222;
}

/* Drop box */
.drop-box {
  border: 2px dashed #007bff;
  padding: 40px;
  border-radius: 12px;
  margin-bottom: 20px;
  position: relative;
  background: #f8f9fa;
  transition: 0.3s ease;
  cursor: pointer;
  text-align: center;
  display: block;
}

.drop-box:hover {
  background: #eaf3ff;
}

.drop-box span {
  font-size: 16px;
  color: #555;
}

.drop-box input[type="file"] {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  height: 100%;
  width: 100%;
  cursor: pointer;
}


/* Controls */
.imgzone-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

select {
  padding: 10px 16px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: white;
  min-width: 160px;
  cursor: pointer;
  transition: 0.2s ease;
}
select:focus {
  border-color: #007bff;
}

button#convertBtn {
    background: #983961;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease;
}
button#convertBtn:hover {
  background: #218838;
}

/* Table Styles */
#previewTable {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
  font-size: 14px;
}

#previewTable thead {
  background: #f8f9fa;
}

#previewTable th, #previewTable td {
  padding: 12px;
  text-align: center;
  background: #fff;
  border: 1px solid #e0e0e0;
}

#previewTable th {
  border-bottom: 2px solid #dee2e6;
}

.preview-thumb {
  width: 90px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.05);
}

.download-btn {
  background: #007bff;
  color: white;
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.2s;
}
.download-btn:hover {
  background: #0056b3;
}

/* Status Styles */
.status-cell {
  font-weight: bold;
}
.status-cell::before {
  content: '• ';
}
.status-cell:has-text("Success") {
  color: #28a745;
}
.status-cell:has-text("Converting") {
  color: #007bff;
}
.status-cell:has-text("Error") {
  color: #dc3545;
}

@media (max-width: 600px) {
  .imgzone-controls {
    flex-direction: column;
    align-items: stretch;
  }
  #previewTable {
    font-size: 12px;
  }
  .preview-thumb {
    width: 70px;
  }
}