/* trucklo producer login - Figma 525:5126 */
.tl-page--login {
  background: #0d1234;
  min-height: 100vh;
}
.tl-page--login .tl-main {
  min-height: 100vh;
  padding: 0;
  margin: 0;
  max-width: none;
}
.tl-page--login .tl-body,
body.tl-page--login {
  background: #0d1234;
}

.tl-login {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #0d1234;
  color: #fff;
}
.tl-login__inner {
  display: flex;
  align-items: center;
  gap: 80px;
  min-height: 100vh;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 80px 140px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}
.tl-login__main {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 60px;
  flex: 0 1 624px;
  width: 100%;
  min-width: 0;
  max-width: 624px;
  padding: 40px 0;
}
.tl-login__brand {
  display: block;
  width: 235px;
  height: 80px;
  flex-shrink: 0;
}
.tl-login__brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}
.tl-login__title {
  margin: 0;
  max-width: 624px;
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 64px;
  line-height: 70px;
  color: #fff;
}
.tl-login__title-line,
.tl-login__title-accent {
  display: block;
}
.tl-login__title-accent {
  color: #ef4136;
}

.tl-login__forms {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}
.tl-login-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  max-width: 624px;
}
.tl-login-form--secondary {
  gap: 16px;
}
.tl-login-form.is-hidden,
.tl-login-form[hidden] {
  display: none !important;
}

/* Shared a11y helper - login page does not load home.css */
.tl-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tl-login-field {
  display: flex;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  padding: 4px;
  border: 1px solid rgba(13, 18, 52, 0.3);
  border-radius: 16px;
  background: #fff;
  margin: 0;
  cursor: text;
  text-align: left;
}
.tl-login-field input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  height: 60px;
  padding: 10px 14px 10px 18px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #0d1234;
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: normal;
  outline: none;
  text-align: left !important;
  direction: ltr;
  text-indent: 0;
}
.tl-login-field input::placeholder {
  color: #808185;
  opacity: 1;
  text-align: left !important;
}
.tl-login-field:focus-within {
  outline: 2px solid #ef4136;
  outline-offset: 2px;
}
.tl-login-field--password {
  gap: 0;
}
.tl-login-field--password input {
  padding-right: 8px;
}
.tl-login-field__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  margin-right: 6px;
  padding: 0;
  border: 0;
  border-radius: var(--tl-radius, 16px);
  background: transparent;
  cursor: pointer;
}
.tl-login-field__toggle img {
  display: block;
  width: 24px;
  height: 24px;
}
.tl-login-field__eye-off.is-hidden,
.tl-login-field__eye.is-hidden {
  display: none;
}

.tl-login-forgot {
  margin: 0;
  color: #808185;
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: normal;
}
.tl-login-forgot__link {
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font: inherit;
  text-decoration: underline;
  text-underline-position: from-font;
  cursor: pointer;
}
.tl-login-forgot__link:hover,
.tl-login-forgot__link:focus-visible {
  color: #ef4136;
}

.tl-login-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 20px 0 0;
  padding: 14px 32px 14px 40px;
  border: 1px solid #ef4136;
  border-radius: 0 16px 16px 16px;
  background: #ef4136;
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: normal;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.tl-login-form > .tl-login-submit {
  margin-top: 20px;
}
.tl-login-form--secondary > .tl-login-submit {
  margin-top: 8px;
}
.tl-login-submit:hover,
.tl-login-submit:focus-visible {
  background: #d7382e;
  border-color: #d7382e;
  outline: none;
}
.tl-login-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}
.tl-login-submit__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  transform: rotate(-45deg);
}
.tl-login-submit__icon img {
  display: block;
  width: 32px;
  height: 32px;
}

.tl-login-secondary__title {
  margin: 0 0 4px;
  color: #fff;
  font-family: "Open Sans", sans-serif;
  font-size: 24px;
  font-weight: 700;
}
.tl-login-back {
  padding: 0;
  border: 0;
  background: none;
  color: #808185;
  font-family: Inter, sans-serif;
  font-size: 16px;
  text-decoration: underline;
  cursor: pointer;
}
.tl-login-back:hover { color: #fff; }

.tl-login-msg {
  margin: 0;
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--tl-radius, 16px);
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 600;
}
.tl-login-msg.is-ok {
  background: rgba(238, 248, 241, 0.95);
  color: #0d7a3f;
}
.tl-login-msg.is-err {
  background: rgba(255, 248, 247, 0.95);
  color: #b42318;
}

.tl-login__art {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: min(657px, 48vw);
  height: min(820px, 100vh);
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.tl-login__art-item {
  position: absolute;
  display: block;
  max-width: none;
  object-fit: contain;
  object-position: bottom center;
  opacity: 0.6;
}
.tl-login__art-item--special {
  left: -130px;
  top: -99px;
  width: 727px;
  height: 404px;
  opacity: 0.9;
}
.tl-login__art-item--tanker {
  left: 298px;
  top: 146px;
  width: 554px;
  height: 465px;
}
.tl-login__art-item--van {
  left: 45px;
  top: 547px;
  width: 692px;
  height: 351px;
}

@media (max-width: 1200px) {
  .tl-login__inner {
    gap: 40px;
    padding: 60px 64px;
  }
  .tl-login__art {
    width: min(420px, 42vw);
    height: min(640px, 90vh);
  }
  .tl-login__art-item--special {
    left: -80px;
    width: 520px;
    height: auto;
  }
  .tl-login__art-item--tanker {
    left: 160px;
    width: 400px;
    height: auto;
  }
  .tl-login__art-item--van {
    left: 20px;
    top: 420px;
    width: 480px;
    height: auto;
  }
}

@media (max-width: 900px) {
  .tl-login__inner {
    flex-direction: column;
    align-items: stretch;
    padding: 40px 20px 80px;
    gap: 0;
  }
  .tl-login__main {
    max-width: none;
    flex-basis: auto;
    gap: 32px;
    padding: 20px 0 0;
    align-items: stretch;
  }
  .tl-login__title {
    font-size: 36px;
    line-height: 42px;
    text-align: center;
  }
  .tl-login__brand {
    width: 180px;
    height: 61px;
    margin: 0 auto;
  }
  .tl-login__forms {
    width: 100%;
    text-align: left;
  }
  .tl-login-form {
    align-items: stretch;
    max-width: none;
  }
  .tl-login-forgot {
    text-align: left;
  }
  .tl-login-submit {
    width: 100%;
  }
  .tl-login__art {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    height: 280px;
    margin-top: 24px;
    order: -1;
  }
}
