/*
Theme Name: BlackArch
Author: Dariengroup
Author URI: https://dariengroup.com
Version: 1.1
*/

.happy-holidays-form .wpforms-container {
  margin-top: 1rem;
}

.happy-holidays-form input[type="text"],
.happy-holidays-form input[type="email"],
.happy-holidays-form input[type="tel"],
.happy-holidays-form select,
.happy-holidays-form textarea {
  display: inline-block;
  width: 100%;
  font-size: 1rem;
  font-family: "Helvetica", "Arial", sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0;
  color: #000;
  background-color: #fff;
  border: 1px solid #000;
  border-radius: 0;
  box-shadow: none;
  box-sizing: border-box;
  height: 56px;
  padding: 0 1.2rem;
  line-height: normal;
}

.happy-holidays-form .wpforms-field input::placeholder,
.happy-holidays-form .wpforms-field textarea::placeholder {
  color: rgba(0, 0, 0, 0.4);
  opacity: 1;
}

.happy-holidays-form .wpforms-field select option[value=""],
.happy-holidays-form .wpforms-field select option.placeholder,
.happy-holidays-form .wpforms-field select:invalid {
  color: rgba(0, 0, 0, 0.4) !important;
}

.happy-holidays-form .wpforms-field select option:not(:first-child) {
  color: rgba(0, 0, 0, 1) !important;
}

.happy-holidays-form .field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.happy-holidays-form .radio-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.happy-holidays-form .radio-group input[type="radio"] {
  margin-right: 0.3em;
}
.happy-holidays-form .radio-group label {
  margin-right: 1.5em;
  font-weight: 500;
}

.happy-holidays-form .conditional-input {
  display: none;
}

.happy-holidays-form .wpforms-label-hide {
  visibility: hidden;
}
.happy-holidays-form .wpforms-submit-container {
  text-align: center;
  margin-top: 0;
  position: relative;
}

.happy-holidays-form .wpforms-submit,
.happy-holidays-form .wpforms-submit-spinner {
  display: inline-block;
  vertical-align: middle;
}

.happy-holidays-form .wpforms-submit-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.happy-holidays-form fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-inline-size: 0;
}

.happy-holidays-form .wpforms-field-address .wpforms-field-row > div {
  display: flex;
  flex-direction: column-reverse;
}

.happy-holidays-form .wpforms-field-address-address1 .after {
  display: none;
}

