/**
 * The Microsoft sign-in control.
 *
 * Deliberately matched to this theme's own login submit (ll_knowledge's
 * `.user-login-form .form-submit`): the same gold, the same pill radius, the
 * same full width, so the two controls on the page read as siblings rather
 * than as one button and one stray link.
 *
 * It is an <a>, because it navigates — to Microsoft — and a <button> that
 * changes the page address is a button lying about what it does. Everything
 * here is about making it LOOK like the button it behaves like.
 *
 * Self-contained on purpose. This site has no web/libraries directory, so the
 * ui_suite_bootstrap classes the contrib block used (`btn btn-primary`) match
 * no stylesheet, which is exactly how it ended up rendering as a bare link.
 * Nothing below depends on Bootstrap, a CDN, or an icon font.
 */

.kb-entra-signin {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 20px;
  padding: 11px 18px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  color: #272a30;
  text-align: center;
  text-decoration: none;
  background: #d59926;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s;
}

.kb-entra-signin:hover,
.kb-entra-signin:focus {
  color: #272a30;
  text-decoration: none;
  background: #e2ab45;
}

/* A visible focus ring: this is the primary control on the page, and it has to
   be reachable and obvious by keyboard. */
.kb-entra-signin:focus-visible {
  outline: 2px solid #272a30;
  outline-offset: 2px;
}

.kb-entra-signin__mark {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}

/* The divider between "sign in with Microsoft" and the emergency password form
   below it, so the form reads as the alternative it is rather than as the
   expected path. */
.kb-entra-signin-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  font-size: 12px;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.kb-entra-signin-divider::before,
.kb-entra-signin-divider::after {
  flex: 1 1 auto;
  height: 1px;
  background: #e5e7eb;
  content: "";
}
