@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700&display=swap");

.tt-desktop-login-story {
  display: none;
}

@media (min-width: 901px) {
  body.tt-desktop-login-page {
    min-height: 100vh;
    min-height: 100dvh;
    background: #101820 !important;
    color: #151b1a;
    font-family: "DM Sans", Arial, sans-serif;
  }

  body.tt-desktop-login-page .tt-auth-background {
    right: 44%;
  }

  body.tt-desktop-login-page .tt-auth-background::after {
    background:
      linear-gradient(180deg, rgba(7, 17, 24, 0.44), rgba(7, 17, 24, 0.84)),
      linear-gradient(90deg, rgba(23, 111, 157, 0.2), transparent 58%);
  }

  body.tt-desktop-login-page .tt-auth-background-layer img {
    filter: brightness(0.84) saturate(0.76);
    transform: scale(1.02);
  }

  body.tt-desktop-login-page > .nav {
    display: none;
  }

  .tt-desktop-login-story {
    position: fixed !important;
    z-index: 3 !important;
    inset: 0 44% 0 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    min-height: 100dvh;
    padding: clamp(38px, 5vw, 70px) clamp(42px, 7vw, 104px);
    color: #fff;
    pointer-events: none;
  }

  body.tt-desktop-login-page:not(.tt-auth-bg-page) .tt-desktop-login-story {
    background:
      linear-gradient(180deg, rgba(7, 17, 24, 0.46), rgba(7, 17, 24, 0.86)),
      url("/assets/img/thlengtabg/office-desktop.webp") center / cover;
  }

  .tt-desktop-login-story a {
    pointer-events: auto;
  }

  .tt-desktop-login-brand {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
  }

  .tt-desktop-login-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
  }

  .tt-desktop-login-brand span {
    display: grid;
    gap: 1px;
  }

  .tt-desktop-login-brand .tt-desktop-login-wordmark {
    width: 122px;
    height: auto;
    filter: none;
  }

  .tt-desktop-login-brand small {
    color: #9dd8f7;
    font-size: 11px;
    font-weight: 600;
  }

  .tt-desktop-login-copy {
    max-width: 680px;
  }

  .tt-desktop-login-copy > span {
    display: block;
    margin-bottom: 17px;
    color: #9dd8f7;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
  }

  .tt-desktop-login-copy h1 {
    margin: 0;
    color: #fff;
    font-family: "Manrope", Arial, sans-serif;
    font-size: clamp(48px, 5.4vw, 78px);
    font-weight: 600;
    line-height: 1.04;
  }

  .tt-desktop-login-copy p {
    max-width: 560px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 18px;
    line-height: 1.55;
  }

  .tt-desktop-login-story footer {
    color: rgba(255, 255, 255, 0.56);
    font-size: 11px;
    font-weight: 600;
  }

  body.tt-desktop-login-page > .section {
    box-sizing: border-box;
    width: 44%;
    min-height: 100vh;
    min-height: 100dvh;
    margin-left: 56%;
    display: grid;
    place-items: center;
    padding: 44px clamp(34px, 4vw, 72px) !important;
    background: #fff;
  }

  body.tt-desktop-login-page > .section > .card.pad {
    width: min(100%, 440px) !important;
    max-width: 440px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  body.tt-desktop-login-page .topbar h2,
  body.tt-desktop-login-page .card > h2 {
    color: #151b1a;
    font-family: "Manrope", Arial, sans-serif;
    font-size: 37px;
    font-weight: 600;
    line-height: 1.14;
  }

  body.tt-desktop-login-page .h-eyebrow {
    gap: 8px;
  }

  body.tt-desktop-login-page .h-eyebrow .chip {
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #176f9d;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
  }

  body.tt-desktop-login-page .field {
    gap: 7px;
  }

  body.tt-desktop-login-page .field label,
  body.tt-desktop-login-page .tt-login-staff-title {
    color: #4f5956;
    font-size: 12px;
    font-weight: 600;
  }

  body.tt-desktop-login-page .field input,
  body.tt-desktop-login-page .field select,
  body.tt-desktop-login-page .tl-staff-code-control input {
    min-height: 48px;
    border: 1px solid #aeb7b4;
    border-radius: 3px !important;
    background: #fff;
    color: #151b1a;
    font-size: 16px;
  }

  body.tt-desktop-login-page .field input:focus,
  body.tt-desktop-login-page .field select:focus,
  body.tt-desktop-login-page .tl-staff-code-control input:focus {
    border-color: #176f9d;
    box-shadow: 0 0 0 3px rgba(23, 111, 157, 0.12);
  }

  body.tt-desktop-login-page .btn {
    min-height: 46px;
    border-radius: 3px !important;
    box-shadow: none !important;
  }

  body.tt-desktop-login-page .btn.primary,
  body.tt-desktop-login-page .tl-staff-code-control button {
    border-color: #176f9d !important;
    background: #176f9d !important;
    color: #fff !important;
  }

  body.tt-desktop-login-page .btn.primary:hover,
  body.tt-desktop-login-page .tl-staff-code-control button:hover {
    border-color: #105e88 !important;
    background: #105e88 !important;
  }

  body.tt-desktop-login-page .notice,
  body.tt-desktop-login-page .error {
    border-radius: 3px !important;
    box-shadow: none !important;
  }

  body.tt-desktop-login-page .notice {
    background: #f4f7f8 !important;
  }

  body.tt-desktop-login-page .error {
    border-left: 3px solid #a83d35;
    background: #fff1f0;
  }

  body.tt-desktop-login-page .tt-store-choice {
    border-radius: 3px !important;
  }
}

@media (min-width: 901px) and (max-height: 760px) {
  .tt-desktop-login-story {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .tt-desktop-login-copy h1 {
    font-size: clamp(42px, 4.7vw, 64px);
  }

  .tt-desktop-login-copy p {
    margin-top: 15px;
    font-size: 16px;
  }

  body.tt-desktop-login-page > .section {
    align-items: start;
    overflow-y: auto;
    padding-top: 34px !important;
    padding-bottom: 34px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.tt-desktop-login-page .tt-auth-background-layer {
    transition: none;
  }
}
