/* RESET SIMPLE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, sans-serif;
}

body {
  background: #E9ECF3;
  padding: 20px;
  display: flex;
  justify-content: center;
}

/* CONTAINER PRINCIPAL */
.app {
  width: 100%;
  max-width: 480px;
}

/* CARTES / BLOCS */
.card {
  background: white;
  padding: 22px;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  margin-bottom: 20px;
}

.hidden {
  display: none;
}

/* TITRES */
h1, h2 {
  margin-bottom: 12px;
  font-weight: 700;
  color: #1A1D27;
}

.subtitle {
  margin-bottom: 20px;
  color: #6A6F7A;
  font-size: 0.9rem;
}

/* BOUTONS */
.btn-row {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

button {
  flex: 1;
  padding: 12px;
  border-radius: 10px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  font-weight: 600;
}

.btn-primary {
  background: #2D6CDF;
  color: white;
}

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

.btn-secondary {
  background: #F1F3F7;
  color: #1A1D27;
}

.btn-secondary:hover {
  background: #E3E6EC;
}

/* FORMULAIRES */
label {
  display: block;
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: #1A1D27;
}

input, select {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  border-radius: 8px;
  border: 1px solid #C9CED8;
  background: #F9FAFC;
  font-size: 1rem;
}

/* TABLEAU RÉSUMÉ */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

th, td {
  padding: 10px;
  border-bottom: 1px solid #E3E6EC;
  text-align: left;
  font-size: 0.9rem;
}

th {
  background: #F4F6FB;
  font-weight: 600;
}

/* TAG */
.tag {
  display: inline-block;
  background: #2D6CDF;
  color: white;
  padding: 6px 12px;
  border-radius: 8px;
  margin-bottom: 12px;
  font-size: 0.85rem;
}

/* EMAIL PREVIEW */
pre {
  background: #F4F6FB;
  padding: 14px;
  border-radius: 12px;
  font-size: 0.9rem;
  color: #1A1D27;
}

/* INFO */
.info {
  margin-top: 12px;
  font-size: 0.9rem;
  color: #2D6CDF;
  font-weight: 600;
}
