* {
  box-sizing: border-box;
}
body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(to right, #ede9fe, #f3e8ff);
  color: #374151;
  margin: 0;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}
.container {
  background: #faf5ff;
  padding: 32px;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 800px;
  border: 2px solid #c4b5fd;
}
h1 {
  text-align: center;
  margin-bottom: 24px;
  font-size: 28px;
  font-weight: 600;
  color: #6b21a8;
}
label {
  display: block;
  margin: 14px 0 6px;
  font-weight: 600;
  color: #6b21a8;
}
textarea, select, input[type="text"] {
  width: 100%;
  padding: 12px;
  margin-bottom: 16px;
  border-radius: 10px;
  border: 1px solid #ddd6fe;
  font-size: 16px;
  font-family: inherit;
}
textarea {
  min-height: 120px;
  resize: vertical;
}
input[type="file"] {
  display: none;
}
.custom-file-upload {
  display: inline-block;
  padding: 12px 24px;
  background-color: #8b5cf6;
  color: white;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  margin-bottom: 8px;
}
button {
  background-color: #8b5cf6;
  color: white;
  font-weight: 600;
  border: none;
  padding: 14px;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  width: 100%;
  margin-top: 12px;
}
button:hover {
  background-color: #7c3aed;
}
.loading {
  font-size: 16px;
  font-weight: bold;
  color: #6b21a8;
  animation: pulse 1s infinite;
  margin: 10px 0;
}
@keyframes pulse {
  0% { opacity: 0.3; }
  50% { opacity: 1; }
  100% { opacity: 0.3; }
}
pre {
  background: #f5f3ff;
  border: 1px solid #e9d5ff;
  padding: 16px;
  border-radius: 10px;
  white-space: pre-wrap;
  margin-top: 10px;
}
.download {
  text-align: center;
  margin-top: 20px;
}
