/* ——— Apply wizard ——— */

@media (min-width: 960px) {
  .apply-page {
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
    align-items: stretch;
  }

  .apply-visual {
    height: 100%;
    min-height: 0;
    max-height: 100%;
    position: relative;
    top: auto;
    place-items: center;
  }

  .apply-panel {
    height: 100%;
    min-height: 0;
    overflow-y: auto;
    justify-content: center;
  }
}

.apply-panel__inner {
  width: min(520px, 100%);
}

.apply-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.15rem;
}

.apply-progress__label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.apply-progress__dots {
  display: flex;
  gap: 0.4rem;
}

.apply-progress__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  transition: width 0.25s, background 0.25s;
}

.apply-progress__dot.is-on {
  background: rgba(77, 124, 255, 0.55);
}

.apply-progress__dot.is-current {
  width: 18px;
  background: #4d7cff;
}

.apply-wizard-card {
  padding: 1.35rem 1.25rem 1.25rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.apply-step[hidden] {
  display: none !important;
}

.apply-step.is-active {
  animation: applyStepIn 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes applyStepIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.apply-step__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.3rem;
}

.apply-step__lead {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 1.15rem;
}

.apply-section {
  margin-bottom: 0.35rem;
}

.apply-section__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.55rem;
}

.req {
  color: #ff6b8a;
  margin-left: 0.1em;
}

.role-picker--quad {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 0;
}

@media (max-width: 519px) {
  .role-picker--quad {
    grid-template-columns: 1fr;
  }
}

.role-picker--quad .role-option__card {
  min-height: 92px;
}

.apply-role-fields[hidden] {
  display: none !important;
}

.field-row--yt {
  align-items: end;
}

@media (min-width: 520px) {
  .field-row--yt {
    grid-template-columns: 1.35fr 0.65fr;
  }
}

.service-picker {
  display: grid;
  gap: 0.55rem;
}

.service-option {
  position: relative;
  cursor: pointer;
}

.service-option input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

.service-option__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}

.service-option__card strong {
  font-size: 0.86rem;
  font-weight: 650;
}

.service-option__card span {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.35;
}

.service-option:hover .service-option__card {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.service-option input:checked + .service-option__card {
  border-color: rgba(77, 124, 255, 0.55);
  background: linear-gradient(160deg, rgba(77, 124, 255, 0.14), rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.artist-links {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
}

.artist-link-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem;
  align-items: center;
}

.artist-link-row input {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font: inherit;
}

.artist-link-row input:focus {
  outline: none;
  border-color: rgba(77, 124, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(77, 124, 255, 0.12);
}

.artist-link-remove {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  cursor: pointer;
}

.artist-link-remove:hover {
  color: #ff8fa8;
  border-color: rgba(255, 107, 138, 0.35);
}

.artist-link-remove svg {
  width: 16px;
  height: 16px;
}

.artist-link-add {
  display: inline-flex;
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.apply-notice {
  margin: 0.15rem 0 1rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.55;
}

#apply-form .field {
  margin-bottom: 0.85rem;
}

#apply-form .field-row {
  margin-bottom: 0.85rem;
}

.apply-step-error {
  margin: 0 0 0.85rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(251, 113, 133, 0.35);
  background: rgba(251, 113, 133, 0.12);
  color: #fda4af;
  font-size: 0.82rem;
}

.apply-step-nav {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.apply-step-nav .btn {
  flex: 1;
  justify-content: center;
}

.apply-step-nav .btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
