body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  background: #0f0f0f;
  color: #e5e5e5;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.page-wrapper {
  max-width: 960px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
}

.upload-card {
  background: #1a1a1a;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.upload-card h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.upload-card p {
  color: #a1a1a1;
  margin-bottom: 1.5rem;
}

.upload-label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

.form-control {
  background: #0f0f0f;
  border: 1px solid #2a2a2a;
  color: #e5e5e5;
}

.form-control:focus {
  background: #0f0f0f;
  color: #e5e5e5;
  border-color: #7dd3fc;
  box-shadow: none;
}

.btn-upload {
  width: 100%;
  padding: 0.75rem;
  font-weight: 600;
}

/* Instructions panel */

.instructions {
  background: #1a1a1a;
  border-radius: 16px;
  padding: 2rem;
}

.instructions h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.step {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.step:last-child {
  margin-bottom: 0;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #7dd3fc;
  color: #0f0f0f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content {
  color: #a1a1a1;
  font-size: 0.95rem;
  line-height: 1.4;
}

.step-content strong {
  color: #e5e5e5;
  font-weight: 600;
}

a {
  color: #7dd3fc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .page-wrapper {
    grid-template-columns: 1fr;
  }
}

#upload-in-progress-message {
    display: none;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #ccc;
    border-top-color: #0d6efd; /* Bootstrap primary */
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
    margin: auto;
  }
  
  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }