.ld-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 30, 40, 0.65);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.ld-modal-overlay.ld-modal-open {
  display: flex;
}
.ld-modal {
  background: #ffffff;
  width: 100%;
  max-width: 460px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  padding: 36px 32px 28px;
  position: relative;
  font-family: 'Montserrat', sans-serif;
  animation: ld-modal-in 0.2s ease-out;
}
@keyframes ld-modal-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.ld-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 22px;
  line-height: 1;
  color: #999999;
  cursor: pointer;
  padding: 4px;
}
.ld-modal-close:hover {
  color: #8c8577;
}
.ld-modal h3 {
  margin: 0 0 6px;
  color: #8c8577;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 22px;
}
.ld-modal p.ld-modal-subtitle {
  margin: 0 0 22px;
  color: #666666;
  font-size: 14px;
}
.ld-modal-group {
  margin-bottom: 18px;
}
.ld-modal-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #444444;
}
.ld-modal-group input,
.ld-modal-group textarea {
  width: 100%;
  box-sizing: border-box;
  border: none;
  border-bottom: 2px solid #cccccc;
  padding: 8px 2px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: #222222;
  background: transparent;
  outline: none;
  resize: vertical;
  transition: border-color 0.15s ease;
}
.ld-modal-group input:focus,
.ld-modal-group textarea:focus {
  border-bottom-color: #8c8577;
}
.ld-modal-group textarea {
  min-height: 100px;
}
.ld-modal-error {
  display: none;
  color: #d0021b;
  font-size: 12px;
  margin-top: 4px;
}
.ld-modal-error.ld-modal-error-show {
  display: block;
}
.ld-modal-actions {
  margin-top: 8px;
  text-align: right;
}
.ld-modal-submit {
  background: #8c8577;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 12px 28px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.ld-modal-submit:hover {
  background: #746e61;
}
