/* HTR One-Time Link - frontend styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Layout container */
.htr-secret-wrapper {
  max-width: 800px;
  margin: 4rem auto;
  background: #ffffff;
  padding: 2.5rem 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

/* Titel */
.htr-title {
  text-align: center;
  color: #0062ad;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Horizontale lijn */
.htr-subline {
  border: none;
  border-top: 1px solid #ccc;
  width: 100%;
  margin: 0 auto 2rem auto;
}

/* Tekstblokken */
.htr-subtext {
  font-size: 1rem;
  font-weight: 100;
  line-height: 1.5;
  color: #444;
}

.htr-subheading {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 2rem 0 0.5rem 0;
  color: #222;
}

/* highlight box */
.htr-box {
  padding: 1rem;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 300;
  text-align: center;
  margin: 0 0 2rem 0;
  width: 100%;
}
/* Waarschuwingen */
.htr-box.warning {
  background: #fffbe6;
  color: #555;
}
/* Rode foutbox */
.htr-box.error {
  background: #ffe6e6;
  color: #cc0f35;
  margin-top: 2rem;
  margin-bottom: 3rem;
}

/* buttons */
.htr-btn {
  background: #0062ad;
  color: white;
  border: none;
  padding: 0.8rem 1rem;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 6px;
  margin: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.htr-btn:hover {
  background: #ff871c;
}

.htr-btn .et-pb-icon {
  margin-right: 0.5rem;
  font-size: 1.1rem;
}

.htr-btn-icon {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #fff;
  color: #0062ad;
  border: 1px solid #ccc;
  padding: 4px 6px;
  font-size: 1rem !important;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.2s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  z-index: 10;
  display: inline-flex;
  align-items: center;
}

.htr-btn-icon:hover {
  background: #f5f5f5;
  border-color: #aaa;
}

.htr-btn-icon .et-pb-icon {
  font-size: 1.1rem;
}
/* Secret box */
.htr-secret-box-wrapper {
  position: relative;
  max-width: 100%;
  margin: 1.5rem auto;
}

.htr-secret-box {
  background: #ffffff;
  padding: 1rem;
  padding-right: 2.5rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: monospace;
  font-size: 1.05rem;
  color: #444;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-x: auto;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 2.75rem 0;
}

.htr-secret-textarea {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
  resize: vertical;
  margin-bottom: 2rem;
  box-sizing: border-box;
  background: #fff;
}

.htr-secret-textarea::placeholder {
  color: #aaa;
}
