/* Lumouria v2 — Generator page styles */

.lumouria-experience {
  max-width: 600px;
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.lumouria-status {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  min-height: 28px;
}

/* ── Dropzone ── */
.lumouria-dropzone {
  border: 2px dashed #999;
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  background: #fafafa;
}
.lumouria-dropzone:hover,
.lumouria-dropzone-active {
  border-color: #4CAF50;
  background: #f0faf0;
}
.lumouria-dropzone-icon {
  font-size: 48px;
  margin-bottom: 8px;
}
.lumouria-dropzone-text {
  font-size: 16px;
  color: #333;
  margin-bottom: 4px;
}
.lumouria-dropzone-hint {
  font-size: 13px;
  color: #888;
}

/* ── Uploaded preview ── */
.lumouria-uploaded {
  text-align: center;
}
.lumouria-uploaded-preview img {
  max-width: 100%;
  max-height: 300px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  margin-bottom: 16px;
}
.lumouria-generate-btn {
  display: inline-block;
  background: #4CAF50;
  color: #fff;
  border: none;
  padding: 14px 48px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.lumouria-generate-btn:hover {
  background: #388E3C;
  transform: translateY(-1px);
}
.lumouria-generate-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

/* ── Progress ── */
.lumouria-progress {
  text-align: center;
}
.lumouria-progress-bar {
  width: 100%;
  height: 8px;
  background: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
}
.lumouria-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #4CAF50, #66BB6A);
  border-radius: 4px;
  transition: width 0.5s ease;
  width: 0%;
}
.lumouria-progress-text {
  font-size: 14px;
  color: #666;
}

/* ── Result ── */
.lumouria-result {
  text-align: center;
}
.lumouria-result-image img {
  max-width: 100%;
  max-height: 500px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* ── Error ── */
.lumouria-error {
  text-align: center;
  padding: 24px;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: 12px;
}
.lumouria-error-message {
  font-size: 16px;
  color: #b91c1c;
  font-weight: 600;
  margin-bottom: 8px;
}
.lumouria-error-debug {
  font-size: 12px;
  color: #999;
  font-family: monospace;
  margin-bottom: 12px;
}
.lumouria-retry-btn {
  display: inline-block;
  background: #666;
  color: #fff;
  border: none;
  padding: 10px 32px;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
}
.lumouria-retry-btn:hover {
  background: #444;
}

/* ── Refresh Status button ── */
.lumouria-refresh-btn {
  display: inline-block;
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 10px 32px;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
  margin-left: 8px;
}
.lumouria-refresh-btn:hover {
  background: #1d4ed8;
}
.lumouria-refresh-btn:disabled {
  background: #93c5fd;
  cursor: wait;
}

/* ── Debug panel ── */
.lumouria-debug {
  margin-top: 24px;
  border-top: 1px solid #e5e7eb;
  padding-top: 8px;
}
