/* Gate8: full-width LinkedIn + CTA/submit same column; centered labels */

body.oej-order-gate-active .l-main-content .l-container,
body.oej-order-gate-active .l-content-wrapper {
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
body.oej-order-gate-active h1.title {
  text-align: center;
  margin-bottom: 1.1rem;
  font-size: 1.45rem;
  font-weight: 600;
  color: #333;
}

body.oej-order-gate-active .l-region--content,
body.oej-order-gate-active form.user-login,
body.oej-order-gate-active .register-box {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  clear: both !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

/* Shared horizontal inset so CTA / LinkedIn / fields / submit match */
body.oej-order-gate-active form.user-login,
body.oej-order-gate-active .register-box.oej-order-gate-register {
  padding-left: 1.1rem !important;
  padding-right: 1.1rem !important;
}

.oej-order-gate {
  display: block;
  margin: 0 0 1.4rem;
  padding: 1.05rem 1.1rem 1.15rem;
  border: 1px solid #e8e8e8;
  border-left: 3px solid #E13C36;
  border-radius: 6px;
  background: #fafafa;
  color: #222;
  box-sizing: border-box;
}

.oej-order-gate__badge {
  display: inline-block;
  margin: 0 0 0.7rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #E13C36;
  border: 1px solid #f0c4c2;
  border-radius: 3px;
  background: #fff5f5;
  line-height: 1.2;
}
.oej-order-gate__text {
  margin: 0 0 0.9rem;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.45;
  color: #222;
  text-align: left;
}
.oej-order-gate__actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: stretch;
}
.oej-order-gate__cta {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
  text-align: center !important;
  padding: 0.95rem 1.1rem;
  min-height: 48px;
  border-radius: 5px;
  background: #E13C36;
  color: #fff !important;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(225, 60, 54, 0.25);
}
.oej-order-gate__cta:hover,
.oej-order-gate__cta:focus {
  background: #c4332e;
  color: #fff !important;
}
.oej-order-gate__secondary {
  font-size: 0.9rem;
  color: #555;
  text-align: center;
  line-height: 1.4;
}
.oej-order-gate__secondary a {
  color: #111 !important;
  font-weight: 600;
  text-decoration: underline;
}
.oej-order-gate__contact {
  font-size: 0.88rem;
  text-align: center;
}
.oej-order-gate__contact a {
  color: #E13C36 !important;
  font-weight: 600;
  text-decoration: underline;
}

/* Break theme inline-block on LinkedIn stack — force full column width */
body.oej-order-gate-active .user-login__header,
body.oej-order-gate-active .user-login__header .form-wrapper,
body.oej-order-gate-active .user-login__header .register-applicant,
body.oej-order-gate-active .user-login__header ul,
body.oej-order-gate-active .user-login__header li,
body.oej-order-gate-active .register-applicant,
body.oej-order-gate-active .register-applicant ul,
body.oej-order-gate-active .register-applicant li {
  display: block !important;
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  box-sizing: border-box !important;
}
body.oej-order-gate-active a.register-linkedin,
body.oej-order-gate-active .register-applicant a.register-linkedin,
body.oej-order-gate-active .user-login__header a.register-linkedin {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
  padding: 0.8rem 1rem !important;
  min-height: 48px !important;
  text-align: center !important;
  background: #fff !important;
  color: #222 !important;
  border: 1px solid #ccc !important;
  border-radius: 5px !important;
  font-weight: 500 !important;
  font-size: 0.95rem !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  margin: 0 0 0.85rem 0 !important;
  box-shadow: none !important;
  float: none !important;
}
body.oej-order-gate-active a.register-linkedin:hover,
body.oej-order-gate-active a.register-linkedin:focus,
body.oej-order-gate-active a.register-linkedin:active,
body.oej-order-gate-active .register-applicant a.register-linkedin:hover,
body.oej-order-gate-active .register-applicant a.register-linkedin:focus,
body.oej-order-gate-active .register-applicant a.register-linkedin:active,
body.oej-order-gate-active .user-login__header a.register-linkedin:hover,
body.oej-order-gate-active .user-login__header a.register-linkedin:focus,
body.oej-order-gate-active .user-login__header a.register-linkedin:active {
  background: #f7f7f7 !important;
  color: #222 !important;
  border-color: #bbb !important;
  box-shadow: none !important;
}
/* Keep LinkedIn icon + label centered as a group */
body.oej-order-gate-active a.register-linkedin:before {
  margin-right: 0.45rem !important;
  margin-left: 0 !important;
  float: none !important;
}

body.oej-order-gate-active .user-login__separator {
  margin: 0.2rem 0 1rem;
  font-size: 0.8rem;
  color: #777;
  text-align: center;
}
body.oej-order-gate-active .user-login__separator .text {
  font-size: 0.8rem;
  color: #777;
}
body.oej-order-gate-active .user-login__separator .line {
  display: none;
}

body.oej-order-gate-active form.user-login .form-item {
  margin-bottom: 0.9rem;
}
body.oej-order-gate-active form.user-login label {
  display: block;
  font-size: 0.85rem;
  color: #444;
  margin-bottom: 0.35rem;
}
body.oej-order-gate-active form.user-login .form-item-input,
body.oej-order-gate-active form.user-login .form-type-password,
body.oej-order-gate-active form.user-login .form-type-textfield {
  width: 100%;
  box-sizing: border-box;
}
body.oej-order-gate-active form.user-login input.form-text,
body.oej-order-gate-active form.user-login input.form-password {
  display: block;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
  padding: 0.75rem 0.85rem;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background: #fff;
}

body.oej-order-gate-active form.user-login .form-actions {
  margin: 0.75rem 0 0;
  padding: 0;
  width: 100%;
  text-align: center !important;
  float: none !important;
}
/* input[type=submit]: text-align centers the value (flex is unreliable on inputs) */
body.oej-order-gate-active form.user-login input.form-submit {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
  background: #222 !important;
  border: 1px solid #222 !important;
  box-shadow: none !important;
  color: #fff !important;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  padding: 0.9rem 1rem;
  min-height: 48px;
  border-radius: 5px;
  text-align: center !important;
  margin: 0 !important;
  float: none !important;
  -webkit-appearance: none;
  appearance: none;
}
body.oej-order-gate-active form.user-login input.form-submit:hover,
body.oej-order-gate-active form.user-login input.form-submit:focus,
body.oej-order-gate-active form.user-login input.form-submit:active {
  background: #111 !important;
  border-color: #111 !important;
  box-shadow: none !important;
}

/* Soft register links */
body.oej-order-gate-active .register-box {
  text-align: center !important;
  margin-top: 1.6rem !important;
  padding-top: 1.2rem !important;
  border-top: 1px solid #e8e8e8;
  background: transparent;
}
body.oej-order-gate-active .register-box h2 {
  margin: 0 0 0.7rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #333;
  text-align: center;
}
body.oej-order-gate-active .register-box .register-text {
  display: none;
}
body.oej-order-gate-active .register-box .register-box-links {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 1.25rem;
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
}
body.oej-order-gate-active .register-box .register-box-links > div {
  display: contents;
  margin: 0 !important;
}
body.oej-order-gate-active .register-box .register-box-links a,
body.oej-order-gate-active .register-box .oej-order-gate-recruiter-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0.25rem 0 !important;
  background: transparent !important;
  border: none !important;
  color: #E13C36 !important;
  font-weight: 500 !important;
  font-size: 0.95rem !important;
  line-height: 1.3;
  text-align: center;
  text-decoration: none !important;
  opacity: 1 !important;
  box-shadow: none !important;
}
body.oej-order-gate-active .register-box .register-box-links a:hover {
  text-decoration: underline !important;
}

@media (max-width: 699px) {
  body.oej-order-gate-active .l-main-content .l-container,
  body.oej-order-gate-active .l-content-wrapper {
    max-width: 100%;
  }
}
