/* Basic editor layout */
:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #222;
}
body {
  /* margin: 0; */
  padding: 20px;
  background: transparent;
}
/* header {
  margin-bottom: 12px;
} */
.muted {
  color: #666;
}
.small {
  font-size: 12px;
}

.small {
  font-size: 12px;
}
.medium {
  font-size: 14px;
}

.module {
  background: #fff;
  padding: 16px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.container {
  display: flex;
  flex-flow: column;
  gap: 10px;
}
.editor {
  flex: 1;
  /* max-width: 33.33%; */
  background: #fff;
  padding: 16px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.preview {
  flex: 1;
  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: calc(100% - 17px);
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #e2e2e2;
}
.row {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

/* Flip to column on smaller screens */
@media (max-width: 768px) {
  .row {
    flex-direction: column;
  }
}

.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;
}

.copyright-text {
  display: inline-flex;
  align-items: center; /* vertical centring */
}

.icon-text {
  display: inline-flex;
  align-items: center; /* vertical centring */
  gap: 0.4rem; /* space between icon + text */
}
