/* Upload Zone Styles */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 40px 20px;
  text-align: center;
  background: var(--surface);
  cursor: pointer;
  transition: all 0.3s;
  margin-bottom: 20px;
}

.upload-zone:hover,
.upload-zone.dragover {
  border-color: var(--accent);
  background: var(--glow-green);
}

.upload-zone.pulse {
  animation: pulse 1s ease-in-out;
}

.upload-zone.has-photo {
  padding: 0;
  border-style: solid;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

#preview {
  max-width: 100%;
  max-height: 400px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: none;
  border-radius: calc(var(--radius) - 2px);
}

#uploadText {
  font-size: 1.1rem;
  color: var(--muted);
  pointer-events: none;
}

#uploadIcon {
  font-size: 3rem;
  margin-bottom: 12px;
  opacity: 0.6;
}

/* Roasty Character Container (UX.md Phase 1.2) */
.upload-container-with-roasty {
  display: flex;
  gap: 40px;
  align-items: center;
  padding: 0;
  margin-bottom: 20px;
}

.roasty-character-container {
  position: relative;
  flex: 0 0 45%;
  max-width: 400px;
}

.roasty-large {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 30px var(--toxic-green));
  animation: sway 3s ease-in-out infinite;
  will-change: transform;
}

.roasty-glow-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, var(--glow-green) 0%, transparent 70%);
  opacity: 0.4;
  animation: glow-pulse 2s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
  will-change: opacity;
}

.upload-controls {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Roasty Quote */
.roasty-quote {
  text-align: center;
  font-size: 14px;
  font-style: italic;
  color: var(--toxic-green);
  opacity: 0.8;
  margin-top: 10px;
  transition: opacity 0.3s ease;
  min-height: 20px;
}

/* Form Inputs */
label {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 500;
}

select,
input[type="text"] {
  width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--input);
  color: var(--text);
  outline: none;
  transition: all 0.2s;
}

select:focus,
input[type="text"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--glow-green);
}
