* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

header {
  text-align: center;
  margin-bottom: 2rem;
}

header h1 {
  font-size: 2rem;
  color: #E30613;
  letter-spacing: 0.02em;
}

header p {
  color: #666;
  margin-top: 0.25rem;
}

.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 2rem;
}

.step-label {
  font-weight: 700;
  font-size: 0.85rem;
  color: #E30613;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

/* Discipline radio buttons */
.discipline-group {
  margin-bottom: 1.5rem;
}

.discipline-options {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.discipline-option {
  flex: 1;
  min-width: 150px;
}

.discipline-option input[type="radio"] {
  display: none;
}

.discipline-option label {
  display: block;
  padding: 0.75rem 1rem;
  border: 2px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  text-align: center;
}

.discipline-option label strong {
  display: block;
  font-size: 0.95rem;
  color: #333;
}

.discipline-option label span {
  display: block;
  font-size: 0.75rem;
  color: #888;
  margin-top: 0.15rem;
}

.discipline-option input[type="radio"]:checked + label {
  border-color: #E30613;
  background: #fef2f2;
}

/* File upload */
.upload-group {
  margin-bottom: 1.5rem;
}

.drop-zone {
  border: 2px dashed #ccc;
  border-radius: 6px;
  padding: 2rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  color: #888;
}

.drop-zone:hover,
.drop-zone.dragover {
  border-color: #E30613;
  background: #fef2f2;
}

.drop-zone .icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.drop-zone .file-name {
  margin-top: 0.5rem;
  font-weight: 600;
  color: #333;
}

.drop-zone input[type="file"] {
  display: none;
}

/* Submit button */
.submit-btn {
  display: block;
  width: 100%;
  padding: 0.85rem;
  background: #E30613;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.submit-btn:hover:not(:disabled) {
  background: #c10510;
}

.submit-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* Progress */
.progress-section {
  display: none;
  margin-top: 1.5rem;
}

.progress-section.active {
  display: block;
}

.progress-steps {
  list-style: none;
}

.progress-steps li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #aaa;
}

.progress-steps li.done {
  color: #16a34a;
}

.progress-steps li.active {
  color: #E30613;
  font-weight: 600;
}

.progress-steps li .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  flex-shrink: 0;
}

.progress-steps li.done .dot {
  background: #16a34a;
}

.progress-steps li.active .dot {
  background: #E30613;
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Result */
.result-section {
  display: none;
  margin-top: 1.5rem;
  text-align: center;
}

.result-section.active {
  display: block;
}

.result-section .success {
  font-size: 1.25rem;
  font-weight: 700;
  color: #16a34a;
  margin-bottom: 1rem;
}

.download-btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: #16a34a;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}

.download-btn:hover {
  background: #15803d;
}

.new-report-btn {
  display: inline-block;
  margin-top: 0.75rem;
  color: #E30613;
  text-decoration: underline;
  cursor: pointer;
  font-size: 0.9rem;
  background: none;
  border: none;
}

/* Error */
.error-section {
  display: none;
  margin-top: 1.5rem;
  padding: 1rem;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: 6px;
  color: #b91c1c;
}

.error-section.active {
  display: block;
}

footer {
  text-align: center;
  padding: 2rem 0 1rem;
  color: #aaa;
  font-size: 0.8rem;
}

.footer-sub {
  font-size: 0.7rem;
  margin-top: 0.2rem;
}
