/* Contactform styling */
.contactform-container {
  position: relative;
  padding-top: 20px;
  max-width: 80vw;
  color: #d3d3d3;
  font-family: 'Lora', serif;
  font-weight: normal;
  font-size: 1.25rem;
  height: 80vh;
  margin: 0 auto;
}

.contactform-title {
  font-size: 2rem;
}

.contactform-status-success {
  color: green;
  font-weight: bold;
  margin-bottom: 10px;
}

.contactform-status-error {
  color: red;
  font-weight: bold;
  margin-bottom: 10px;
}

.contactform-inputfield-container {
  margin-bottom: 1rem;
  position: relative;
  font-size: 18px;
  color: #673211;
  letter-spacing: 1.5px;
  box-sizing: border-box;
  padding: 10px 10px 10px 10px;
  width: 100%;
  max-width: 100%;
}

.contactform-inputfield {
  width: 97%;
  padding: 0.5rem;
  border-radius: 4px;
  border-top: 1px solid #222;
  border-left: 1px solid #222;
  border-bottom: 1px solid #d3d3d3;
  border-right: 1px solid #d3d3d3;
  font-size: 16px;
  background-color: #464646;
  color: #d3d3d3;
  font-family: 'Open Sans', Tahoma, Geneva, sans-serif;
  line-height: 1.5;
  box-shadow: inset 3px 3px 8px #232323, inset -3px -3px 8px #5a5a5a;
}

.contactform-send-button {
  background-color: #666;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
}

.contactform-button {
  cursor: pointer;
  border-radius: 20px;
  border: 1px solid #464646;
  padding-left: 20px;
  padding-right: 20px;
  width: fit-content;
  color: #d3d3d3;
  font-family: 'Lora';
  font-weight: normal;
  font-size: 1.25rem;
  background: none;
}

.contactform-button:disabled {
  color: #636363;
  cursor: default;
}

.contactform-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.contactform-overlay.is-visible {
  display: flex;
}

.contactform-overlay-box {
  min-width: 280px;
  max-width: 420px;
  padding: 24px 28px;
  border-radius: 12px;
  background: #2e2e2e;
  border: 1px solid #555;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.contactform-overlay-box p {
  margin: 12px 0 0 0;
  color: #f0f0f0;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.contactform-spinner {
  width: 42px;
  height: 42px;
  margin: 0 auto;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.18);
  border-top-color: #ffffff;
  animation: contactform-spin 0.85s linear infinite;
}

@keyframes contactform-spin {
  to {
    transform: rotate(360deg);
  }
}