/* URBAH EDUCATION: COMPACT FORMS V8
   Applies only to the webinar/practicum pages where this style is included.
   Form 104 (practicum), form 106 (webinar). Preserve validation and consent. */

/* Remove excess whitespace inside embedded forms. */
#page-practicum .urbah-edu-b24-form .b24-form-wrapper {
  min-height: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}
#page-practicum .urbah-edu-b24-form .b24-form {
  font-family: Manrope, Arial, sans-serif !important;
}
#page-practicum .urbah-edu-b24-form .b24-form-padding-side {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
#page-practicum .urbah-edu-b24-form .b24-form-field {
  margin-top: 0 !important;
  margin-bottom: 9px !important;
}
#page-practicum .urbah-edu-b24-form .b24-form-field:not(:last-child) {
  padding-bottom: 0 !important;
}

/* The Bitrix floating labels are always placed ABOVE the input.  Set the
   spacing on the immediate container so the input cannot overlap the label. */
#page-practicum .urbah-edu-b24-form .b24-form-control-string,
#page-practicum .urbah-edu-b24-form .b24-form-control-list,
#page-practicum .urbah-edu-b24-form .b24-form-control-text,
#page-practicum .urbah-edu-b24-form .b24-form-control-select {
  padding-top: 0 !important;
  position: relative !important;
  overflow: visible !important;
  background: transparent !important;
}
#page-practicum .urbah-edu-b24-form .b24-form-control-string .b24-form-control-container,
#page-practicum .urbah-edu-b24-form .b24-form-control-list .b24-form-control-container,
#page-practicum .urbah-edu-b24-form .b24-form-control-text .b24-form-control-container,
#page-practicum .urbah-edu-b24-form .b24-form-control-select .b24-form-control-container {
  position: relative !important;
  box-sizing: border-box !important;
  padding-top: 22px !important;
  min-height: 0 !important;
  overflow: visible !important;
}
#page-practicum .urbah-edu-b24-form .b24-form-control-string .b24-form-control,
#page-practicum .urbah-edu-b24-form .b24-form-control-list .b24-form-control,
#page-practicum .urbah-edu-b24-form .b24-form-control-select .field-item {
  box-sizing: border-box !important;
  height: 46px !important;
  min-height: 46px !important;
  max-height: 46px !important;
  padding: 9px 12px !important;
  border: 1px solid #cdc9d6 !important;
  border-radius: 10px !important;
  background: #fbfafd !important;
  color: #201d30 !important;
  font-size: 14px !important;
  line-height: 25px !important;
}
#page-practicum .urbah-edu-b24-form .b24-form-control-text .b24-form-control {
  box-sizing: border-box !important;
  min-height: 80px !important;
  height: 80px !important;
  padding: 10px 12px !important;
  border: 1px solid #cdc9d6 !important;
  border-radius: 10px !important;
  background: #fbfafd !important;
  color: #201d30 !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

/* Label stays above the field in every state, including focus / filled. */
#page-practicum .urbah-edu-b24-form .b24-form-control-string .b24-form-control-label,
#page-practicum .urbah-edu-b24-form .b24-form-control-list .b24-form-control-label,
#page-practicum .urbah-edu-b24-form .b24-form-control-text .b24-form-control-label,
#page-practicum .urbah-edu-b24-form .b24-form-control-select .b24-form-control-label,
#page-practicum .urbah-edu-b24-form .b24-form-control-select-label,
#page-practicum .urbah-edu-b24-form .b24-form-control:focus + .b24-form-control-label,
#page-practicum .urbah-edu-b24-form .b24-form-control-not-empty + .b24-form-control-label {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  display: block !important;
  width: auto !important;
  height: 18px !important;
  line-height: 18px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  color: #504b62 !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  letter-spacing: .01em !important;
  opacity: 1 !important;
  pointer-events: none !important;
  white-space: normal !important;
}
#page-practicum .urbah-edu-b24-form .b24-form-control:focus {
  border-color: #6f65b1 !important;
  outline: 2px solid rgba(111,101,177,.16) !important;
  outline-offset: 0 !important;
}
#page-practicum .urbah-edu-b24-form .b24-form-control:focus-visible,
#page-practicum .urbah-edu-b24-form .b24-form-btn:focus-visible {
  outline: 2px solid #6f65b1 !important;
  outline-offset: 2px !important;
}

