/* Image Crop - Kawaii Bear Theme */
.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.back-link {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-light);
  text-decoration: none;
  transition: transform 0.15s;
}

.back-link:hover {
  transform: scale(1.03);
}

/* Privacy notice */
.privacy-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,230,118,0.08);
  border: 1px solid rgba(0,230,118,0.25);
  border-radius: var(--radius);
  padding: 14px 20px;
  margin-bottom: 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--safe);
}

.privacy-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Drop zone */
.drop-zone {
  border: 2px dashed var(--primary-light);
  border-radius: 28px;
  padding: 56px 20px;
  text-align: center;
  cursor: pointer;
  background: var(--surface);
  transition: border-color 0.25s, background 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative;
}

.drop-zone:hover,
.drop-zone.drag-over {
  border-color: var(--primary-light);
  background: var(--surface-hover);
  transform: scale(1.02);
  box-shadow: 0 0 24px var(--accent-glow), var(--shadow-hover);
}

.drop-icon {
  font-size: 3.5rem;
  margin-bottom: 12px;
  display: block;
  animation: bear-wave 2s ease-in-out infinite;
}

@keyframes bear-wave {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-8deg); }
  75% { transform: rotate(8deg); }
}

.drop-zone p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.drop-hint {
  font-size: 0.85rem !important;
  margin-top: 6px;
}

/* Crop area */
.crop-area {
  display: none;
  position: relative;
  text-align: center;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-top: 16px;
}

.crop-canvas-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.crop-canvas {
  display: block;
  max-width: 100%;
  border-radius: var(--radius-input);
}

.crop-info {
  margin-top: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.crop-info-arrow {
  color: var(--primary-light);
}

.crop-info-done {
  color: var(--safe);
}

/* Aspect ratio selector */
.ratio-selector {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.ratio-btn {
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.ratio-btn:hover {
  background: var(--surface-hover);
  border-color: var(--primary-light);
}

.ratio-btn.ratio-active {
  background: var(--primary-gradient);
  color: white;
  border-color: transparent;
  box-shadow: 0 0 12px var(--accent-glow);
}

/* Status badges */
.status-pending {
  color: var(--text-muted);
}

.status-processing {
  color: var(--primary-light);
  animation: pulse-scan 1s ease infinite;
}

@keyframes pulse-scan {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.status-done {
  color: var(--safe);
}

.status-error {
  color: var(--warning);
}

/* Actions */
.file-actions {
  display: flex;
  gap: 8px;
  padding: 0 18px 14px;
}

.file-actions .btn {
  font-size: 0.85rem;
  padding: 10px 20px;
  min-height: 40px;
}

@media (max-width: 600px) {
  .header-left { gap: 6px; }
  .back-link { font-size: 1rem; }
  .site-logo { width: 48px; height: 48px; }
  .logo-link { font-size: 1rem; gap: 6px; }
  .drop-zone { padding: 36px 16px; }
}
