.recu-boutons {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 20px;
}

.recu {
  background: white;
  max-width: 700px;
  margin: 0 auto 40px auto;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.recu-header {
  background: var(--primary);
  color: white;
  padding: 20px 30px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.recu-header h1 {
  margin: 0;
  font-size: 24px;
  color: white;
}

.recu-header p {
  margin: 4px 0 0 0;
  font-size: 13px;
  opacity: 0.85;
}

.recu-ref {
  text-align: right;
  font-size: 13px;
}

.recu-parties {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.recu-partie {
  flex: 1;
  background: #f5feff;
  border-left: 4px solid var(--primary);
  padding: 14px 16px;
  border-radius: 4px;
}

.recu-partie h3 {
  margin: 0 0 8px 0;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 1px;
}

.recu-partie p {
  margin: 3px 0;
  font-size: 14px;
  color: #333;
}

.recu-section {
  margin-bottom: 25px;
}

.recu-section h2 {
  font-size: 14px;
  text-transform: uppercase;
  color: #888;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
  margin-bottom: 12px;
}

.recu-ligne {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
}

.recu-ligne span:first-child {
  color: var(--text-soft);
}

.recu-ligne span:last-child {
  font-weight: 500;
  color: var(--text);
}

.recu-total {
  background: var(--primary);
  color: white;
  padding: 16px 20px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 25px;
}

.recu-footer {
  text-align: center;
  color: #aaa;
  font-size: 12px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.recu-footer p {
  margin: 4px 0;
}

@media print {
  body {
    background: white;
  }

  .recu-boutons {
    display: none;
  }

  .recu {
    box-shadow: none;
    border-radius: 0;
    padding: 20px;
    margin: 0;
  }
}
