/* ========================================
   BIVA V2 — NEW TALENT CLIENT PAGE
======================================== */


/* ========================================
   BACK BUTTON
======================================== */

.talent-new-client-back-btn {
  width: fit-content;

  margin-bottom: 18px;
  padding: 0;

  display: inline-flex;
  align-items: center;

  gap: 8px;

  border: 0;

  color:
    var(--biva-muted);

  background:
    transparent;

  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;

  cursor: pointer;

  transition:
    color 160ms ease,
    transform 160ms ease;
}

.talent-new-client-back-btn:hover {
  color:
    var(--biva-blue-700);

  transform:
    translateX(-2px);
}

.talent-new-client-back-btn svg {
  width: 17px;
  height: 17px;

  fill: none;

  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* ========================================
   HERO
======================================== */

.talent-new-client-hero {
  position: relative;

  width: 100%;
  min-height: 290px;

  padding:
    clamp(28px, 4vw, 52px);

  display: grid;

  grid-template-columns:
    minmax(0, 1.12fr)
    minmax(330px, 0.88fr);

  align-items: center;

  gap:
    clamp(32px, 5vw, 72px);

  border:
    1px solid
    rgba(255, 255, 255, 0.08);

  border-radius:
    var(--biva-radius-xl);

  color: #ffffff;

  background:
    radial-gradient(
      circle at 92% 7%,
      rgba(53, 112, 243, 0.42),
      transparent 35%
    ),
    radial-gradient(
      circle at 4% 100%,
      rgba(255, 200, 46, 0.09),
      transparent 31%
    ),
    linear-gradient(
      145deg,
      var(--biva-black),
      var(--biva-black-soft) 56%,
      #173675
    );

  box-shadow:
    0 28px 75px
    rgba(7, 11, 20, 0.19);

  overflow: hidden;
}

.talent-new-client-hero::before {
  content: "";

  position: absolute;
  inset: 0 0 auto 0;

  height: 4px;

  background:
    linear-gradient(
      90deg,
      var(--biva-blue-500),
      var(--biva-yellow-400),
      transparent 88%
    );
}

.talent-new-client-hero::after {
  content: "";

  position: absolute;

  width: 290px;
  height: 290px;

  right: -115px;
  bottom: -210px;

  border:
    1px solid
    rgba(255, 255, 255, 0.06);

  border-radius: 50%;

  box-shadow:
    0 0 0 54px
    rgba(255, 255, 255, 0.024),

    0 0 0 108px
    rgba(255, 255, 255, 0.012);

  pointer-events: none;
}

.talent-new-client-hero > * {
  position: relative;
  z-index: 1;
}

.talent-new-client-hero__kicker {
  display: block;

  margin-bottom: 11px;

  color:
    var(--biva-yellow-400);

  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.talent-new-client-hero__content h1 {
  max-width: 860px;

  margin: 0;

  color: #ffffff;

  font-size:
    clamp(2.5rem, 4.5vw, 4.9rem);

  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.talent-new-client-hero__content p {
  max-width: 720px;

  margin: 18px 0 0;

  color:
    rgba(255, 255, 255, 0.66);

  font-size:
    clamp(0.88rem, 1.2vw, 1rem);

  line-height: 1.7;
}


/* ========================================
   HERO SUMMARY
======================================== */

.talent-new-client-hero__summary {
  min-width: 0;

  padding:
    clamp(19px, 2.5vw, 28px);

  display: grid;

  gap: 10px;

  border:
    1px solid
    rgba(255, 255, 255, 0.09);

  border-radius:
    var(--biva-radius-xl);

  background:
    rgba(255, 255, 255, 0.055);

  backdrop-filter:
    blur(10px);
}

.talent-new-client-hero__status {
  margin-bottom: 4px;

  display: inline-flex;
  align-items: center;

  gap: 8px;

  color:
    #dcfbed;

  font-size: 0.7rem;
  font-weight: 800;
}

.talent-new-client-hero__status > span {
  width: 8px;
  height: 8px;

  border-radius: 50%;

  background:
    #4bdd9d;

  box-shadow:
    0 0 0 5px
    rgba(75, 221, 157, 0.11);
}

.talent-new-client-hero__summary > div {
  padding: 14px;

  display: grid;

  grid-template-columns:
    58px minmax(0, 1fr);

  align-items: center;

  gap: 12px;

  border:
    1px solid
    rgba(255, 255, 255, 0.07);

  border-radius:
    var(--biva-radius-md);

  background:
    rgba(255, 255, 255, 0.045);
}

.talent-new-client-hero__summary > div > span {
  color:
    var(--biva-yellow-400);

  font-size: 0.63rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.talent-new-client-hero__summary strong {
  display: block;

  color: #ffffff;

  font-size: 0.79rem;
  font-weight: 830;
  line-height: 1.45;
}


/* ========================================
   WORKSPACE
======================================== */

.talent-new-client-workspace {
  margin-top:
    clamp(40px, 5vw, 68px);
}

.talent-new-client-section-title {
  margin-bottom: 22px;

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(270px, 0.65fr);

  align-items: end;

  gap: 30px;
}

.talent-new-client-section-title
> div
> span {
  display: block;

  margin-bottom: 7px;

  color:
    var(--biva-blue-600);

  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.talent-new-client-section-title h2 {
  margin: 0;

  color:
    var(--biva-ink);

  font-size:
    clamp(1.8rem, 3vw, 2.8rem);

  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
}

.talent-new-client-section-title > p {
  margin: 0;

  color:
    var(--biva-muted);

  font-size: 0.8rem;
  line-height: 1.55;
}


/* ========================================
   FORM CARD
======================================== */

.talent-new-client-form {
  width: 100%;

  border:
    1px solid
    var(--biva-line);

  border-radius:
    var(--biva-radius-xl);

  background:
    rgba(255, 255, 255, 0.97);

  box-shadow:
    var(--biva-shadow-sm);

  overflow: hidden;
}


/* ========================================
   FORM SECTIONS
======================================== */

.talent-new-client-form__section {
  padding:
    clamp(22px, 3vw, 32px);

  border-bottom:
    1px solid
    var(--biva-line);
}

.talent-new-client-form__section > header {
  margin-bottom: 24px;

  display: flex;
  align-items: flex-start;

  gap: 14px;
}

.talent-new-client-form__section
> header
> span {
  width: 46px;
  height: 46px;

  flex: 0 0 46px;

  display: grid;
  place-items: center;

  border-radius: 15px;

  color:
    var(--biva-blue-700);

  background:
    var(--biva-blue-50);
}

.talent-new-client-form__section:nth-of-type(2)
> header
> span {
  color: #805800;

  background:
    var(--biva-yellow-50);
}

.talent-new-client-form__section:nth-of-type(3)
> header
> span {
  color: #6549d6;

  background:
    #f3efff;
}

.talent-new-client-form__section:nth-of-type(4)
> header
> span {
  color:
    var(--biva-success);

  background:
    var(--biva-success-soft);
}

.talent-new-client-form__section
> header
svg {
  width: 22px;
  height: 22px;

  fill: none;

  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.talent-new-client-form__section
> header
> div {
  min-width: 0;
}

.talent-new-client-form__section
> header
> div
> span {
  display: block;

  margin-bottom: 4px;

  color:
    var(--biva-blue-600);

  font-size: 0.63rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.talent-new-client-form__section h3 {
  margin: 0;

  color:
    var(--biva-ink);

  font-size: 1.05rem;
  font-weight: 880;
}

.talent-new-client-form__section
header p {
  margin: 5px 0 0;

  color:
    var(--biva-muted);

  font-size: 0.72rem;
  line-height: 1.5;
}


/* ========================================
   FIELD GRID
======================================== */

.talent-new-client-fields {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 18px;
}

.talent-new-client-field {
  min-width: 0;
}

.talent-new-client-field.is-full {
  grid-column: 1 / -1;
}

.talent-new-client-field label {
  display: block;

  margin-bottom: 8px;

  color:
    var(--biva-ink);

  font-size: 0.71rem;
  font-weight: 800;
}

.talent-new-client-field > small {
  display: block;

  margin-top: 7px;

  color:
    var(--biva-muted);

  font-size: 0.64rem;
  line-height: 1.45;
}


/* ========================================
   FORM CONTROLS
======================================== */

.talent-new-client-field input,
.talent-new-client-field select,
.talent-new-client-field textarea {
  width: 100%;

  border:
    1px solid
    var(--biva-line);

  border-radius: 14px;

  color:
    var(--biva-text);

  background:
    #ffffff;

  font:
    inherit;
  font-size: 0.76rem;

  outline: none;

  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.talent-new-client-field input,
.talent-new-client-field select {
  min-height: 48px;

  padding:
    0 14px;
}

.talent-new-client-field textarea {
  min-height: 150px;

  padding:
    13px 14px;

  line-height: 1.58;

  resize: vertical;
}

.talent-new-client-field input:hover,
.talent-new-client-field select:hover,
.talent-new-client-field textarea:hover {
  border-color:
    var(--biva-line-strong);
}

.talent-new-client-field input:focus,
.talent-new-client-field select:focus,
.talent-new-client-field textarea:focus {
  border-color:
    var(--biva-blue-500);

  box-shadow:
    var(--biva-focus-ring);
}

.talent-new-client-field
input::placeholder,
.talent-new-client-field
textarea::placeholder {
  color:
    var(--biva-subtle);
}

.talent-new-client-field select {
  cursor: pointer;
}


/* ========================================
   COUNTRY SELECT
======================================== */

#clientCountry {
  font-weight: 700;
}

#clientTimezone {
  background:
    var(--biva-surface-soft);
}


/* ========================================
   FORM ACTIONS
======================================== */

.talent-new-client-form__actions {
  padding:
    clamp(22px, 3vw, 30px);

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;

  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(53, 112, 243, 0.07),
      transparent 36%
    ),
    var(--biva-surface-soft);
}

.talent-new-client-form__actions
> div:first-child {
  min-width: 0;
}

.talent-new-client-form__actions
> div:first-child
strong {
  display: block;

  color:
    var(--biva-ink);

  font-size: 0.84rem;
  font-weight: 860;
}

.talent-new-client-form__actions
> div:first-child
p {
  margin: 5px 0 0;

  color:
    var(--biva-muted);

  font-size: 0.68rem;
  line-height: 1.5;
}

.talent-new-client-form__actions
> div:last-child {
  display: flex;
  align-items: center;

  gap: 10px;
}

.talent-new-client-form__actions .btn {
  width: auto;
  min-width: 145px;
}

.talent-new-client-form__actions
.btn svg {
  width: 18px;
  height: 18px;

  fill: none;

  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* ========================================
   SUCCESS MODAL
======================================== */

.talent-new-client-success {
  padding: 16px;

  display: flex;
  align-items: flex-start;

  gap: 13px;

  border:
    1px solid
    rgba(7, 148, 85, 0.14);

  border-radius:
    var(--biva-radius-lg);

  background:
    var(--biva-success-soft);
}

.talent-new-client-success > span {
  width: 46px;
  height: 46px;

  flex: 0 0 46px;

  display: grid;
  place-items: center;

  border-radius: 14px;

  color:
    var(--biva-success);

  background:
    #ffffff;
}

.talent-new-client-success svg {
  width: 23px;
  height: 23px;

  fill: none;

  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.talent-new-client-success strong {
  display: block;

  color:
    var(--biva-ink);

  font-size: 0.86rem;
  font-weight: 880;
}

.talent-new-client-success p {
  margin: 5px 0 0;

  color:
    var(--biva-muted);

  font-size: 0.7rem;
  line-height: 1.5;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 980px) {

  .talent-new-client-hero {
    grid-template-columns: 1fr;
  }

  .talent-new-client-section-title {
    grid-template-columns: 1fr;

    gap: 8px;
  }

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 700px) {

  .talent-new-client-back-btn {
    margin-bottom: 14px;
  }

  .talent-new-client-hero {
    min-height: auto;

    padding:
      26px 18px;

    border-radius: 22px;
  }

  .talent-new-client-hero__content h1 {
    font-size:
      clamp(2.15rem, 11vw, 3.1rem);
  }

  .talent-new-client-hero__content p {
    margin-top: 14px;

    font-size: 0.82rem;
  }

  .talent-new-client-hero__summary {
    padding: 16px;

    border-radius: 19px;
  }

  .talent-new-client-hero__summary > div {
    grid-template-columns:
      52px minmax(0, 1fr);
  }

  .talent-new-client-workspace {
    margin-top: 38px;
  }

  .talent-new-client-section-title {
    margin-bottom: 17px;
  }

  .talent-new-client-section-title h2 {
    font-size: 2rem;
  }

  .talent-new-client-form {
    border-radius: 21px;
  }

  .talent-new-client-form__section {
    padding:
      21px 16px;
  }

  .talent-new-client-fields {
    grid-template-columns: 1fr;

    gap: 16px;
  }

  .talent-new-client-field.is-full {
    grid-column: auto;
  }

  .talent-new-client-form__actions {
    align-items: stretch;
    flex-direction: column;

    padding:
      20px 16px;
  }

  .talent-new-client-form__actions
  > div:last-child {
    width: 100%;

    align-items: stretch;
    flex-direction: column-reverse;
  }

  .talent-new-client-form__actions .btn {
    width: 100%;
  }

}


/* ========================================
   VERY SMALL PHONES
======================================== */

@media (max-width: 420px) {

  .talent-new-client-form__section
  > header {
    align-items: center;
  }

  .talent-new-client-hero__summary > div {
    grid-template-columns: 1fr;

    gap: 4px;
  }

  .talent-new-client-success {
    align-items: center;
  }

}


/* ========================================
   REDUCED MOTION
======================================== */

@media (prefers-reduced-motion: reduce) {

  .talent-new-client-back-btn,
  .talent-new-client-field input,
  .talent-new-client-field select,
  .talent-new-client-field textarea {
    transition: none;
  }

}