/*
".custom-grid-form_wrapper .custom-grid-form" is a CSS specificity
hack to make sure that the Gravity Forms CSS doesn't override us
and prevents us from having to use !important
*/

.custom-grid-form_wrapper .custom-grid-form fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
.custom-grid-form_wrapper .custom-grid-form .gform_fields {
  display: grid;
  grid-template-areas: "hidden hidden" "desc desc" "name email";
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 0 auto min-content;
  gap: 20px;
}
@media(max-width: 991px) {
    .custom-grid-form_wrapper .custom-grid-form .gform_fields {
        grid-template-areas: "hidden" "desc" "name" "email";
        grid-template-columns: auto;
        grid-template-rows: 0 auto min-content min-content;
    }
     .custom-grid-form_wrapper .cta-flow {
        flex-wrap: wrap;
    }
}
.custom-grid-form_wrapper .custom-grid-form .gform_fields #field_1_3 {
  grid-area: desc;
  margin-top: -20px;
}
.custom-grid-form_wrapper .custom-grid-form .gform_fields #field_1_1 {
  grid-area: name;
}
.custom-grid-form_wrapper .custom-grid-form .gform_fields #field_1_2 {
  grid-area: email;
}
.custom-grid-form_wrapper .custom-grid-form .gform_fields #field_1_7,
.custom-grid-form_wrapper .custom-grid-form .gform_fields #field_1_8,
.custom-grid-form_wrapper .custom-grid-form .gform_fields #field_1_9,
.custom-grid-form_wrapper .custom-grid-form .gform_fields #field_1_10 {
  grid-area: hidden;
}
.custom-grid-form_wrapper .custom-grid-form .gfield_description {
  color: #FFF;
}

.custom-grid-form_wrapper .custom-grid-form .gfield input,
.custom-grid-form_wrapper .custom-grid-form .gfield textarea {
    background-color: transparent;
    color: #fff;
    padding: 2px 15px;
    margin-top: 6px;
    margin-right: 2px;
    font-family: "Inter", sans-serif;
    border: 2px solid transparent;
    border-image-slice: 1;
    border-image-source: var(--default-gradient);
}
.custom-grid-form_wrapper .custom-grid-form .gfield textarea {
    height: 65px;
    padding-block: 8px;
}
.custom-grid-form_wrapper .gform_submission_error,
.custom-grid-form_wrapper .gform_submission_error .gform-icon,
.custom-grid-form_wrapper .gform_validation_error_link,
.custom-grid-form_wrapper .gform_validation_errors ol li::before {
  color: #FFF !important;
}
.custom-grid-form_wrapper .gform_validation_errors ol {
  margin-bottom: 0 !important;
}

.custom-grid-form_wrapper .gform_validation_errors {
  border-color: #1a464d !important;
  background-color: #121212;
}
.custom-grid-form_wrapper .gform_submission_error .gform-icon {
  border-color: #FFF !important;
}


.custom-grid-form_wrapper .custom-grid-form .cta-same-day-wrapper,
.custom-grid-form_wrapper .custom-grid-form .cta-meet-wrapper
{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 2rem;
    align-items: center;
}

@media(max-width: 991px) {
    .custom-grid-form_wrapper .custom-grid-form .cta-flow {
      justify-content: center;
    }
    .custom-grid-form_wrapper .custom-grid-form .cta-flow .button-wrapper {
      flex: 0 0 100%;
      text-align: center;
    }
    .custom-grid-form_wrapper .custom-grid-form .cta-same-day-wrapper .flow-arrow
    {
      display: none;
    }
}

.custom-grid-form_wrapper .custom-grid-form span[data-next-step] {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
}

.custom-grid-form_wrapper .custom-grid-form span[data-next-step] .vs-sweep-clock {
  display: none;
}

.custom-grid-form_wrapper .custom-grid-form span[data-next-step].cta-active > span {
  background-image: linear-gradient(90deg, #37a5fa 0%, #00d4ff 100%);
  background-clip: text;
  color: transparent;
}

.custom-grid-form_wrapper .custom-grid-form span[data-next-step].cta-active .vs-sweep-clock {
  display: block;
}

.vs-sweep-clock {
  display: inline-block;
  vertical-align: -0.15em; /* baseline-align with adjacent text */
  width: 32px;
  height: 32px;
  flex: none;
}