.happy-holidays-form .wpforms-field-radio ul {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.happy-holidays-form .wpforms-field label {
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.happy-holidays-form .wpforms-layout-column {
  padding: 0 !important;
  margin: 0 !important;
}

.happy-holidays-form .wpforms-layout-row {
  margin: 0 !important;
  gap: 1.5rem;
}

.happy-holidays-form .wpforms-field-radio legend {
  margin-bottom: 1rem;
}

.happy-holidays-form
  .wpforms-field-address-address1
  + label.wpforms-field-sublabel.after {
  display: none !important;
}

.happy-holidays-form .wpforms-field-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  box-sizing: border-box;
}

.happy-holidays-form .wpforms-field-row > * {
  flex: 1 1 100%;
  box-sizing: border-box;
}

.happy-holidays-form
  .wpforms-field-row
  .wpforms-field-row-block.wpforms-one-half {
  flex: 1 1 calc(50% - 0.75rem);
}

@media (max-width: 600px) {
  .happy-holidays-form
    .wpforms-field-row
    .wpforms-field-row-block.wpforms-one-half {
    gap: 0;
    flex-basis: 100%;
  }
  .happy-holidays-form .wpforms-field-row,
  .happy-holidays-form .wpforms-layout-row {
    gap: 0;
  }
  .happy-holidays-form .wpforms-label-hide {
    visibility: visible;
  }
}

.happy-holidays-form input[type="radio"] {
  transform: scale(1.6);
  accent-color: black;
  cursor: pointer;
}

.happy-holidays-form .wpforms-field-radio label {
  margin-left: 0.5rem;
  cursor: pointer;
}

.happy-holidays-form .wpforms-conditional-field {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(-0.5rem);
  transition: opacity 0.3s ease, max-height 0.4s ease, transform 0.3s ease;
}

.happy-holidays-form .wpforms-conditional-field.wpforms-conditional-show {
  opacity: 1;
  max-height: 200px;
  transform: translateY(0);
}

.happy-holidays-form .wpforms-field.wpforms-has-error input,
.happy-holidays-form .wpforms-field.wpforms-has-error select,
.happy-holidays-form .wpforms-field.wpforms-has-error textarea {
  border-color: #d63638 !important;
  background-color: #fff5f5 !important;
  box-shadow: 0 0 0 1px #d63638 inset !important;
}

.happy-holidays-form
  .wpforms-field-container
  > .wpforms-field:not(.wpforms-field-layout),
.happy-holidays-form .wpforms-layout-column > .wpforms-field {
  position: relative;
  margin-bottom: 1.5rem;
}

.happy-holidays-form .wpforms-field.wpforms-has-error input,
.happy-holidays-form .wpforms-field.wpforms-has-error select,
.happy-holidays-form .wpforms-field.wpforms-has-error textarea {
  border-color: #d63638 !important;
  background-color: #fff5f5 !important;
  box-shadow: 0 0 0 1px #d63638 inset !important;
  margin-bottom: 0;
}

.happy-holidays-form .wpforms-field.wpforms-has-error[id*="-container"] {
  padding-bottom: 1.3rem;
}

.happy-holidays-form em.wpforms-error {
  position: absolute;
  bottom: 0;
  right: 1px;
  transform: translateY(100%);
  background: #d00;
  color: #fff;
  font-size: 0.8rem;
  line-height: 1.2;
  font-style: normal;
  padding: 0.25rem 0.5rem;
  border-radius: 0;
  white-space: nowrap;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.happy-holidays-form 
.wpforms-field.wpforms-has-error 
.wpforms-field-address-address2 {
  border-color: #000 !important;
  background-color: #fff !important;
  box-shadow: none !important;
}

.happy-holidays-form .wpforms-has-error em.wpforms-error {
  opacity: 1;
}

.happy-holidays-form .wpforms-field.wpforms-has-error[id*="-container"] {
  padding-bottom: 0;
}

.happy-holidays-form .wpforms-field-address .wpforms-field-row {
  margin-bottom: 1.5rem;
}

.happy-holidays-form .wpforms-field-address .wpforms-field-row:last-child {
  margin-bottom: 0;
}

.happy-holidays-form .wpforms-field-address .wpforms-field-row-block {
  margin-bottom: 0;
}

.happy-holidays-form .wpforms-field-label {
  display: block;
  margin-bottom: 0.5rem;
}

.happy-holidays-form .wpforms-conditional-field {
  overflow: visible;
}

@media (max-width: 600px) {
  .happy-holidays-form .wpforms-field-address .wpforms-field-row {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .happy-holidays-form .wpforms-field-address .wpforms-field-row-block {
    margin-bottom: 0;
  }
}

.happy-holidays-form .wpforms-container {
  font-family: "Helvetica", "Arial", sans-serif;
}

.happy-holidays-form .wpforms-hidden {
  display: none !important;
  visibility: hidden !important;
}

.happy-holidays-form .wpforms-submit {
  display: none !important;
}

.happy-holidays-form .wpforms-submit-spinner {
  display: none !important;
}

.happy-holidays-form .wpforms-submit {
  display: none !important;
}

.happy-holidays-form .button .text {
  position: relative;
  transition: all 0.3s ease;
}

.happy-holidays-form .wpforms-submit[aria-disabled="true"] ~ .button .text {
  visibility: hidden;
}

.happy-holidays-form .wpforms-submit[aria-disabled="true"] ~ .button .text::after {
  content: "Sending...";
  visibility: visible;
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  opacity: 1;
}

.happy-holidays-form .wpforms-submit[aria-disabled="true"] ~ .button .text::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: 8px;
  border: 2px solid rgba(0,0,0,0.4);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  vertical-align: middle;
  opacity: 0.7;
  position: absolute;
  left: calc(50% - 2em);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.happy-holidays-form .wpforms-field-address .wpforms-field-required + .wpforms-field-sublabel.after::after {
  content: " *";
  color: #000;
  font-weight: 700;
}

.happy-holidays-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='12' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23000' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px 8px;
  padding-right: 2.5rem;
  border: 1px solid #000;
  border-radius: 0;
  font-size: 1rem;
  color: #000;
  transition: background-image 0.2s ease, transform 0.2s ease;
}

.happy-holidays-form select.is-open {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='12' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 7l5-5 5 5' stroke='%23000' stroke-width='2' fill='none'/%3E%3C/svg%3E");
}
