/* ============================================================
   WebP Image Optimizer Styling - Scenic IT Solutions
   ============================================================ */

/* Drag & Drop Zone Box */
.img-dropzone {
  border: 2px dashed #0099E5;
  background: rgba(0, 153, 229, 0.05);
  border-radius: 20px;
  padding: 45px 30px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  margin-bottom: 30px;
  position: relative;
}

.img-dropzone:hover, .img-dropzone.dragover {
  border-color: #F68B1F;
  background: rgba(246, 139, 31, 0.08);
  transform: scale(1.01);
}

.img-dropzone-icon {
  font-size: 54px;
  margin-bottom: 15px;
  display: block;
}

.img-dropzone-title {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
}

.img-dropzone-desc {
  font-size: 14px;
  color: #888888;
}

.img-file-input {
  display: none;
}

/* Image Comparison & Results Box */
.img-result-box {
  background: #0d0d12;
  border: 2px solid #26262e;
  border-radius: 20px;
  padding: 30px;
  margin-top: 30px;
  display: none;
}

.img-result-box.active {
  display: block;
  animation: scenicFadeIn 0.3s ease;
}

.img-comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 25px;
}

.img-preview-card {
  background: #07070a;
  border: 1px solid #24242e;
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}

.img-preview-header {
  font-size: 14px;
  font-weight: 600;
  color: #F68B1F;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.img-preview-frame {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #111116;
  border-radius: 10px;
  margin-bottom: 12px;
}

.img-preview-frame img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.img-size-badge {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.img-saved-banner {
  background: rgba(39, 174, 96, 0.15);
  border: 1px solid rgba(39, 174, 96, 0.4);
  border-radius: 14px;
  padding: 16px 22px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: #27ae60;
  margin-bottom: 25px;
}

.img-full-width-btn {
  width: 100% !important;
}

.img-full-width-btn-margin {
  width: 100% !important;
  margin-top: 10px !important;
}

.scenic-code-block {
  background: #07070a;
  padding: 15px;
  border-radius: 10px;
  color: #0099E5;
  font-size: 14px;
  overflow-x: auto;
}
