/* forms.css */

@import url('settings.css');

.form-section {
  display: none;
  transition: all;
  transition-duration: 1000ms;
}

.form.active {
  display: grid !important;
  /* padding-left: 3.8rem;
  padding-right: 3.8rem; */
  gap: 1rem;
}

.form {
  display: none;
  max-width: 600px;
  height: auto;
  padding: 1.25rem;
  text-align: center;
  background-color: var(--white);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 0.8s ease-out both;
}

@media (max-width: 1024px ) {
  .form {
    max-width: 800px;
    padding: 2rem 5rem;
  }
}

@media (max-width: 768px) {
  .form {
    padding: 2rem;
  }
}

.form .form--close {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.form .form--close button.close-btn{
  all: unset;
}

.close-btn svg {
  height: 1.25rem;
  width: 1.25rem;
}


/* Custom Radio */
.custom-radio-symbol {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.custom-radio-symbol .checkmark-path {
  stroke-dasharray: 22;
  stroke-dashoffset: 22;
  transition: stroke-dashoffset 0.3s ease;
}
input.custom-radio:checked + .custom-radio-symbol .checkmark-path {
  stroke-dashoffset: 0;
}

.custom-radio-circle svg path {
  stroke-dasharray: 22;
  stroke-dashoffset: 22;
  transition: stroke-dashoffset 0.4s ease;
}

input.custom-radio:checked + .custom-radio-circle svg path {
  stroke-dashoffset: 0;
}

@media (max-width: 1024px ) {
  .close-btn svg {
    height: 2.5rem;
    width: 2.5rem;
  }
}



.form label {
  margin-bottom: 10px;
}

.field--label {
  font-size: 14px;
  font-weight: 600;
  display: block;
}

.field--input {
  font-size: 16px;
  line-height: 28px;

  width: 100%;
  min-height: 44px;
  border: unset;
  border-radius: 4px;
  outline-color: rgb(43, 30, 74 / 0.5);
  background-color: rgb(255, 255, 255);
  box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px,
  rgba(0, 0, 0, 0) 0px 0px 0px 0px,
  rgba(0, 0, 0, 0) 0px 0px 0px 0px,
  rgba(60, 66, 87, 0.16) 0px 0px 0px 1px,
  rgba(0, 0, 0, 0) 0px 0px 0px 0px,
  rgba(0, 0, 0, 0) 0px 0px 0px 0px,
  rgba(0, 0, 0, 0) 0px 0px 0px 0px;
}

.form--row {
  display: flex;
  gap: 10px;
}

.form--row .field--input {
  flex: 1;
}

.checkbox-wrapper-33 {
  --s-xsmall: 0.625em;
  --s-small: 1.2em;
  --border-width: 1px;
  --c-primary: #5F11E8;
  --c-primary-20-percent-opacity: rgb(95 17 232 / 20%);
  --c-primary-10-percent-opacity: rgb(95 17 232 / 10%);
  --t-base: 0.4s;
  --t-fast: 0.2s;
  --e-in: ease-in;
  --e-out: cubic-bezier(.11,.29,.18,.98);
}

.checkbox-wrapper-33 .visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.checkbox-wrapper-33 .checkbox {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.checkbox-wrapper-33 .checkbox + .checkbox {
  margin-top: var(--s-small);
}

.checkbox-wrapper-33 .checkbox__symbol {
  display: inline-block;
  display: flex;
  margin-right: calc(var(--s-small) * 0.7);
  border: var(--border-width) solid var(--c-primary);
  position: relative;
  border-radius: 0.1em;
  width: 1.1em;
  height: 1.1em;
  transition: box-shadow var(--t-base) var(--e-out), background-color var(--t-base);
  box-shadow: 0 0 0 0 var(--c-primary-10-percent-opacity);
}

.checkbox-wrapper-33#next-week .checkbox__symbol {
  width: 1.5em;
  height: 1.5em;
}

.checkbox-wrapper-33 .checkbox__symbol:after {
  content: "";
  position: absolute;
  top: 0.5em;
  left: 0.5em;
  width: 0.25em;
  height: 0.25em;
  background-color: var(--c-primary-20-percent-opacity);
  opacity: 0;
  border-radius: 3em;
  transform: scale(1);
  transform-origin: 50% 50%;
}
.checkbox-wrapper-33 .checkbox .icon-checkbox {
  width: 0.8em;
  height: 0.8em;
  margin: auto;
  fill: none;
  stroke-width: 3;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-miterlimit: 10;
  color: var(--c-primary);
  display: inline-block;
}

.checkbox-wrapper-33#next-week .checkbox .icon-checkbox {
  width: 1em;
  height: 1em
}

.checkbox-wrapper-33 .checkbox .icon-checkbox path {
  transition: stroke-dashoffset var(--t-fast) var(--e-in);
  stroke-dasharray: 30px, 31px;
  stroke-dashoffset: 31px;
}

.checkbox-wrapper-33 .checkbox__textwrapper {
  margin: 0;
}

.checkbox-wrapper-33#next-week .checkbox__textwrapper {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 550;
}

