/* IMAGE ROTATOR */
.image-rotator {
  padding: 60px 20px;
  background: linear-gradient(135deg,#ff512f,#dd2476);
  border-radius: 20px;
  color: #fff;
  font-family: 'Urbanist', sans-serif;
  box-shadow: 0 20px 50px rgba(0,0,0,0.18);
  margin-bottom: 40px;
  text-align: center;
}

.rotator-card {
  max-width: 500px;
  margin: 0 auto;
  background: #fff;
  color: #222;
  padding: 28px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  text-align: center;
}

.rotator-card input[type="file"],
.rotator-card input[type="number"] {
  display: block;
  width: 100%;
  margin: 12px 0;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.rotate-btn, .download-btn, .copy-btn {
  background: linear-gradient(90deg,#ff512f,#dd2476);
  color: #fff;
  border: none;
  padding: 12px 18px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  margin-top: 10px;
  margin-right: 5px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rotate-btn:hover, .download-btn:hover, .copy-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

canvas, #imagePreview {
  border-radius: 12px;
  margin-top: 14px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 6px 25px rgba(0,0,0,0.12);
  max-width: 100%;
}

.action-buttons {
  margin-top: 12px;
}
