/* Container principal */
.container {
  max-width: 600px;
  margin: 2rem auto;
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.07);
}

/* Titres */
.greeting {
  font-size: 1.4rem;
  line-height: 1.2;
  margin: 0 0 1rem;
  text-align: center;
}

.title {
  font-size: 1.2rem;
  line-height: 1.4;
  margin: 0 0 1rem;
  font-weight: 600;
}

.description {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Formulaire */
.upload-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Zone de drop */
.dropzone {
  border: 2px dashed #999;
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  background: #fafafa;
  transition: background .15s, border-color .15s;
}

.dropzone:hover {
  background: #f0f9ff;
  border-color: #111;
}

.dropzone-title {
  margin: 0 0 .5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #111;
}

.dropzone-subtitle {
  margin: 0;
  font-size: 0.85rem;
  color: #555;
}

.file-name {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #888;
  font-style: italic;
}

/* Boutons */
.btn {
  background: #222;
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.btn:hover {
  background: #444;
  transform: translateY(-1px);
}

.btn:active {
  background: #111;
  transform: translateY(0);
}

/* Container des actions */
.actions-container {
  display: none;
  gap: 1rem;
  margin-top: 1rem;
}

.actions-container .btn {
  flex: 1 0 0;
}

/* Zone de résultat */
.result-container {
  margin-top: 2rem;
  background: #fafafa;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  padding: 1rem;
  font-family: monospace;
  white-space: pre-wrap;
  font-size: 0.9rem;
  line-height: 1.4;
}