/* =========================================================
 LAB7 STARTUP APPLICATION

 All styles are scoped under .lab7-app-form.
 No global body, html, button, input, or universal styles.
========================================================= */

.lab7-app-form {
  --lab7-app-form-primary: #f26322;
  --lab7-app-form-primary-dark: #da4e0e;
  --lab7-app-form-primary-light: #fff5ef;
  --lab7-app-form-heading: #202124;
  --lab7-app-form-text: #44474b;
  --lab7-app-form-muted: #73777c;
  --lab7-app-form-border: #c9cdd2;
  --lab7-app-form-border-light: #e2e5e9;
  --lab7-app-form-background: #ffffff;
  --lab7-app-form-danger: #d92727;
  --lab7-app-form-focus: rgba(242, 99, 34, 0.16);
  --lab7-app-form-width: 820px;

  width: 100%;
  min-width: 0;
  min-height: 100vh;
  margin: 0;
  color: var(--lab7-app-form-text);
  background: var(--lab7-app-form-background);
  font-family:'DINNextLTArabicRegular';
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.lab7-app-form,
.lab7-app-form *,
.lab7-app-form *::before,
.lab7-app-form *::after {
  box-sizing: border-box;
}

.lab7-app-form button,
.lab7-app-form input,
.lab7-app-form select,
.lab7-app-form textarea {
  font-family: 'DINNextLTArabicRegular';
  font-size: inherit;
  line-height: inherit;
}

.lab7-app-form__select option {
    font-family: 'DINNextLTArabicRegular';
}

.lab7-app-form button,
.lab7-app-form select,
.lab7-app-form input[type="file"] {
  cursor: pointer;
}

.webform-submission-lab7-startup-application-form .captcha {
    padding: 10px 0 0;
}

/* =========================================================
 PAGE CONTAINER
========================================================= */

.lab7-app-form__main {
  width: 100%;
  min-height: 100vh;
  padding:
      clamp(32px, 6vw, 72px)
      clamp(14px, 4vw, 32px)
      clamp(42px, 7vw, 80px);
  background: #ffffff;
}

.lab7-app-form__container {
  width: min(100%, var(--lab7-app-form-width));
  margin-right: auto;
  margin-left: auto;
}

/* =========================================================
 APPLICATION CARD
========================================================= */

.lab7-app-form__card {
  position: relative;
  width: 100%;
  padding:
      clamp(30px, 5vw, 56px)
      clamp(20px, 6vw, 56px)
      clamp(32px, 5vw, 56px);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e2e4e7;
  border-radius: 20px;
  box-shadow:
      0 18px 45px rgba(31, 35, 40, 0.07),
      0 4px 14px rgba(31, 35, 40, 0.04);
}

.lab7-app-form__card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background:
      linear-gradient(
          90deg,
          var(--lab7-app-form-primary),
          #ff925e
      );
  content: "";
}

/* =========================================================
 TITLE
========================================================= */

.lab7-app-form__title {
  max-width: 620px;
  margin: 0 auto clamp(34px, 5vw, 48px);
  text-align: center;
}

.lab7-app-form__title-heading {
  margin: 0;
  color: var(--lab7-app-form-primary);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.035em;
  text-align: center;
 font-family: 'DINNextLTArabicRegular';
}

/* =========================================================
 FORM SECTIONS
========================================================= */

.lab7-app-form__form {
  width: 100%;
  margin: 0;
}

.lab7-app-form__section {
  min-width: 0;
  padding: clamp(20px, 4vw, 28px);
  margin: 0;
  background: #ffffff;
  border: 1px solid var(--lab7-app-form-border-light);
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(31, 35, 40, 0.035);
}

.lab7-app-form__section + .lab7-app-form__section {
  margin-top: 24px;
}

.lab7-app-form__section-title {
  display: flex;
  align-items: center;
  gap: 11px;
  width: auto;
  max-width: 100%;
  padding: 0 8px;
/*  margin: 0 0 24px;*/
  color: var(--lab7-app-form-heading);
  background: #ffffff;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.4;
    font-family: 'DINNextLTArabicMedium';
}

