/* dwFormPopup 27jun2025 */

.dwFormPopup {
  position: fixed;
  width: 100vw;
  top: 0;
  height: 100vh;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  z-index: 99999;
}

.dwFormPopup .flexed {
  max-width: 450px;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  border-radius: 0.5rem;
  overflow: hidden;
}

.dwFormPopup .flexed p.title {
  background: #0e3b19;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 0.6rem 1rem;
  margin: 0;
  text-align: center;
}

.dwFormPopup.warn .flexed p.title {
  background: #cd0000;
}

.dwFormPopup form.flexed {
  padding: 0.8rem 1.2rem;
  gap: 0.5rem;
}

.dwFormPopup form.flexed input[type="text"],
.dwFormPopup form.flexed input[type="tel"],
.dwFormPopup form.flexed input[type="email"] {
  padding: 0.8rem 1.2rem;
  border: 1px solid #aaa;
  border-radius: 0.3rem;
  width: 100%;
}

.dwFormPopup form.flexed .checkboxed label {
  display: flex;
  gap: 0.45rem;
}

.dwFormPopup .flexed p {
  color: #212121;
  font-size: 1rem;
  width: 100%;
  padding: 0.7rem 1.2rem;
  text-align: center;
}

.dwFormPopup button.cancel {
  border: none;
  background: none;
  padding: 0 1rem 0.7rem;
  transition: 200ms;
  cursor: pointer;
}
.dwFormPopup button.cancel:hover {
  text-decoration: underline;
}

.dwFormPopup form.flexed button {
  border-radius: 10rem;
  border: 1px solid #0e3b19;
  background: #0e3b19;
  padding: 0.5rem 2rem;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 1rem;
  max-width: fit-content;
  color: #fff;
  cursor: pointer;
  transition: 200ms;
  letter-spacing: 0.2rem;
  margin: .5rem 0 0;
}
.dwFormPopup form.flexed button:hover {
  background: transparent;
  color: #0e3b19;
}

.dwFormPopup.warn form.flexed button {
  border: 1px solid #cd0000;
  background: #cd0000;
}
.dwFormPopup.warn form.flexed button:hover {
  background: transparent;
  color: #cd0000;
}