.checkbox-wrapper-33 .checkbox__trigger:checked + .checkbox__symbol:after {
  -webkit-animation: ripple-33 1.5s var(--e-out);
          animation: ripple-33 1.5s var(--e-out);
}
.checkbox-wrapper-33 .checkbox__trigger:checked + .checkbox__symbol .icon-checkbox path {
  transition: stroke-dashoffset var(--t-base) var(--e-out);
  stroke-dashoffset: 0px;
}
.checkbox-wrapper-33 .checkbox__trigger:focus + .checkbox__symbol {
  box-shadow: 0 0 0 0.25em var(--c-primary-20-percent-opacity);
}

.checkbox-wrapper-33 .checkbox + .checkbox {
  margin-top: 0;
}

.checkbox-wrapper-33 .checkbox__symbol#lawyer {
  width: 1.25em;
  height: 1.25em;
}

.checkbox-wrapper-33 .checkbox .icon-checkbox#lawyer {
  width: 1em;
  height: 1em;
}

.checkbox__textwrapper#lawyer {
  font-size: 0.8em;
}

.checkbox-wrapper-33.specialization .checkbox__symbol {
  width: 2em;
  height: 2em;
}

.checkbox-wrapper-33.specialization .checkbox .icon-checkbox {
  width: 1.5em;
  height: 1.5em;
}

.checkbox-wrapper-33.specialization .checkbox__textwrapper {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

@media (max-width: 1024px) {
  .checkbox-wrapper-33 {
    padding: 0.8em;
    gap: 1.2em;
    transform: scale(1.15);
  }

  .checkbox-wrapper-33#next-week .checkbox__textwrapper {
    margin: 0;
    font-size: 1.875rem;
    font-weight: 550;
  }

  .checkbox-wrapper-33 .checkbox__symbol {
    width: 1.5em;
    height: 1.5em;
  }

  .checkbox-wrapper-33#days .checkbox__symbol {
    width: 1.5em;
    height: 1.5em;
    stroke-width: 3;
  }

  .checkbox-wrapper-33 .checkbox .icon-checkbox {
    width: 1.25em;
    height: 1.25em;
    stroke-width: 3;
  }

  .checkbox__textwrapper {
    font-size: 1em;
  }

  .checkbox-wrapper-33#days .checkbox__textwrapper {
    font-size: 1.5em;
  }

  .checkbox-wrapper-33#next-week .checkbox__symbol {
    width: 2em;
    height: 2em;
    stroke-width: 3;
  }

  .checkbox-wrapper-33#next-week .checkbox .icon-checkbox {
    width: 1.5em;
    height: 1.5em;
  }

  .checkbox-wrapper-33 .checkbox__symbol#lawyer {
    width: 1.5em;
    height: 1.5em;
    stroke-width: 3;
  }

  .checkbox-wrapper-33 .checkbox .icon-checkbox#lawyer {
    width: 1em;
    height: 1em;
    stroke-width: 3;
  }

  .checkbox__textwrapper#lawyer {
    font-size: 1.2em;
  }

  .checkbox-wrapper-33.specialization .checkbox__textwrapper {
    font-size: 1.5em;
  }
}


@-webkit-keyframes ripple-33 {
  from {
    transform: scale(0);
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: scale(20);
  }
}

@keyframes ripple-33 {
  from {
    transform: scale(0);
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: scale(20);
  }
}

.consult-price-form {
  display: none;
}