:root {
  --primary-color: #FF6F61;
  --secondary-color: #FFD166;
  --accent-color: #06D6A0;
  --background-color: #FDF6F0;
  --text-color: #333333;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  text-align: center;
  padding: 2rem;
}

h1 {
  color: var(--primary-color);
  font-size: 2.5rem;
}

input[type="file"] {
  padding: 1rem;
  border: 2px dashed var(--accent-color);
  border-radius: 8px;
  background-color: #fff;
  cursor: pointer;
}

button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 1rem;
}

button:hover {
  background-color: #e85c50;
}

img {
  margin-top: 1rem;
  max-width: 300px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.logo-banner {
  text-align: center;
  padding: 1.5rem 0;
  background-color: #fff8f0;
  border-bottom: 2px solid #ffa07a;
}

.logo-banner img {
  max-width: 300px;
  height: auto;
}

.app-title {
  font-family: 'Comic Sans MS', cursive, sans-serif;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.app-subtitle {
  font-size: 1.2rem;
  color: #444;
  font-style: italic;
}

.preview-wrapper {
  text-align: center;
}

.centered-preview {
  max-width: 300px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-top: 1rem;
}

.fallback-banner {
  background: #fff3cd;
  padding: 10px;
  border-radius: 8px;
  margin-top: 20px;
  font-family: sans-serif;
}

#generated-views {
  margin-top: 2rem;
}

#generated-views img {
  border: 4px solid #ff69b4;
  border-radius: 12px;
  margin: 10px;
  width: 200px;
  height: 200px;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

#generated-views a {
  font-family: 'Comic Sans MS', cursive, sans-serif;
  background-color: #ffecb3;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  display: inline-block;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
}

#generated-views a:hover {
  background-color: #ffd966;
}


textarea { width: 100%; font-family: monospace; }



.panel { border: 1px solid #ccc; padding: 10px; margin: 10px 0; border-radius: 6px; background: #f9f9f9; }
.panel-row { display: flex; margin: 4px 0; }
.panel-label { width: 120px; font-weight: bold; }
.panel-content { flex: 1; text-align: left; }
