/* CSS for HTML to PDF Generator */

.html-to-pdf-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 1rem;
}

.html-to-pdf-inputs {
  flex: 1;
  min-width: 300px;
  padding: 1.5rem;
  background-color: #f9f9f9;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

/* Button Styling */
.html-to-pdf-inputs input[type="submit"] {
  background-color: #0d6efd !important;
  color: #ffffff !important;
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  line-height: 1.2 !important;
  height: auto !important;
  box-sizing: border-box !important;
  margin-top: 0.5rem;
}

.html-to-pdf-inputs input[type="submit"]:hover,
.html-to-pdf-inputs input[type="submit"]:focus {
  background-color: #0d6efd !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  text-decoration: none;
}

/* CAPTCHA Styling */
.html-to-pdf-wrapper .captcha {
  margin-top: 20px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 8px;
}

.html-to-pdf-wrapper .captcha legend,
.html-to-pdf-wrapper .captcha .captcha__title {
  color: var(--color-text-neutral-medium, hsl(201, 15%, 20%));
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 10px;
}

.html-to-pdf-wrapper .captcha .captcha__description {
  color: #a0a0a0;
  font-size: 0.875rem;
  margin-top: 10px;
}

/* Ensure iframe fits if needed */
.html-to-pdf-wrapper .captcha iframe {
  max-width: 100%;
}
