/* assets/style.css – styles simples pour Mattajirs Relay Europe */

.mre-hub-wrapper {
  max-width: 1100px;
  margin: 0 auto 3rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.mre-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 1.5rem 0;
}

.mre-intro {
  background: #f5f7ff;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid #e0e7ff;
}

.mre-intro ol {
  margin: 0 0 0.75rem 1.25rem;
  padding: 0;
}

.mre-btn-primary,
.mre-btn-secondary {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-align: center;
}

.mre-btn-primary {
  background: #2563eb;
  color: #fff;
}

.mre-btn-primary:hover {
  background: #1d4ed8;
}

.mre-btn-secondary {
  background: #ffffff;
  color: #2563eb;
  border: 1px solid #2563eb;
}

.mre-btn-secondary:hover {
  background: #eff6ff;
}

.mre-btn-full {
  width: 100%;
  margin-top: 0.75rem;
}

.mre-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.mre-step {
  flex: 1 1 320px;
  background: #ffffff;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  border: 1px solid #e5e7eb;
}

.mre-textarea {
  width: 100%;
  min-height: 140px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  padding: 0.75rem;
  resize: vertical;
  font-size: 0.95rem;
}

.mre-field-row {
  margin-bottom: 0.75rem;
}

.mre-input-number {
  width: 100%;
  max-width: 260px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  padding: 0.5rem 0.75rem;
  font-size: 0.95rem;
}

.mre-help,
.mre-notice {
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: 0.5rem;
}

.mre-result {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e5e7eb;
  font-size: 0.95rem;
}

.mre-error {
  color: #b91c1c;
}

.mre-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0 0.5rem;
  font-size: 0.9rem;
}

.mre-table th,
.mre-table td {
  border: 1px solid #e5e7eb;
  padding: 0.45rem 0.55rem;
  text-align: left;
}

.mre-row-subtotal {
  background: #f9fafb;
}

.mre-row-discount {
  background: #ecfdf5;
  color: #047857;
}

.mre-row-total {
  background: #eff6ff;
  font-weight: 700;
}

.mre-share-link a {
  word-break: break-all;
}

.mre-viewer {
  margin-top: 1.25rem;
  padding-top: 0.75rem;
  border-top: 1px dashed #d1d5db;
}

.mre-iframe-container {
  margin-top: 0.75rem;
  border-radius: 10px;
  overflow: hidden;
}

.mre-box {
  max-width: 800px;
  margin: 0 auto 2rem;
  padding: 1.25rem 1.5rem;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

/* Responsive */
@media (max-width: 768px) {
  .mre-steps {
    flex-direction: column;
  }
}
