/* Drop Area */
#sizeCompressDropArea {
  border: 2px dashed #aaa;
  border-radius: 8px;
  padding: 40px;
  text-align: center;
  background: #fafafa;
  cursor: pointer;
  transition: background 0.3s ease;
}

#sizeCompressDropArea:hover {
  background: #f0f0f0;
}

/* Size info */

.size-info {
  font-size: 13px;
  color: #555;
  margin-top: 6px;
}

.reduction-info {
  font-size: 13px;
  font-weight: 600;
  color: #0c8b2c;
  margin-top: 4px;
}

.placeholder {
  border: 1px dashed #ccc;
  border-radius: 8px;
  padding: 40px 0;
  color: #777;
  font-size: 14px;
  text-align: center;
}

/* Compressor Cards */
.compress-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 20px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.preview-wrapper {
  display: flex;
  flex: 1;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.img-side {
  text-align: center;
}

.img-side p {
  font-weight: bold;
  margin-bottom: 8px;
}

.img-side img {
  max-width: 500px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Control Section */
.control-panel {
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.compress-btn {
  background: #4caf50;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 15px;
  cursor: pointer;
  transition: 0.2s;
}

.compress-btn:hover {
  background: #43a047;
}

.download-link {
  background: #2196f3;
  color: white;
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 6px;
}

.bulk-download-btn {
  display: inline-block;
  margin-top: 20px;
  background: #ff9800;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

.bulk-download-btn:hover {
  background: #f57c00;
}

/* Responsive Layout */
@media (max-width: 768px) {
  .compress-card {
    flex-direction: column;
    align-items: center;
  }

  .img-side img {
    max-width: 90%;
  }
}