/* Signature generator page */
.signature-page {
  display: flex;
  justify-content: center;
  padding: 2rem 1rem;
}

.signature-container {
  background-color: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  max-width: 700px;
  width: 100%;
  box-sizing: border-box;
}

.signature-container h1 {
  font-size: 1.5rem;
  color: #3d2b5a;
  margin-bottom: 0.25rem;
  text-align: center;
}

.signature-container .subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.signature-container h2 {
  font-size: 1.15rem;
  color: #3d2b5a;
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #ece7f2;
}

.signature-form .form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 0;
}

.signature-form .form-group {
  flex: 1;
}

.signature-form label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: #3d2b5a;
}

.signature-form input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.65rem 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: 'Open Sans', sans-serif;
  transition: border-color 0.2s;
}

.signature-form input:focus {
  outline: none;
  border-color: #6f4da4;
  box-shadow: 0 0 0 3px rgba(111, 77, 164, 0.12);
}

.signature-preview-wrapper {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem;
  min-height: 80px;
}

.signature-actions {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-copy {
  background-color: #6f4da4;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  transition: background-color 0.2s ease-in-out;
  white-space: nowrap;
}

.btn-copy:hover {
  background-color: #5a3d8a;
}

.btn-copy:active {
  transform: scale(0.98);
}

.copy-feedback {
  font-size: 0.9rem;
  font-weight: 600;
  transition: opacity 0.3s;
}

.copy-feedback.success {
  color: #2e7d32;
}

.copy-feedback.error {
  color: #c62828;
}

.instructions {
  margin-top: 2rem;
  padding: 1.25rem;
  background-color: #f5f0fa;
  border-radius: 8px;
  border-left: 4px solid #6f4da4;
}

.instructions h3 {
  font-size: 1rem;
  color: #3d2b5a;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.instructions ol {
  margin: 0;
  padding-left: 1.25rem;
}

.instructions li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #444;
}

@media (max-width: 600px) {
  .signature-form .form-row {
    flex-direction: column;
    gap: 0;
  }

  .signature-container {
    padding: 1.5rem;
  }

  .signature-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .copy-feedback {
    text-align: center;
  }
}
