body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  background-color: #f5f5f7;
  margin: 0;
  padding: 40px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  box-sizing: border-box;
}
[hidden] { display: none !important; }
.email-container {
  background: #ffffff;
  border-radius: 12px;
  padding: 32px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  color: #1d1d1f;
}
.header { margin-bottom: 8px; }
.header-store {
  margin: 0 0 6px 0;
  font-size: 12px;
  color: #86868b;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 600;
}
.header-title {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.4px;
}
.details-card {
  background: #f5f5f7;
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
}
.details-card.centered { text-align: center; }
.label { margin: 0 0 4px 0; font-size: 13px; color: #86868b; }
.value { margin: 0 0 16px 0; font-size: 16px; font-weight: 500; color: #1d1d1f; }
.value:last-child { margin-bottom: 0; }
.capitalize { text-transform: capitalize; }
.reply-text { font-size: 15px; line-height: 1.55; font-weight: 400; white-space: pre-wrap; }
.message { margin: 0; color: #1d1d1f; font-size: 15px; line-height: 1.6; white-space: pre-line; }

/* Final "All set!" screen: separate narrower card, same as the n8n confirmation page */
body.done { padding: 20px; height: 100vh; }
.done-card {
  background: #ffffff;
  padding: 40px 32px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  max-width: 400px;
  width: 100%;
  text-align: center;
  color: #1d1d1f;
}
.done-card h2 { margin: 0 0 8px 0; font-size: 24px; font-weight: 600; letter-spacing: -0.4px; }
.done-card p { margin: 0; color: #86868b; font-size: 15px; line-height: 1.5; }
.status {
  margin-top: 24px;
  padding: 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
}
.status.approve { background: #eef8f0; color: #248a3d; }
.status.reject { background: #f2f2f7; color: #4a4a4a; }
.done-card .footnote { margin-top: 28px; font-size: 13px; color: #a1a1a6; }
button {
  width: 100%;
  padding: 13px 24px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  box-sizing: border-box;
}
button:hover { opacity: 0.9; }
button:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-approve-dark { background-color: #1d1d1f; color: #ffffff; border: none; }
.btn-approve-blue { background-color: #0096d6; color: #ffffff; border: none; }
.btn-reject { background-color: #ffffff; color: #4a4a4a; border: 1px solid #d1d1d1; }