.lab7-app-form__section-title::before {
  flex: 0 0 auto;
  width: 6px;
  height: 24px;
  background: var(--lab7-app-form-primary);
  border-radius: 20px;
  content: "";
}

.lab7-app-form__section-description {
  margin: -10px 0 24px;
  color: var(--lab7-app-form-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

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

.lab7-app-form__field {
  min-width: 0;
}

.lab7-app-form__field--full {
  grid-column: 1 / -1;
}

/* =========================================================
 LABELS AND FORM CONTROLS
========================================================= */

.lab7-app-form__label {
  display: inline-block;
  margin: 0 0 8px;
  color: var(--lab7-app-form-heading);
  font-size: 0.89rem;
  font-weight: 700;
  line-height: 1.4;
font-family: 'DINNextLTArabicRegular';
}

.lab7-app-form__required {
  color: var(--lab7-app-form-danger);
}

.lab7-app-form__optional {
  margin-left: 4px;
  color: var(--lab7-app-form-muted);
  font-size: 0.75rem;
  font-weight: 500;
}

.lab7-app-form__control {
  display: block;
  width: 100%;
  min-height: 49px;
  padding: 11px 14px;
  margin: 0;
  color: var(--lab7-app-form-heading);
  background: #ffffff;
  border: 1px solid var(--lab7-app-form-border);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(20, 24, 28, 0.03);
  outline: none;
  transition:
      background-color 160ms ease,
      border-color 160ms ease,
      box-shadow 160ms ease;
}

.lab7-app-form__control::placeholder {
  color: #969ba1;
  opacity: 1;
}

.lab7-app-form__control:hover {
  border-color: #90969c;
}

.lab7-app-form__control:focus {
  background: #fffdfb;
  border-color: var(--lab7-app-form-primary);
  box-shadow:
      0 0 0 4px var(--lab7-app-form-focus),
      0 1px 2px rgba(20, 24, 28, 0.04);
}

.lab7-app-form__textarea {
  min-height: 132px;
  resize: vertical;
}

/* =========================================================
 SELECT CONTROLS
========================================================= */

.lab7-app-form__select-container {
  position: relative;
  width: 100%;
}

.lab7-app-form__select-container::after {
  position: absolute;
  top: 50%;
  right: 17px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #555b60;
  border-bottom: 2px solid #555b60;
  pointer-events: none;
  content: "";
  transform: translateY(-70%) rotate(45deg);
}

.lab7-app-form__select {
  padding-right: 46px;
  appearance: none;
  -webkit-appearance: none;
}

.lab7-app-form__field-hint {
  display: block;
  margin-top: 7px;
  color: var(--lab7-app-form-muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

/* =========================================================
 FILE CONTROLS
========================================================= */

.lab7-app-form__file-container {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 57px;
  padding: 8px;
  overflow: hidden;
  background: #fafafa;
  border: 1px dashed #aeb3b9;
  border-radius: 8px;
  transition:
      background-color 160ms ease,
      border-color 160ms ease,
      box-shadow 160ms ease;
}

.lab7-app-form__file-container:hover {
  background: var(--lab7-app-form-primary-light);
  border-color: var(--lab7-app-form-primary);
}

.lab7-app-form__file-container:focus-within {
  background: #fffdfb;
  border-color: var(--lab7-app-form-primary);
  box-shadow: 0 0 0 4px var(--lab7-app-form-focus);
}

.lab7-app-form__file-input {
  width: 100%;
  min-width: 0;
  margin: 0;
  color: var(--lab7-app-form-muted);
  background: transparent;
  border: 0;
  font-size: 0.84rem;
}

.lab7-app-form__file-input::file-selector-button {
  min-height: 38px;
  padding: 8px 15px;
  margin-right: 12px;
  color: var(--lab7-app-form-primary-dark);
  background: #ffffff;
  border: 1px solid var(--lab7-app-form-primary);
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  transition:
      color 160ms ease,
      background-color 160ms ease;
}

.lab7-app-form__file-input:hover::file-selector-button {
  color: #ffffff;
  background: var(--lab7-app-form-primary);
}

/* =========================================================
 SUBMIT AREA
========================================================= */

.lab7-app-form__actions {
  margin-top: 28px;
}

.lab7-app-form__agreement {
  max-width: 540px;
  margin: 0 auto 16px;
  color: var(--lab7-app-form-muted);
  font-size: 0.76rem;
  line-height: 1.5;
  text-align: center;
}

.lab7-app-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 13px 24px;
  margin: 0;
  color: #ffffff;
  background:
      linear-gradient(
          135deg,
          var(--lab7-app-form-primary),
          #ff7e40
      );
  border: 0;
  border-radius: 9px;
  box-shadow: 0 12px 25px rgba(242, 99, 34, 0.25);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-align: center;
  transition:
      transform 160ms ease,
      box-shadow 160ms ease,
      filter 160ms ease;
}

.lab7-app-form__submit::after {
  font-size: 1.15rem;
  content: "→";
  transition: transform 160ms ease;
}

.lab7-app-form__submit:hover {
  box-shadow: 0 16px 32px rgba(242, 99, 34, 0.33);
  filter: saturate(1.08);
  transform: translateY(-2px);
}

.lab7-app-form__submit:hover::after {
  transform: translateX(4px);
}

.lab7-app-form__submit:active {
  box-shadow: 0 7px 16px rgba(242, 99, 34, 0.22);
  transform: translateY(0);
}

.lab7-app-form__submit:focus-visible {
  outline: 4px solid rgba(242, 99, 34, 0.25);
  outline-offset: 4px;
}

/* =========================================================
 TABLET
========================================================= */

@media (max-width: 768px) {
  .lab7-app-form__main {
      padding-top: 38px;
      padding-bottom: 55px;
  }

  .lab7-app-form__card {
      border-radius: 16px;
  }

  .lab7-app-form__grid {
      grid-template-columns: 1fr;
  }

  .lab7-app-form__field--full {
      grid-column: auto;
  }
}

/* =========================================================
 MOBILE AND IPHONE
========================================================= */

@media (max-width: 520px) {
  .lab7-app-form__main {
      padding: 22px 11px 35px;
  }

  .lab7-app-form__card {
      padding: 28px 14px 24px;
      border-radius: 13px;
  }

  .lab7-app-form__card::before {
      height: 5px;
  }

  .lab7-app-form__title {
      margin-bottom: 30px;
  }

  .lab7-app-form__title-heading {
      font-size: 1.72rem;
      line-height: 1.18;
  }

  .lab7-app-form__section {
      padding: 20px 14px;
      border-radius: 10px;
  }

  .lab7-app-form__section + .lab7-app-form__section {
      margin-top: 18px;
  }

  .lab7-app-form__section-title {
      margin-bottom: 21px;
      padding: 0 6px;
      font-size: 1rem;
  }

  .lab7-app-form__section-description {
      margin-top: -8px;
  }

  .lab7-app-form__grid {
      gap: 19px;
  }

  .lab7-app-form__control {
      min-height: 50px;
      font-size: 16px;
  }

  .lab7-app-form__textarea {
      min-height: 120px;
  }

  .lab7-app-form__file-container {
      min-height: 60px;
      padding: 7px;
  }

  .lab7-app-form__file-input {
      font-size: 0.76rem;
  }

  .lab7-app-form__file-input::file-selector-button {
      padding-right: 10px;
      padding-left: 10px;
      margin-right: 7px;
  }

  .lab7-app-form__submit {
      min-height: 54px;
  }
}

/* Prevent input zoom in iOS Safari */

@supports (-webkit-touch-callout: none) {
  .lab7-app-form .lab7-app-form__control {
      font-size: 16px;
  }
}

/* Reduced-motion support limited to this component */

@media (prefers-reduced-motion: reduce) {
  .lab7-app-form,
  .lab7-app-form *,
  .lab7-app-form *::before,
  .lab7-app-form *::after {
      transition-duration: 0.01ms !important;
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
  }
}
