/* ==========================================================================
   Sunny Days Therapy - Enroll Page (split layout)
   ========================================================================== */

body.page-enroll .entry-content,
body.page-careers .entry-content,
body.page-id-91 .entry-content,
body.page-id-13 .entry-content,
body.page-enroll .page-content,
body.page-careers .page-content {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
}

body.page-enroll .entry-content > br,
body.page-careers .entry-content > br {
  display: none;
}

.sds-enroll-split {
  display: grid;
  grid-template-columns: 0.38fr 0.62fr;
  align-items: stretch;
  min-height: 100vh;
  background: #FFFFFF;
}

.sds-enroll-split__media {
  position: relative;
  min-height: 100%;
  align-self: stretch;
  overflow: hidden;
  background: #DEE9F5;
}

.sds-enroll-split__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transform: scale(1.08);
  filter: blur(12px);
  z-index: 0;
  transition: opacity 2s ease-in-out, transform 2.6s cubic-bezier(0.22, 1, 0.36, 1), filter 2s ease-in-out;
}

.sds-enroll-split__media img.is-active {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
  z-index: 1;
}

.sds-enroll-split__media:not(.is-ready) img:nth-of-type(1) {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .sds-enroll-split__media img {
    transition: none;
    transform: none;
    filter: none;
    opacity: 0;
  }

  .sds-enroll-split__media img.is-active,
  .sds-enroll-split__media img:nth-of-type(1) {
    opacity: 1;
  }
}

.sds-enroll-split__panel {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 210px 56px 64px;
  box-sizing: border-box;
  background: #FFFFFF;
}

.sds-enroll-split__inner {
  width: 100%;
  max-width: 520px;
}

.sds-enroll-split__title {
  font-family: Sora, sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #0A2E5C;
  margin: 0 0 10px;
  line-height: 1.15;
}

.sds-enroll-split__subtitle {
  font-size: 15px;
  color: #666;
  margin: 0 0 28px;
  line-height: 1.6;
}

.sds-enroll-split__subtitle a {
  color: #2970C5;
  font-weight: 600;
  text-decoration: none !important;
}

.sds-enroll-split__subtitle a:hover {
  text-decoration: underline !important;
}

.sds-enroll-split .sds-form-wrapper,
.sds-enroll-split .sds-form {
  max-width: 100%;
  margin: 0;
}

.sds-enroll-split .sds-form__title {
  display: none;
}

.sds-enroll-split .sds-form__row {
  margin-bottom: 1.25rem;
}

.sds-enroll-split .sds-form__label {
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #0A2E5C;
  margin-bottom: 10px;
}

.sds-enroll-split .sds-form__input,
.sds-enroll-split .sds-form__select,
.sds-enroll-split .sds-form__textarea {
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  background: #fff;
  font-size: 14px;
  box-shadow: none;
}

.sds-enroll-split .sds-form__input:focus,
.sds-enroll-split .sds-form__select:focus,
.sds-enroll-split .sds-form__textarea:focus {
  outline: none;
  border-color: #2970C5;
  box-shadow: 0 0 0 3px rgba(41, 112, 197, 0.12);
}

.sds-enroll-split .sds-form__textarea {
  min-height: 110px;
  resize: vertical;
}

.sds-enroll-split .sds-form__radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.sds-enroll-split .sds-form__radio {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 8px 18px;
  border: 1px solid #D5DDE7;
  border-radius: 999px;
  background: #FFFFFF;
  color: #0A2E5C;
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  user-select: none;
}

.sds-enroll-split .sds-form__radio input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sds-enroll-split .sds-form__radio:has(input:checked) {
  background: #2970C5;
  border-color: #2970C5;
  color: #ffffff;
}

.sds-enroll-split .sds-form__radio:hover {
  border-color: #2970C5;
}

.sds-enroll-split .sds-form__radio:has(input:focus-visible) {
  box-shadow: 0 0 0 3px rgba(41, 112, 197, 0.18);
}

.sds-enroll-split .sds-form__actions {
  width: 100%;
  margin-top: 16px;
}

.sds-enroll-split button.sds-form__submit,
.sds-enroll-split .sds-form__submit {
  width: 100% !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #2970C5 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 14px 24px !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  font-family: Inter, sans-serif !important;
  cursor: pointer;
  box-sizing: border-box;
}

.sds-enroll-split button.sds-form__submit::after {
  content: '→';
  font-weight: 400;
}

.sds-enroll-split button.sds-form__submit:hover,
.sds-enroll-split .sds-form__submit:hover {
  background: #7caff6 !important;
  color: #ffffff !important;
  transform: none;
}

.sds-enroll-split--image-right {
  grid-template-columns: 0.55fr 0.45fr;
}

.sds-enroll-split--image-right .sds-enroll-split__media img {
  animation: none;
  opacity: 1;
  transform: none;
  filter: none;
  object-position: center 18%;
}

.sds-enroll-split .sds-form__file-wrapper {
  border: 1px solid #E2E8F0 !important;
  border-radius: 10px !important;
  padding: 1.25rem 1rem;
  background: #fff;
}

.sds-enroll-split .sds-form__file-wrapper:hover,
.sds-enroll-split .sds-form__file-wrapper.dragover {
  border-color: #2970C5;
  background: rgba(41, 112, 197, 0.04);
}

.sds-enroll-split .sds-form__file-label {
  font-family: Inter, sans-serif;
  font-size: 14px;
  color: #666;
}

.sds-enroll-split .sds-form__file-label strong {
  color: #2970C5;
  font-weight: 700;
}

.sds-enroll-split .sds-form__file-info {
  font-size: 12px;
  color: #99A5B4;
}

.sds-enroll-split .sds-form__file-name {
  background: #F3F7FB;
  color: #0A2E5C;
  border-radius: 8px;
}

.sds-enroll-split .sds-form__select {
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230A2E5C' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.4rem;
}

@media (max-width: 900px) {
  .sds-enroll-split,
  .sds-enroll-split--image-right {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .sds-enroll-split--image-right .sds-enroll-split__media {
    order: -1;
  }

  .sds-enroll-split__media {
    min-height: 280px;
    height: 450px;
  }

  .sds-enroll-split__media img,
  .sds-enroll-split--image-right .sds-enroll-split__media img {
    object-position: top center;
  }

  .sds-enroll-split__panel {
    max-height: none;
    padding: 50px 24px 48px;
  }

  .sds-enroll-split__title {
    font-size: 24px;
  }
}

@media (max-width: 900px) and (min-width: 600px) {
  .sds-enroll-split__media {
    height: 600px;
  }
}
