body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f8fafc;
  color: #111;
}

header {
  padding: 24px 18px;
  text-align: center;
  background: #0f172a;
  color: #fff;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 18px;
}

.card {
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  margin-bottom: 20px;
}

.drop-zone {
  border: 2px dashed #334155;
  padding: 30px;
  text-align: center;
  border-radius: 12px;
  cursor: pointer;
  margin-bottom: 15px;
  background: #f8fafc;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.drop-zone:hover,
.drop-zone.active {
  background: #eef2ff;
  border-color: #2563eb;
}

label {
  display: block;
  margin-top: 16px;
  font-weight: 600;
}

input[type="file"],
input[type="number"],
select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  margin-top: 8px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-weight: 500;
}

button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  background: #22c55e;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  margin-top: 18px;
}

button:hover {
  background: #16a34a;
  transform: translateY(-1px);
}

a#download {
  display: none;
  margin-top: 16px;
  text-decoration: none;
  color: #fff;
  background: #2563eb;
  padding: 12px 18px;
  border-radius: 10px;
}

a#download:hover {
  background: #1d4ed8;
}

.ad {
  margin: 20px 0;
  padding: 20px;
  text-align: center;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
}

h2,
h3 {
  margin-top: 0;
}

h3 {
  margin-bottom: 12px;
}

p,
li {
  font-size: 1rem;
  line-height: 1.7;
  color: #334155;
}

.preview {
  max-width: 100%;
  border-radius: 12px;
  margin-top: 18px;
}

.hidden {
  display: none !important;
}
ol {
  padding-left: 1.25rem;
  margin-top: 0;
}

.hint {
  font-size: 0.92rem;
  color: #64748b;
  margin-top: 8px;
}
.hidden {
  display: none !important;
}

.file-info {
  font-size: 0.95rem;
  color: #475569;
  margin-top: 10px;
}

.loader {
  display: none;
  margin-top: 16px;
  color: #2563eb;
  font-weight: 600;
}

.loader.visible {
  display: block;
}

footer {
  margin-top: 20px;
  padding: 18px;
  text-align: center;
  background: #f1f5f9;
  border-top: 1px solid #e5e7eb;
  border-radius: 0 0 12px 12px;
  color: #64748b;
}

footer a {
  color: #2563eb;
  text-decoration: none;
  margin: 0 8px;
}

footer a:hover {
  text-decoration: underline;
}

.page-footer {
  padding: 1.25rem 1.5rem;
  background: #f8fafc;
}



