body {
  background: var(--brown-brown400, #F5EBDC);
  --bk-main-padding-horizontal: 80px;
  --bk-main-padding-vertical: 40px;
}

.bk-container {
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 100px 0;
}

.bk-header {
  width: 320px;
  height: 38px;
  background: url('../img/logo.svg') no-repeat;
  margin-bottom: 48px;
}

.bk-header.with-service-desk-form {
  display: none;
}

.bk-main {
  width: 100%;
  max-width: 540px;
  border-radius: 32px;
  background: var(--brown-brown300, #FCF6EC);
  padding: var(--bk-main-padding-vertical) var(--bk-main-padding-horizontal);
  font-family: Rotonda;
  font-size: 16px;
  line-height: 24px;
  /* 133.333% */
  color: var(--brown-brown900);
  margin-bottom: 16px;
}

.bk-main.with-service-desk-form {
  max-width: 640px;
}

.bk-login-header .bk-login-header-title .bk-login-sso-header {
  display: none;
}

.bk-login-header .bk-login-header-title .bk-service-desk-form-title {
  display: none;
}

.bk-main.with-service-desk-form .bk-login-header .bk-login-header-title .bk-service-desk-form-title {
  display: block;
  padding-right: 40px;
}

.bk-main.with-service-desk-form .bk-service-desk-form-wrapper {
  display: block;
}

.bk-main.with-service-desk-form .bk-login-main {
  display: none;
}

.bk-main.with-service-desk-form .bk-login-header .bk-login-header-title .bk-login-template-header {
  display: none;
}

.bk-main:has(#mf_iframe) .bk-login-header .bk-login-header-title .bk-login-sso-header {
  display: inline;
}

.bk-main:has(#mf_iframe) .bk-login-header .bk-login-header-title .bk-login-template-header {
  display: none;
}

.bk-login-header {
  padding: 16px 0;
}

.bk-login-header-title {
  color: var(--brown-brown900, #502314);
  font-family: Flame;
  font-size: 26px;
  line-height: 30px;
  /* 115.385% */
}

.bk-login-main {
  .bk-alert {
    margin-bottom: 16px;
  }
}

#mf_iframe {
  width: 360px !important;
}

.bk-login-form-wrapper:has(#mf_iframe) {
  margin-top: 24px;
  background-color: #ECF5FB;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 16px;
}

.bk-login-main:has(#mf_iframe) .bk-btn-link {
  display: block;
  max-width: 240px;
  margin: 48px auto 0;
}

.bk-service-desk-form-wrapper {
  margin-top: 24px;
  display: none;
}

.bk-main.with-service-desk-form {
  position: relative;
}

.bk-service-desk-form-wrapper .bk-service-desk-form-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 32px;
  height: 32px;
  background: url('../img/close.svg') no-repeat center;
  cursor: pointer;
}

.bk-try-another-way-button {
  margin-top: 16px;
}

.bk-auth-help-block {
  display: flex;
  padding: 16px;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border-radius: 32px;
  background: var(--brown-brown300, #FCF6EC);
  width: 100%;
  max-width: 540px;
}

.bk-auth-help-btn {
  display: flex;
  padding: 12px 16px;
  align-items: center;
  gap: 16px;
  align-self: stretch;
  border-radius: 16px;
  background: var(--brown-brown400, #F5EBDC);
  border: 0;
}

.bk-auth-help-document-icon {
  color: var(--brown-brown900, #502314);
  background-color: var(--brown-brown900, #502314);
  width: 24px;
  height: 24px;
  background: url('../img/document.svg') no-repeat;
  flex-shrink: 0;
}

.bk-auth-help-lifebuoy-icon {
  color: var(--brown-brown900, #502314);
  width: 24px;
  height: 24px;
  background: url('../img/lifebuoy.svg') no-repeat;
  flex-shrink: 0;
}

.bk-auth-help-chevron {
  width: 20px;
  height: 20px;
  background: url('../img/chevron-right.svg') no-repeat;
  margin-left: auto;
  flex-shrink: 0;
}

.bk-auth-help-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
  text-align: left;
}

.bk-auth-help-title {
  color: var(--brown-brown900, #502314);
  /* Header Three */
  font-family: Flame;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 133.333% */
}

.bk-auth-help-tip {
  color: var(--brown-brown900, #502314);
  /* Copy Two */
  font-family: Rotonda;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 16px; /* 133.333% */
}

@media (width <=545px) {
  .bk-main {
    --bk-main-padding-horizontal: 16px;
    --bk-main-padding-vertical: 16px;
  }

  .bk-main.with-service-desk-form .bk-login-header .bk-login-header-title .bk-service-desk-form-title {
    padding-right: 40px;
  }

  .bk-container {
    gap: 24px;
    padding: 20px 16px 16px;
    justify-content: flex-start;
  }

  .bk-header {
    width: 180px;
    height: 22px;
    background: url('../img/logo_mobile.svg') no-repeat;
    margin-bottom: 0;
  }
 
  .bk-service-desk-form-wrapper .bk-service-desk-form-close {
    top: 16px;
    right: 16px;
  }
}

@media (width <=352px) {
  .bk-container {
    padding: 20px 0;
  }
}