@charset "utf-8";

.form_placeholder {
  display: flow-root;
}
/* outer wrapper */
.form_placeholder fieldset {
  border: none;
  margin: 0;
  padding: 0;
}

.form_placeholder .form-wrapper {
  width: 100%;
  margin: 3rem auto;
  box-sizing: border-box;
  background-color: #ffffff;
}

/* heading */
.form_placeholder .form-wrapper h2 {
  color: #23408f;
  font-size: 2rem;
  margin: 0 0 1.5rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.02em;
}

.form_placeholder .form-wrapper h2 span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.95rem;
  color: #4b5563;
}

/* base form layout */
.form_placeholder form {
  margin: 0 2em;
}

/* map Concrete field groups into the layout */
.form_placeholder form .mb-3 {
  position: relative;
}

/* labels */
.form_placeholder form label,
.form_placeholder .form-label {
  display: none;
  font-weight: 600;
  color: #767676;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

/* inputs / selects / textareas */
.form_placeholder form input,
.form_placeholder form select,
.form_placeholder form textarea,
.form_placeholder form .form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  box-sizing: border-box;
}

.form_placeholder form input:focus,
.form_placeholder form select:focus,
.form_placeholder form textarea:focus,
.form_placeholder form .form-control:focus {
  border-color: #a3164f;
  outline: none;
  background-color: #ffffff;
}

/* checkbox and radio rows */
.form_placeholder form .form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

/* help text */
.form_placeholder form .form-text,
.form_placeholder form .text-muted {
  color: #6b7280;
  font-size: 0.85rem;
}

/* convert Required text to red asterisk inside this form only */
.form_placeholder form .text-muted {
  position: absolute;
  color: transparent !important;
  font-size: 0;
  top: 5px;
  left: 10px;
}

.form_placeholder form .text-muted::before {
  content: "*";
  color: #d93025;
  font-size: 1.1rem;
  font-weight: 700;
}

/* label alignment when using this id */
.form_placeholder #contactForm label {
  position: relative;
  padding-left: 10px;
}

/* captcha block */
.form_placeholder form .captcha,
.form_placeholder form .g-recaptcha,
.form_placeholder form .captcha-ui {
  margin: 1.5rem 0;
}

/* submit actions */
.form_placeholder form .form-actions {
  margin-top: 1.5rem;
}

.form_placeholder form .form-actions .btn[type="submit"],
.form_placeholder form button[type="submit"] {
  background-color: #e12571;
  color: #ffffff;
  padding: 0.85rem 2.25rem;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form_placeholder form .form-actions .btn[type="submit"]:hover,
.form_placeholder form button[type="submit"]:hover {
  background-color: #a3164f;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.22);
  transform: translateY(-1px);
}

.form_placeholder form .form-actions .btn[type="submit"]:active,
.form_placeholder form button[type="submit"]:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
}

/* success notice */
.form_placeholder #formSuccessPopup {
  display: block;
  margin-top: 2rem;
  padding: 1.4rem 1.6rem;
  background-color: #e0f2fe;
  border: 1px solid #bae6fd;
  color: #075985;
  border-radius: 10px;
  font-weight: 500;
  text-align: center;
}

/* error alert */
.form_placeholder .alert.alert-danger {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #7f1d1d;
  border-radius: 10px;
  padding: 0.9rem 1.2rem;
  margin-bottom: 1rem;
}

/* responsive */
@media (max-width: 640px) {
  .form_placeholder .form-wrapper {
    margin: 2rem 1rem;
    padding: 1.5rem 1.25rem;
  }

  .form_placeholder .form-wrapper h2 {
    font-size: 1.6rem;
  }
}

