.vincula-form-page,
.vincula-auth-page {
  background: #f7f5fb;
  color: #000;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
}

.vincula-form-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 122px;
  background: var(--vincula-purple, #785ef0);
  color: #fff;
}

.vincula-form-hero::after {
  content: "✦";
  position: absolute;
  right: 5%;
  bottom: -5.5rem;
  color: rgb(255 255 255 / 9%);
  font-size: clamp(13rem, 26vw, 25rem);
  line-height: 1;
  transform: rotate(12deg);
}

.vincula-form-hero__content {
  position: relative;
  z-index: 1;
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
}

.vincula-form-hero__eyebrow,
.vincula-auth-intro__eyebrow {
  display: inline-flex;
  padding: 8px 15px;
  border-radius: 50px;
  background: var(--vincula-yellow, #ffb000);
  color: #000;
  font-size: .69rem;
  font-weight: 850;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.vincula-form-hero h1 {
  margin: 22px 0 14px;
  color: #fff;
  font-size: clamp(2.55rem, 5vw, 4.35rem);
  font-weight: 850;
  letter-spacing: -2.5px;
  line-height: 1.04;
}

.vincula-form-hero p {
  max-width: 650px;
  margin: 0 auto;
  color: rgb(255 255 255 / 86%);
  font-size: 1rem;
  line-height: 1.75;
}

.vincula-form-section {
  position: relative;
  z-index: 2;
  padding: 0 0 105px;
  margin-top: -66px;
}

.vincula-form-card {
  max-width: 920px;
  padding: clamp(28px, 5vw, 54px);
  margin: 0 auto;
  border: 1px solid #e3deeb;
  border-radius: 25px;
  background: #fff;
  box-shadow: 0 22px 65px rgb(45 34 91 / 13%);
}

.vincula-form-card__heading,
.vincula-auth-card__heading {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 25px;
  margin-bottom: 30px;
  border-bottom: 1px solid #e9e5ef;
}

.vincula-form-card__icon,
.vincula-auth-card__icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  border-radius: 14px;
  background: var(--vincula-purple, #785ef0);
  color: #fff;
  font-size: 1.25rem;
}

.vincula-form-card__heading h2,
.vincula-auth-card__heading h2 {
  margin: 0 0 4px;
  color: #000;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 850;
  letter-spacing: -.5px;
}

.vincula-form-card__heading p,
.vincula-auth-card__heading p {
  margin: 0;
  color: var(--vincula-dark, #646464);
  font-size: .84rem;
  line-height: 1.55;
}

.vincula-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.vincula-form__grid--compact {
  align-items: end;
}

.vincula-form__field {
  margin-bottom: 22px;
}

.vincula-form__field > label,
.vincula-form__field > .field_with_errors > label {
  display: block;
  margin: 0 0 8px 2px;
  color: #000;
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .15px;
}

.vincula-form__hint {
  display: block;
  margin: -3px 0 8px 2px;
  color: var(--vincula-dark, #646464);
  font-size: .7rem;
  line-height: 1.5;
}

.vincula-form__field input:not([type="checkbox"]):not([type="radio"]),
.vincula-form__field select,
.vincula-form__field textarea,
.vincula-form__field .field_with_errors input,
.vincula-form__field .field_with_errors select,
.vincula-form__field .field_with_errors textarea {
  width: 100%;
  border: 1px solid #dcd7e6;
  border-radius: 12px;
  background: #fff;
  color: #000;
  font: inherit;
  font-size: .88rem;
  outline: 0;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.vincula-form__field input:not([type="checkbox"]):not([type="radio"]),
.vincula-form__field select,
.vincula-form__field .field_with_errors input,
.vincula-form__field .field_with_errors select {
  min-height: 51px;
  padding: 0 15px;
}

.vincula-form__field textarea,
.vincula-form__field .field_with_errors textarea {
  min-height: 120px;
  padding: 14px 15px;
  line-height: 1.65;
  resize: vertical;
}

.vincula-form__field input::placeholder,
.vincula-form__field textarea::placeholder {
  color: #9993a2;
}

.vincula-form__field input:focus,
.vincula-form__field select:focus,
.vincula-form__field textarea:focus {
  border-color: var(--vincula-purple, #785ef0);
  box-shadow: 0 0 0 4px rgb(120 94 240 / 13%);
}

.vincula-form__field .field_with_errors {
  display: contents;
}

.vincula-form__field .field_with_errors input,
.vincula-form__field .field_with_errors select,
.vincula-form__field .field_with_errors textarea {
  border-color: #c63f57;
}

.vincula-form__file {
  padding: 8px !important;
  line-height: 2.05;
}

.vincula-form__file::file-selector-button {
  padding: 7px 12px;
  margin-right: 12px;
  border: 0;
  border-radius: 8px;
  background: #eeeafd;
  color: var(--vincula-purple, #785ef0);
  font-weight: 800;
  cursor: pointer;
}

.vincula-form__toggle {
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 13px;
  padding: 14px 16px;
  margin-bottom: 22px;
  border: 1px solid #ded9e7;
  border-radius: 13px;
  background: #faf9fc;
  cursor: pointer;
}

.vincula-form__toggle input,
.vincula-form__check input {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  accent-color: var(--vincula-purple, #785ef0);
}

.vincula-form__toggle span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vincula-form__toggle strong {
  color: #000;
  font-size: .8rem;
}

.vincula-form__toggle small {
  color: var(--vincula-dark, #646464);
  font-size: .7rem;
}

.vincula-form__check {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px 2px;
  color: #000;
  cursor: pointer;
  font-size: .78rem;
  font-weight: 700;
}

.vincula-form__notice {
  padding: 14px 16px;
  margin: 0 0 22px;
  border-left: 4px solid var(--vincula-purple, #785ef0);
  border-radius: 0 11px 11px 0;
  background: #f2effc;
  color: var(--vincula-dark, #646464);
  font-size: .76rem;
  line-height: 1.6;
}

.vincula-form__actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 5px;
}

.vincula-form__submit {
  min-height: 49px;
  padding: 0 24px;
  border: 0;
  border-radius: 50px;
  background: var(--vincula-yellow, #ffb000);
  color: #000;
  font-size: .8rem;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 8px 22px rgb(255 176 0 / 24%);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.vincula-form__submit:hover {
  background: #e6a000;
  box-shadow: 0 11px 26px rgb(255 176 0 / 31%);
  transform: translateY(-2px);
}

.vincula-form__submit--wide {
  width: 100%;
}

.vincula-form-errors {
  display: flex;
  gap: 13px;
  padding: 16px;
  margin-bottom: 25px;
  border: 1px solid rgb(228 87 157 / 28%);
  border-left: 5px solid #e4579d;
  border-radius: 15px;
  background: #fff7fb;
  color: #682040;
  box-shadow: 0 12px 30px rgb(79 34 57 / 8%);
}

.vincula-form-errors > span {
  display: grid;
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  place-items: center;
  border-radius: 50%;
  background: #e4579d;
  color: #fff;
  font-weight: 900;
}

.vincula-form-errors h3 {
  margin: 2px 0 7px;
  font-size: .88rem;
  font-weight: 850;
}

.vincula-form-errors ul {
  padding-left: 17px;
  margin: 0;
  font-size: .76rem;
  line-height: 1.6;
}

.vincula-form-card__navigation {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 25px;
  margin-top: 30px;
  border-top: 1px solid #e9e5ef;
}

.vincula-form-card__back,
.vincula-form-card__secondary {
  color: var(--vincula-purple, #785ef0);
  font-size: .76rem;
  font-weight: 800;
  text-decoration: none;
}

.vincula-form-card__back:hover,
.vincula-form-card__secondary:hover {
  color: #5f42df;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.vincula-auth-page {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  padding: 88px 0 105px;
  background: linear-gradient(135deg, #f7f5fb 0%, #eeebf8 100%);
}

.vincula-auth-page::before,
.vincula-auth-page::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgb(120 94 240 / 10%);
}

.vincula-auth-page::before {
  width: 360px;
  height: 360px;
  top: -170px;
  left: -110px;
}

.vincula-auth-page::after {
  width: 270px;
  height: 270px;
  right: -90px;
  bottom: -100px;
}

.vincula-auth-shell {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: 1080px;
  grid-template-columns: minmax(300px, .85fr) minmax(420px, 1.15fr);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgb(120 94 240 / 16%);
  border-radius: 27px;
  background: #fff;
  box-shadow: 0 24px 70px rgb(45 34 91 / 15%);
}

.vincula-auth-intro {
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 6vw, 72px) clamp(32px, 5vw, 58px);
  background: var(--vincula-purple, #785ef0);
  color: #fff;
}

.vincula-auth-intro::after {
  content: "✦";
  position: absolute;
  right: -3.8rem;
  bottom: -6rem;
  color: rgb(255 255 255 / 10%);
  font-size: 18rem;
  line-height: 1;
  transform: rotate(15deg);
}

.vincula-auth-intro > * {
  position: relative;
  z-index: 1;
}

.vincula-auth-intro h1 {
  margin: 27px 0 17px;
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  font-weight: 850;
  letter-spacing: -2px;
  line-height: 1.05;
}

.vincula-auth-intro > p {
  margin: 0;
  color: rgb(255 255 255 / 84%);
  font-size: .92rem;
  line-height: 1.75;
}

.vincula-auth-intro ul {
  padding: 0;
  margin: 38px 0 0;
  list-style: none;
}

.vincula-auth-intro li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
}

.vincula-auth-intro li + li {
  margin-top: 15px;
}

.vincula-auth-intro li span {
  display: grid;
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  place-items: center;
  border-radius: 50%;
  background: var(--vincula-yellow, #ffb000);
  color: #000;
  font-size: .67rem;
  font-weight: 900;
}

.vincula-auth-card {
  padding: clamp(36px, 6vw, 62px);
  background: #fff;
}

.vincula-auth-card__heading {
  align-items: flex-start;
}

.vincula-auth-card__icon {
  background: var(--vincula-yellow, #ffb000);
  color: #000;
}

.vincula-auth-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px 18px;
  padding-top: 24px;
  margin-top: 27px;
  border-top: 1px solid #e9e5ef;
}

.vincula-auth-links a {
  color: var(--vincula-purple, #785ef0);
  font-size: .75rem;
  font-weight: 800;
  text-decoration: none;
}

.vincula-auth-links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.vincula-auth-links__provider {
  padding: 9px 14px;
  border: 1px solid #dcd7e6;
  border-radius: 50px;
  background: #fff;
  color: var(--vincula-purple, #785ef0);
  font-size: .75rem;
  font-weight: 800;
}

.vincula-auth-danger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px;
  margin-top: 31px;
  border: 1px solid #e8b4bc;
  border-radius: 14px;
  background: #fff7f8;
}

.vincula-auth-danger strong {
  color: #791b2a;
  font-size: .8rem;
}

.vincula-auth-danger p {
  margin: 3px 0 0;
  color: #85545c;
  font-size: .7rem;
}

.vincula-auth-danger__button {
  padding: 10px 15px;
  border: 1px solid #c63f57;
  border-radius: 50px;
  background: #fff;
  color: #a32539;
  font-size: .72rem;
  font-weight: 850;
}

@media (max-width: 991.98px) {
  .vincula-auth-shell {
    max-width: 720px;
    grid-template-columns: 1fr;
  }

  .vincula-auth-intro {
    padding: 44px;
  }

  .vincula-auth-intro ul {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .vincula-form-hero {
    padding: 67px 0 105px;
  }

  .vincula-form-section {
    padding-bottom: 78px;
    margin-top: -50px;
  }

  .vincula-form__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .vincula-auth-page {
    padding: 54px 0 75px;
  }

  .vincula-auth-intro,
  .vincula-auth-card {
    padding: 34px 27px;
  }
}

@media (max-width: 575.98px) {
  .vincula-form-card {
    padding: 25px 20px;
    border-radius: 20px;
  }

  .vincula-form-card__heading,
  .vincula-auth-card__heading {
    align-items: flex-start;
  }

  .vincula-form__actions,
  .vincula-form__submit {
    width: 100%;
  }

  .vincula-auth-shell {
    border-radius: 20px;
  }

  .vincula-auth-intro h1 {
    font-size: 2.2rem;
  }

  .vincula-auth-danger {
    align-items: stretch;
    flex-direction: column;
  }
}

.vincula-index-create-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  margin-top: 25px;
  border-radius: 50px;
  background: var(--vincula-yellow, #ffb000);
  color: #000;
  font-size: .78rem;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 9px 24px rgb(255 176 0 / 25%);
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.vincula-index-create-button span {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  background: rgb(0 0 0 / 10%);
  font-size: 1rem;
  line-height: 1;
}

.vincula-index-create-button:hover {
  background: #e6a000;
  color: #000;
  box-shadow: 0 12px 28px rgb(255 176 0 / 32%);
  transform: translateY(-2px);
}

.vincula-form__group + .vincula-form__group {
  padding-top: 30px;
  margin-top: 8px;
  border-top: 1px solid #e9e5ef;
}

.vincula-form__group-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 24px;
}

.vincula-form__group-heading > span {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 11px;
  background: #eeeafd;
  color: var(--vincula-purple, #785ef0);
  font-size: .67rem;
  font-weight: 900;
}

.vincula-form__group-heading h3 {
  margin: 0 0 2px;
  color: #000;
  font-size: .96rem;
  font-weight: 850;
}

.vincula-form__group-heading p {
  margin: 0;
  color: var(--vincula-dark, #646464);
  font-size: .72rem;
}

.vincula-form__choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin-bottom: 25px;
}

.vincula-form__choice {
  display: flex;
  min-height: 50px;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid #ded9e7;
  border-radius: 11px;
  background: #faf9fc;
  color: #000;
  cursor: pointer;
  font-size: .76rem;
  font-weight: 750;
}

.vincula-form__choice:has(input:checked) {
  border-color: var(--vincula-purple, #785ef0);
  background: #f1edff;
}

.vincula-form__choice input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  accent-color: var(--vincula-purple, #785ef0);
}

@media (max-width: 575.98px) {
  .vincula-form__choices {
    grid-template-columns: 1fr;
  }
}
