/* Basic editor layout */
:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #222;
}
body {
  margin: 0;
  padding: 20px;
  background: #fafafa;
}
header {
  margin-bottom: 12px;
}
.muted {
  color: #666;
}
.small {
  font-size: 12px;
}
.container {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.editor {
  flex: 1;
  max-width: 480px;
  background: #fff;
  padding: 16px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.preview {
  flex: 1;
  background: #fff;
  padding: 16px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
}
label input[type="text"],
label input,
label textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
}
.row {
  display: flex;
  gap: 10px;
}
.row label {
  flex: 1;
}
.actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
button {
  background: #0078d4;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
}
button:hover {
  opacity: 0.95;
}
.signature-preview {
  min-height: 120px;
}

/* ensure preview displays signature as in email */
.signature-preview table {
  font-family: Arial, sans-serif;
}
.signature-preview a {
  color: #202124;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 900px) {
  .container {
    flex-direction: column;
  }
}

.diagnostics {
  margin-top: 12px;
}
.clipboard-output {
  background: #f6f8fa;
  padding: 8px;
  border-radius: 4px;
  height: 150px;
  overflow: auto;
  border: 1px solid #e1e4e8;
}
