.login {
  background-color: #f4f6f9 !important;
  font-family: 'Open Sans', sans-serif;
}

  /* Logo Section */
  .login .logo {
    margin: 0 auto;
    padding: 0;
    text-align: center;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

    /* Logo Image */
    .login .logo img {
      max-width: 400px;
      width: 100%;
      height: auto;
      display: inline-block;
      background: transparent !important;
      border: none !important;
      box-shadow: none !important;
    }

  /* Login Box */
  .login .content {
    background: #ffffff !important;
    width: 400px;
    margin: 20px auto 10px auto;
    padding: 30px;
    padding-top: 15px;
    border: 1px solid #dfe4ea;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    position: relative;
  }

    /* Heading */
    .login .content h3 {
      color: #0f172a !important;
      text-align: center;
      font-size: 28px;
      font-weight: 600 !important;
      margin-bottom: 28px;
    }

    /* Input Fields */
    .login .content .form-control,
    .login .content .form-control.form-control-solid,
    .login .content input[type="text"],
    .login .content input[type="password"] {
      height: 44px !important;
      border: 1px solid #d6dbe1 !important;
      background: #ffffff !important;
      background-color: #ffffff !important;
      color: #334155 !important;
      border-radius: 4px !important;
      box-shadow: none !important;
      font-size: 14px !important;
    }

      /* Focus State */
      .login .content .form-control:focus,
      .login .content .form-control:active,
      .login .content .form-control.form-control-solid:focus,
      .login .content .form-control.form-control-solid:active {
        border: 1px solid #3699ff !important;
        background: #ffffff !important;
        background-color: #ffffff !important;
        box-shadow: none !important;
      }

    /* Button Area */
    .login .content .form-actions {
      clear: both;
      border: 0;
      border-bottom: 1px solid #eef2f6;
      padding: 0 30px 0 30px;
      margin-left: -30px;
      margin-right: -30px;
    }

      /* Login Button */
      .login .content .form-actions .btn-success {
        background: #3699ff !important;
        border: none !important;
        border-radius: 4px;
        font-weight: 600;
        padding: 10px 22px !important;
        text-transform: uppercase;
        font-size: 14px;
      }

        .login .content .form-actions .btn-success:hover {
          background: #187de4 !important;
        }

    /* Forgot Password Section */
    .login .content .create-account {
      margin: 0 -40px -40px -40px;
      padding: 18px 0;
      text-align: center;
      background-color: #ffffff !important;
      border-top: 1px solid #eef2f6;
      border-radius: 0 0 8px 8px;
    }

      .login .content .create-account p a {
        font-weight: 500;
        font-size: 14px;
        color: #1d4ed8 !important;
        text-decoration: none;
      }

  /* Footer */
  .login .copyright {
    text-align: center;
    margin: 18px auto 30px auto;
    padding: 10px;
    color: #64748b;
    font-size: 13px;
  }

    .login .copyright a {
      color: #2563eb;
      text-decoration: none;
    }

/* Hide old togglers */
.menu-toggler,
.sidebar-toggler {
  display: none !important;
}

@media (max-width: 440px) {
  .login .logo {
    margin-top: 20px;
  }

    .login .logo img {
      max-width: 280px;
    }

  .login .content {
    width: 90%;
    margin-top: 15px;
    padding: 25px 20px;
  }

    .login .content h3 {
      font-size: 22px;
    }
}

.password-wrapper {
  position: relative;
}

.password-input {
  padding-right: 45px;
}

.toggle-password {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 22px;
  color: #666;
}

span[style*="color:Red"],
.error-message,
#lblMessage,
span[style*="color: red"] {
  font-size: 13px !important;
}

span.field-validation-error,
span[id*="rfvtxtEmail"],
span[id*="rfvtxtPassword"],
span[id*="cvLogin"] {
  font-size: 13px !important;
}

#lblMessage {
  font-size: 13px !important;
}