/* Agreement is smaller but complete and readable. */
#page-practicum .urbah-edu-b24-form .b24-form-field-agreement,
#page-practicum .urbah-edu-b24-form .b24-form-control-agreement {
  margin-top: 4px !important;
  margin-bottom: 8px !important;
}
#page-practicum .urbah-edu-b24-form .b24-form-control-desc,
#page-practicum .urbah-edu-b24-form .b24-form-control-agreement label,
#page-practicum .urbah-edu-b24-form .b24-form-field-agreement .b24-form-field-agreement-link {
  font-size: 12px !important;
  line-height: 1.4 !important;
}
#page-practicum .urbah-edu-b24-form .b24-form-control-agreement input[type="checkbox"] {
  width: 17px !important;
  height: 17px !important;
}
#page-practicum .urbah-edu-b24-form .b24-form-btn-container {
  margin-top: 10px !important;
}
#page-practicum .urbah-edu-b24-form .b24-form-btn {
  box-sizing: border-box !important;
  height: 46px !important;
  min-height: 46px !important;
  padding: 9px 16px !important;
  border-radius: 10px !important;
  background: #201d30 !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 650 !important;
  cursor: pointer !important;
}
#page-practicum .education-hero-form-panel,
#page-practicum .education-final-form.urbah-edu-form-panel {
  padding: clamp(16px, 2vw, 24px) !important;
}

/* Bitrix consent dialog is mounted outside the page's <main>.
   Override the site's custom cursor for this dialog in desktop browsers. */
@media (hover: hover) and (pointer: fine) {
  body.service-layout .b24-window,
  body.service-layout .b24-window *,
  body.service-layout .b24-form-popup,
  body.service-layout .b24-form-popup * {
    cursor: default !important;
  }
  body.service-layout .b24-window a,
  body.service-layout .b24-window button,
  body.service-layout .b24-window-close,
  body.service-layout .b24-window [role="button"],
  body.service-layout .b24-form-popup a,
  body.service-layout .b24-form-popup button,
  body.service-layout .b24-form-popup [role="button"] {
    cursor: pointer !important;
  }
  body.service-layout .b24-window input,
  body.service-layout .b24-window textarea,
  body.service-layout .b24-form-popup input,
  body.service-layout .b24-form-popup textarea {
    cursor: text !important;
  }
  body.service-layout .custom-cursor-dot,
  body.service-layout .custom-cursor-outline,
  body.service-layout .custom-cursor-badge {
    pointer-events: none !important;
  }
}


/* URBAH_EDU_FORM_BUTTON_HOVER_V9
   Both practicum and webinar use main#page-practicum.
   Overrides the earlier v8 !important dark submit-button background. */
#page-practicum .urbah-edu-b24-form .b24-form-btn {
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease !important;
}
@media (hover: hover) and (pointer: fine) {
  #page-practicum .urbah-edu-b24-form .b24-form-btn:hover:not(:disabled) {
    background: #ff1f8f !important;
    background-color: #ff1f8f !important;
    border-color: #ff1f8f !important;
    color: #fff !important;
    box-shadow: 0 8px 22px rgba(255,31,143,.24) !important;
    cursor: pointer !important;
  }
}
#page-practicum .urbah-edu-b24-form .b24-form-btn:active:not(:disabled),
#page-practicum .urbah-edu-b24-form .b24-form-btn:focus-visible {
  background: #ff1f8f !important;
  background-color: #ff1f8f !important;
  border-color: #ff1f8f !important;
  color: #fff !important;
}
#page-practicum .urbah-edu-b24-form .b24-form-btn:focus-visible {
  outline: 2px solid #ff1f8f !important;
  outline-offset: 3px !important;
}
