/*
 * TATA Tele Business Services branded login page (backend + customer).
 * Scoped to body.tt-login-page so the 2FA / forgot password screens keep the stock styles.
 */
body.tt-login-page,
body.tt-login-page.dark {
  background: #ffffff !important;
  color: #1a1a1a;
  font-family: 'Ubuntu', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}
body.tt-login-page .login-box {
  position: relative;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
body.tt-login-page .login-box > form {
  width: 100%;
  max-width: 960px;
}
body.tt-login-page #notify-container {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  padding: 0 16px;
  z-index: 10;
}

.tt-login {
  display: flex;
  gap: 32px;
  background: #f7f7f7;
  border-radius: 16px;
  padding: 32px;
  min-height: 500px;
}
.tt-login-form {
  flex: 0 0 360px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
}
.tt-login-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 44px;
}
.tt-login-brand .tt-logo {
  height: 34px;
  width: auto;
}
.tt-login-brand .tt-logo-smartflo {
  height: 32px;
  width: auto;
}
.tt-login-title {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  margin: 0 0 8px 0;
}
.tt-login-subtitle {
  font-size: 13px;
  line-height: 1.5;
  color: #7a7a7a;
  margin: 0 0 22px 0;
}

.tt-field {
  position: relative;
  margin-bottom: 20px;
}
.tt-field > label {
  position: absolute;
  top: -8px;
  left: 12px;
  z-index: 2;
  margin: 0;
  padding: 0 4px;
  font-size: 11px;
  font-weight: 400;
  line-height: 16px;
  color: #1a1a1a;
  background: linear-gradient(to bottom, #f7f7f7 50%, #ffffff 50%);
}
.tt-field > label .required {
  color: #e8572a;
}
.tt-field .form-control {
  height: 42px;
  padding: 8px 40px 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #1a1a1a;
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: 7px;
  box-shadow: none;
}
.tt-field .form-control:focus {
  border-color: #f28c38;
  box-shadow: 0 0 0 3px rgba(242, 140, 56, .15);
}
.tt-field.has-error .form-control,
.tt-field .form-control.error {
  border-color: #dd4b39;
}
.tt-field .errorMessage {
  margin-top: 5px;
  font-size: 12px;
  color: #dd4b39;
}
.tt-toggle-password {
  position: absolute;
  top: 21px;
  right: 10px;
  transform: translateY(-50%);
  padding: 4px;
  border: 0;
  background: transparent;
  color: #1a1a1a;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}
.tt-toggle-password:focus {
  outline: none;
  color: #e8572a;
}

.tt-login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: -4px 0 20px 0;
  font-size: 13px;
}
.tt-login-options label {
  margin: 0;
  font-weight: 400;
  color: #555;
  cursor: pointer;
}
.tt-login-options label input {
  margin: 0 6px 0 0;
  vertical-align: -1px;
}
.tt-link,
.tt-link:visited {
  color: #e8572a;
  font-weight: 500;
}
.tt-link:hover,
.tt-link:focus {
  color: #c43d16;
  text-decoration: underline;
}

.tt-btn-submit {
  min-width: 150px;
  height: 40px;
  padding: 0 24px;
  border: 0;
  border-radius: 20px;
  background: linear-gradient(180deg, #f9963f 0%, #e8572a 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(232, 87, 42, .25);
  transition: filter .15s ease, box-shadow .15s ease;
}
.tt-btn-submit:hover,
.tt-btn-submit:focus {
  color: #ffffff;
  filter: brightness(1.05);
  box-shadow: 0 6px 14px rgba(232, 87, 42, .35);
  outline: none;
}

.tt-login-extra {
  margin-top: 16px;
  font-size: 13px;
  color: #555;
}
.tt-login-social {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tt-login-social .btn {
  border-radius: 18px;
}

.tt-login-footer {
  margin-top: auto;
  padding-top: 28px;
  font-size: 12px;
  line-height: 1.5;
  color: #7a7a7a;
}

.tt-login-visual {
  flex: 1 1 auto;
  min-height: 420px;
  border-radius: 14px;
  background-color: #0b1f4d;
  background-image: url('../img/login/city.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (max-width: 991px) {
  body.tt-login-page .login-box {
    padding: 16px;
  }
  body.tt-login-page .login-box > form {
    max-width: 440px;
  }
  .tt-login {
    padding: 24px 20px;
    min-height: 0;
  }
  .tt-login-form {
    flex-basis: 100%;
    max-width: 100%;
  }
  .tt-login-visual {
    display: none;
  }
  .tt-login-brand {
    margin-bottom: 32px;
  }
}
@media (max-width: 480px) {
  .tt-login-brand .tt-logo {
    height: 30px;
  }
  .tt-login-brand .tt-logo-smartflo {
    height: 28px;
  }
  .tt-login-title {
    font-size: 22px;
  }
  .tt-btn-submit {
    width: 100%;
  }
}
